Below is a graph I want to use to measure loss over heat. A low heat and a high heat will signify a greater loss, whereas an average heat will signify a lesser loss.
- Loss is left
- Heat is bottom
The loss will have to have a maximum and minimum (Such as no more than 1, and no less than 0.5). The numbers used are purely fictional and can be replaced with anything else.
I apologise if this is vague, however while developing this application I realised that an algorythm will be far superior to a bunch of conditions.
The output I want would be something like this
What would the loss be at temperature X (I will always have the temperature, and only require the loss)

