
Left and right axis with common zero

sven.kraft
Hi,
I want to modify a graph with a left and a right y axis in a way that the zero points of both are in the same height, but the axes should still have different scales and not necessarily be Symmatric around zero.
The Data I'm using can look something like this:
•Make/N=100 DataL=gnoise(5) •Make/N=100 DataR=gnoise(0.2)-0.2 •Display/L DataL •AppendToGraph/R DataR
Does Somebody know how to do this?
Thank you for your time,
sincerely,
Sven
This is close, I think:
Hope this gives some ideas,
Kurt
February 28, 2019 at 08:19 am - Permalink
Hello Kurt,
I like the idea. The Problem here is that in your code the range is kept constant, thus a part of the Data is not visible anymore. So I Changed it a little bit:
It now just get stuck if the left axis has no zero at all.
Thank you very much.
Sincerly,
Sven
March 1, 2019 at 02:38 am - Permalink