03-24-2010 10:36 AM
Hi, I have a question about manipulating an XY Graph.
1) Everytime the plot crosses the x-axis for y-value going upwards, I want the plot to change color, until it crosses the 0 again going upwards, and I want that specific portion to have a different color. It is really hard to explain this so I'm going to post a picture:
[URL=http://img691.imageshack.us/i/xygraphexample.jpg/][IMG]http://img691.imageshack.us/img691/4540/xygraphexample.jpg[/IMG][/URL]
As you can see, if the graph crosses the x-axis while decreasing, it shouldn't change colour. Only increasing.
I cannot figure out how to do this. I know it will require multiple plots, but how would I randomly change the color as well as detect if its crossing it going upwards or not.
Any help would be appreciated.
Thanks
03-25-2010 06:43 AM