On Friday 17 August 2007 04:58, Hans-Bernhard Br=F6ker wrote:
> Hello, guys,
>=20
> forwarding this from -bugs, which doesn't appear to be read much.
>=20
> There's a parser bug in "set timestamp". The <xoff> argument to=20
> "offset" fails to be optional. It's still present in current CVS, AFAICS.
The parser for "set timestamp" was upgraded on 2005-07-27 from
the old version 3.7 fixed-order option syntax to the newer
options-in-any-order syntax of version 4. As with all(?) other set
commands, the "offset" keyword is now parsed by the shared routine
get_position_default().
But the documentation was not updated to match.
=46ixed in CVS for 4.2.1 and 4.3
=20
> See original report for the details:
>=20
> -------- Original Message --------
> Subject: GNUPLOT: 'set timestamp' error - 2
> Date: Tue, 14 Aug 2007 23:22:15 -0400
> From: Victor J. Slabinski <slabinsk@...>
> To: HBBroeker@..., Harald.Soelter@...
> CC: USNO Office <slabinski.victor@...
> gnuplot-bugs@..., gnuplot-info@...
>=20
> Hans,
>=20
> Thank you for your reply and explanation that
> 1) gnuplot 4.2 specifies that the keyword 'offset' should be included
> with the timestamp offset parameters, and that
> 2) I should use the version 4.2 manual with gnuplot 4.2 .
> I have now downloaded that manual from http://www.gnuplot.info/:
> . "gnuplot, An Interactive Plotting Program"
> . version 4.2, manual prepared by Dick Crawford
> . 3 March 2007 .
>=20
> I have tried using the set command you suggest:
>=20
> set timestamp rotate offset ,4 (5)
>=20
> This command fits the command syntax specified on page 128, sec. 43.67
> "Timestamp" in the above referenced manual:
>=20
> set timestamp ... {rotate} {offset {<xoff>} {,<yoff>}} . (6)
>=20
> BUG REPORT
>=20
> But when I use your command with the 'offset' keyword, I still
> get the error message
>=20
> . set timestamp rotate offset ,4
> . ^
> ."plotorb", line 4: invalid expression
>=20
> just like before. This occurs using
> . GNUPLOT Version 4.2 patchlevel 0
> . last modified March 2007
> . System: Linux 2.6.20-1.2952.fc6
> [Changing to 'set timestamp rotate offset 0,4' cures the problem.]
>=20
> CONCLUSION
>=20
> The above reported timestamp error is either
> a) a bug in gnuplot 4.2 or
> b) a typo in the version 4.2 manual, p.128, sec. 43.67 "Timestamp".
> The syntax should read
>=20
> set timestamp ... {offset {<xoff>{,<yoff>}}} (7)
>=20
> This syntax is slightly different from the syntax expression (6) above.
>=20
> Thank you for your help on this matter. I am not subscribed to
> the list.
>=20
> Victor J. Slabinski
>=20
> ***********************************************************************
> Hans-Bernhard Broker wrote: 2007 August 10
>=20
> > Victor J. Slabinski wrote:
> > set timestamp rotate ,4 (2)
> >=20
> > (which assumes the default xoff=3D0) may give an error message.
>=20
> As of 4.2, it will. The syntax in version 4.2 uses keywords in several
> places where implicit ordering of command line elements was used so far.
> The equivalent command according to the manual for version 4.2 would b=
e:
>=20
> set timestamp rotate offset ,4
>=20
> > The timestamp error I report here is either
> > a) a bug in gnuplot 4.2 or
> > b) a typo in the gnuplot manual:
> > . "gnuplot, An Interactive Plotting Program"
> > . manual prepared by Dick Crawford
> > . Last editted: 2004/04/13 17:23:36 .
>=20
> It's actually neither, because you appear to be looking at an outdated
> version of the manual. The version 4.0 manual doesn't apply to version 4=
=2E2.
> EOF
>=20
>=20
>=20
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> gnuplot-beta mailing list
> gnuplot-beta@...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>=20
=2D-=20
Ethan A Merritt Courier Deliveries: 1959 NE Pacific
Dept of Biochemistry
Health Sciences Building
University of Washington - Seattle WA 98195-7742
|