Re: R/H axis suddenly disappeared

Ethan Merritt <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <1901036.oUnshOGWxx@stonelion>
On Tuesday, 2 February 2021 14:17:59 PST Dave Horsfall wrote:
> Gnuplot 5.4 patchlevel 1 on MacBook Pro Sierra 10.12.6 (updated each 
> week).
> 
> On 1st February (I don't know whether the date is significant) my daily 
> health plot suddenly lost its R/H axis.  I didn't do nuffink...
> 
> Well, there was a MacPorts update that morning, but I didn't see Gnuplot 
> in the list; I guess it's possible that something got borked, but just the 
> R/H axis?  Gnuplot was last updated on 25th Jan, and worked up until now.
> 
> As it was on 31st Jan: http://www.horsfall.org/health.pdf.old (no HTTPS 
> yet).
> 
> Now: http://www.horsfall.org/health.pdf
> 
> Well, all I did was to add an entry for 1st Feb:
> 
>      # Date	Time	Wgt	Gth	Sys	Dia	HR
> 
>      30/1/21	1800	89.9	109	115	72	77
>      31/1/21	1730	88.6	109	118	72	95
> ==> 1/2/21	1830	88.6	109	115	67	82
>      2/2/21	1730	90.3	109	118	60	69
> 
> The error:
> 
>      gnuplot> load 'health.gp'
>  	     "health.gp" line 99: warning: y2 axis range undefined or overflow


Since your script never sets a range for y2 at all that error message
is evidently correct.

I do not understand how the script could ever have worked correctly
without either "set link y2" or "set y2range [min:max]".

Could the script have gotten borked?

	Ethan





> 
> Note that line 99 is actually the last continued line of the "plot" 
> command, which I certainly had not changed:
> 
>      mackie:health dave$ ls -l *.gp
>      -rw-r--r--  1 dave  staff  5511 Sep 27  2019 health.gp
> 
> (Note that the one I attached has potentially sensitive comments removed; 
> it's my personal information, after all, but I'm willing to share the lot 
> with an individual, not the entire list.)
> 
> It's worth noting that the plot has probably saved my life a few times, as 
> I suffer from hypertension (with medication)...
> 
> The script itself is attached (I trust that it's within the guidelines).
> 
> Thanks.
> 
> -- Dave






_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
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.