Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I give two colours to a line graph or a chart so they change when crossing a threshold?

0
10 Posted

How do I give two colours to a line graph or a chart so they change when crossing a threshold?

0
10

(May 2001) Copy your data to two arrays, in one array make all values at or above the threshold “NaN” and in the other array make all values at or below the threshold “NaN”. Plot both arrays on the same graph indicator and you can set the properties of each data set independently, even though they appear to be the same line.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123