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

[ploticus] re: timezones - correction

Expand Messages
  • Stephen C. Grubb
    Sorry, that should be: and xaxis.stubs: list 20 n21 n22 n23 n0 n.. n20 ... Stephen C. Grubb scg@jax.org Scientific Software Engineer, The Jackson Laboratory
    Message 1 of 3 , Apr 28, 2003
    • 0 Attachment
      Sorry, that should be:


      and xaxis.stubs: list 20\n21\n22\n23\n0\n..\n20


      On Mon, 28 Apr 2003, Stephen C. Grubb wrote:

      >
      > Two possible approaches come to mind:
      >
      > 1) use a proc getdata filter to add 3 to the hours component of your input
      > data, eg. (this example assumes your datetime field is field 1):
      >
      > #proc getdata
      > ..
      > filter:
      > ##set HR = $substring( @@1, 1, 2 )
      > ##set DATE = $substring( @@1, 1, 8 )
      > ##set MIN = $substring( @@1, 13, 2 )
      > ##set HR = $arith( @HR+3 )
      > ##if @HR >= 24
      > ##set HR = $arith( @HR-24 )
      > ##endif
      > ##print @@DATE.@@HR:@@MIN @@2 @@3 ...
      >
      > 2) if you're covering a fixed number of days each time (eg. 24 hours) you
      > could do one areadef with xrange: 0 24
      >
      *****>>> and xaxis.stubs: list 17\n18\n19\n20\n..\n17
      >
      > and then do a second areadef using datetime scaling in x, with x axis
      > stubs turned off. If you use the same rectangle for both areadefs, the
      > stubs should align.
      >
      >
      > -Steve
      >
      >
      > On Wed, 23 Apr 2003, romeyde wrote:
      >
      > > I have a data file that covers 5pm to 5pm PST. The data is displaying
      > > fine but since we are located on the east coast the boss wants the
      > > data displayed in EST. Is there a simple way to have Ploticus add
      > > three hours to each tic? I have it show just the hour so the graph
      > > looks like this along the bottom:
      > >
      > > 17 18 19 20 21 .... 15 16 17
      > >
      > > Want it to instead start at 20 and end at 20 while of course still
      > > displaying the correct data for each tic.
      > >
      > > (this is how it is currently displayed)
      > >
      > > xscaletype: datetime mm/dd/yy.hh:mm
      > > xrange: @xmin.17:00 @xmax.17:00
      > > xaxis.stubs: inc 1 hour
      > > xaxis.stubformat: .hh
      > > xaxis.stubdetails: size=5
      > >
      > >
      > >
      > >
      > > To unsubscribe from this group, send an email to:
      > > ploticus-unsubscribe@yahoogroups.com
      > >
      > >
      > >
      > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
      > >
      > >
      > >
      >
      >
      > Stephen C. Grubb scg@...
      > Scientific Software Engineer, The Jackson Laboratory
      > 600 Main Street Bar Harbor, Maine 04609 USA
      >
      >
      >
      > To unsubscribe from this group, send an email to:
      > ploticus-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
      >
      >
      >


      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.