Skip to main content
12-Amethyst
October 3, 2024
Solved

Help with plot

  • October 3, 2024
  • 3 replies
  • 1467 views

Hi 

I have a set of values that varies along with elevation. I need help plotting the function but can't figure out how to proceed. I have described my issue in the attached file (prime 7). 

 

Thank you very much for your support. 

Best answer by Werner_E

Here is what I understood so far from your descriptions:

Werner_E_0-1727964273044.png

 

Of course the functions can be defined in various ways. You may use if and elseif as shown by ttokoro,

you may use nested if-functions similar to what you use in Excel (harder to read) or you may use multiplications with boolean expressions.

Werner_E_1-1727964311979.png

 

Sorry, attached file is Prime 10 format as I don't have P7 installed
But there is nothing hidden, the pictures show all that's necessary, your definitions are unchanged

3 replies

ttokoro
21-Topaz I
21-Topaz I
October 3, 2024

image.pngimage.pngimage.png

t.t.
19-Tanzanite
October 3, 2024

Here's another option:

Graph.png

Alan

12-Amethyst
October 3, 2024

Thanks to both of you! I really appreciate it. Unfortunately, I made a mistake in the description. I want the value cu3 to increase by 1 kPa by every meter below the elevation of 25 m. Any suggestions on how to incorperate that into the function?  

 

Thank you in advance. 

ttokoro
21-Topaz I
21-Topaz I
October 3, 2024

image.pngimage.png

t.t.
Werner_E25-Diamond IAnswer
25-Diamond I
October 3, 2024

Here is what I understood so far from your descriptions:

Werner_E_0-1727964273044.png

 

Of course the functions can be defined in various ways. You may use if and elseif as shown by ttokoro,

you may use nested if-functions similar to what you use in Excel (harder to read) or you may use multiplications with boolean expressions.

Werner_E_1-1727964311979.png

 

Sorry, attached file is Prime 10 format as I don't have P7 installed
But there is nothing hidden, the pictures show all that's necessary, your definitions are unchanged

12-Amethyst
October 4, 2024

Thanks to all of you for your help!