On 2008-09-01 14:58-0700 Jerry wrote: > Andrew, > > Does the Ada example, with xmin hardcoded to 1_133_395_200.0, > generate the same Postscript as the C example?
The current Ada example 29 code has xmin := 1133395200.0; (no underscores), and yes, that hard-coded value gives identical results to the C example which is implemented in UTC to avoid anomalies in daylight savings time that occur for such locales as the UK. Both the Python and Java examples are implemented in UTC for the same reason. So Jerry, either settle for the current hard-coded value or else implement the Ada time calculations for example 29 in UTC. Local time just doesn't cut it. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel