
Graphs

GeraldJames
I have a dataset with date/time as the key value with other linked valies of H2O, dD, d and d18O which vary randomly over time.
I would like to make a graph which is one colour for H2O under a certain value and another colour for H2O over this value in order to show the limit of a previous variable. However since the high and low h2O values are jumbles throughout the dataset I'm not sure how to do this. Basically I'm just looking for a way to say all h2O values>30,000ppm = blue. and all h2O values < 30,000 = red.
Does anyone have any ideas?
October 9, 2013 at 12:39 am - Permalink
Note: You need to substitute "wave0" for the name of your wave.
I have not thoroughly tested this.
Hope this helps,
Kurt
October 9, 2013 at 12:39 am - Permalink
October 9, 2013 at 02:52 am - Permalink
Simply repeat the last line for each of your other waves on the plot.
Regards,
Kurt
October 9, 2013 at 08:08 am - Permalink
October 9, 2013 at 05:35 pm - Permalink
Yes - just set the corresponding value in wColour (in the example I gave earlier) to a different value - e.g. 7 for green in Rainbow16.
October 9, 2013 at 11:00 pm - Permalink
October 10, 2013 at 01:32 am - Permalink
Try this function, it should illustrate the solution:
If you want different colours try different values in wColour.
October 10, 2013 at 02:10 am - Permalink
October 10, 2013 at 02:30 am - Permalink
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
October 10, 2013 at 09:06 am - Permalink