Loading ...
Sorry, an error occurred while loading the content.

re: ploticus datetime w/ windowing, extra day bug, spurious warning msg bug

Expand Messages
  • Stephen C. Grubb
    Tim, these warning messages are spurious.. I ll make a note to try and suppress them. the extra day problem with datetime-w/windowing - noted, will look into
    Message 1 of 1 , Jul 1, 2004
    • 0 Attachment
      Tim,

      these warning messages are spurious.. I'll make a note to try and suppress
      them.

      the extra day problem with datetime-w/windowing - noted, will look into it
      further & try to fix.

      Thanks for noting these problems.

      Steve


      On Sun, 20 Jun 2004, Tim Burress wrote:

      > Hello!
      >
      > Thanks very much for your work on this software. It's pretty amazing.
      > I've encountered a couple of minor issues that I wanted to check with
      > you about:
      >
      > (1) When using the chron prefab with a simple, two column dataset
      > (attached) and the following command:
      >
      > /usr/local/bin/pl -x11 data=BugData -prefab chron x=1 y=2
      > datefmt="mm/dd/yyyy" xinc="1 day" mode=line gapmissing=yes
      > unittype=datetime9-16 xgrid=yes ygrid=yes xstubfmt="mm/dd" autoyears=yes
      >
      > I always get a warning message:
      >
      > pl proc axis: 4279: warning: time is outside of window range-
      > displaying it at window boundary (06/04/2004.0:00)
      >
      > even though the out-of-bounds value does not appear in the data. The
      > -debug output is:
      >
      > Prefabs dir is: /usr/local/etc/pl/prefabs
      > Script file is /usr/local/etc/pl/prefabs/chron.pl
      > Got command line arg(s): x=1
      > Got command line arg(s): y=2
      > Got command line arg(s): datefmt=mm/dd/yyyy
      > Got command line arg(s): xinc=1 day
      > Got command line arg(s): mode=line
      > Got command line arg(s): gapmissing=yes
      > Got command line arg(s): unittype=datetime9-16
      > Got command line arg(s): xgrid=yes
      > Got command line arg(s): ygrid=yes
      > Got command line arg(s): xstubfmt=mm/dd
      > Got command line arg(s): autoyears=yes
      > Device code is x
      > Version: pl 2.21
      > Script file is: /usr/local/etc/pl/prefabs/chron.pl
      > Script file successfully opened
      > Executing settings
      > Executing getdata
      > filling data set# 0
      > getdata has read 79 records; there are 2 fields per record.
      > Got 79 records, 2 fields per record.
      > (endproc)
      > Executing areadef
      > Autorange on x: min=06/04/2004.0:00 to max=06/06/2004.0:00
      > Autorange on y: min=1976 to max=1998
      > areadef: lowerleft: 1,2 upperright: 5.5,4
      > areadef: xrange is 06/04/2004.0:00 to 06/06/2004.0:00. yrange is
      > 1976 to 1998.
      > Executing yaxis
      > Executing xaxis
      > pl proc axis: 4279: warning: time is outside of window range-
      > displaying it at window boundary (06/04/2004.0:00)
      > Executing lineplot
      > Done with page. Writing out result file. Computed bounding box is:
      > 0.04 , 0.04 to 5.67 , 4.00
      >
      > Apparently the software is choking on the automatic xrange value that it
      > itself computes?
      >
      > (2) Given the same command and dataset, I find that ploticus generates
      > an extra (blank) day along the x axis. Apparently this is related to the
      > use of the datetime window. It's assuming that, because there is a data
      > point right at 16:00, another day is needed. If the window ended at
      > midnight, I could see that there would be an ambiguity (since 00:00:00
      > belongs to the next day), but surely a point at 16:00:00 belongs to the
      > current day and shouldn't require another X unit?
      >
      > Neither of these are major problems. I can ignore the warning message
      > and edit the data so that the last X value for each day is set to
      > 15:59:59, but I thought you might be interested.
      >
      > Thanks!
      >
      > Tim
      >


      Stephen C. Grubb scg@...
      Scientific Software Engineer, The Jackson Laboratory
      600 Main Street Bar Harbor, Maine 04609 USA
    Your message has been successfully submitted and would be delivered to recipients shortly.