to have both '0's aligned, the y2axis range needs to be a scaled yaxis range.
to get the scaling factor you could do a dummy plot in order to set some
internal variables and then use these variables (GPVAL_Y_MIN, GPVAL_Y_MAX,
GPVAL_Y2_MIN, GPVAL_Y2_MAX) to calculate the scaling factor.
JacobNR wrote:
>
> Hello all,
>
> Is there a way to align the two y-axes at only one tic, and otherwise set
> the axis intervals automatic and independent?
>
> I have a residual plot (from a least squares regression) where I would
> like to show the actual and the fittet values on the y1-axis and the
> residuals on the y2-axis. The axis interval should be automatic, however,
> I would like the 0's on both axis to be aligned. So far I've managed to do
> it by adjusting the y2-axis interval.
>
> Thanks
> Jacob
>
--
View this message in context: http://old.nabble.com/Aligning-tics-at-0-tp29836903p29839409.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|