yas3min Posted May 17, 2011 Report Share Posted May 17, 2011 Hello, I want to ask something. I’ve been trying to develop my report of graphs and I have some problems about changing colors. I have more than 10 graphs at my report in each page. For every graph I have limit lines. I want to change the color of the signal in graph where the signal is out of the limits. I uploaded an example picture. Could you please help me about this? Quote Link to comment
Jeffrey Habets Posted May 17, 2011 Report Share Posted May 17, 2011 A single plot can not have multiple colors for different datapoints. I think the easiest way to achieve this is to use two plots, one colored for data within the limits and one for data outside of the limits. You will have to split your data up into two sets of equal length where you put NaN's in the elements you don't want displayed for a certain plot. Images say more than a thousand words, so here's an example: Btw. I think this topic is in the wrong forum, because it has nothing to do with scripting. Maybe one of the mods can move it? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.