Hello,
I am trying to plot a ratio of say A and B, where I want both '1' and '-1' to be the reference or "zero line" of the y-axis (with no y-axis difference between 1 and -1). Scaling above that line would continue up as 2,3,4 etc and below that line would continue down as -2, -3, -4, etc. There would be no '0' value in the y-axis
Then if A>B (i.e. A=1.5 and B=1.2 so A/B = 1.25) a value of 1.25 would plot and display in the y axis - no problem there. But if B>A (i.e. A=1.2 and B=1.5) I want to plot -B/A= -1.25 where the +1.25 and -1.25 values are the same distance of only (+.25 and -.25) from the reference line.
I can get the positive side of this to work with the setHistogramBase(1.0) command, but then the -ve values will not plot.
Is there a way to set both 1 and -1 as the "zero line" in a chart?
Thanks
shaeffer
I am trying to plot a ratio of say A and B, where I want both '1' and '-1' to be the reference or "zero line" of the y-axis (with no y-axis difference between 1 and -1). Scaling above that line would continue up as 2,3,4 etc and below that line would continue down as -2, -3, -4, etc. There would be no '0' value in the y-axis
Then if A>B (i.e. A=1.5 and B=1.2 so A/B = 1.25) a value of 1.25 would plot and display in the y axis - no problem there. But if B>A (i.e. A=1.2 and B=1.5) I want to plot -B/A= -1.25 where the +1.25 and -1.25 values are the same distance of only (+.25 and -.25) from the reference line.
I can get the positive side of this to work with the setHistogramBase(1.0) command, but then the -ve values will not plot.
Is there a way to set both 1 and -1 as the "zero line" in a chart?
Thanks
shaeffer
Comment