this post was submitted on 04 Apr 2024
392 points (96.7% liked)

Science Memes

11189 readers
3278 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] MisterFrog 5 points 7 months ago* (last edited 7 months ago)

Not a programmer, but all this is is a representation of three columns of data in a table, plus a fourth for the label. Make a lookup table with 4 columns. Now make rows with the data in it, assigning the label for each.

This chart is just a nice way of representing 3 variables in 2D form. It's just an XYZ graph in 2D. With the constraint that X+Y+Z <= 100. You could even assign functions for those different labels.

Though, me not being very good at maths, I'd have no idea how to write a function to cover those areas.

Probably easier just having a lookup table.

As an example, though, a line going from the top of the triangle to the bottom, in the middle would be:

Clay(silt,sand) = 100 - Silt - Sand, where sand=silt Thus, Clay = 100 - Silt, where Clay+silt+sand<=100 would be a vertical line on the chart.

I think. I'm just having fun trying to work this out, without looking it up now.