Re: y2tics issue

Ethan A Merritt <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.devel
Organization University of Washington
Message-ID <4091233.WWBXKO191k@stonelion>
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




_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.