From: Ethan A M. <me...@uw...> - 2021-03-31 00:20:14
|
On Tuesday, 30 March 2021 16:35:36 PDT m sutton wrote: > Hi all, > > Here is the script > > set yrange [-2:2] > set y2tics -1,1,1 > set y2tics add ("top" 1,"middle" 0, "bottom" -1) > > plot sin(x) > > > > > > The commands place the desired y2axis tics in V5.2.8 and > earlier. However, I don't get any y2axis tics in V5.4.1 with > either the X11 or QT terminals. I do get this warning message > "warning: y2 axis range undefined or overflow". > > show y2range yields: > > > set y2range [ * : * ] noreverse writeback # (currently > [1.00000e+308:-1.00000e+308] ) You have no data or plot displayed to y2, and no range set, so the error message is correct. > What am I missing? Either plot sin(x) axes x1y2 # y1 axis is not used at all; autoscale y2 or set link y2 # y2 replicates range and scaling from y1 plot sin(x) Ethan > > Regards, > > MikeS > > > -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg MS 357742, University of Washington, Seattle 98195-7742 |