comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Plotting date/times
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Plotting date/times [message #4604] Wed, 05 July 1995 00:00 Go to previous message
bleau is currently offline  bleau
Messages: 24
Registered: November 1993
Junior Member
Hello, a quick (hopefully simple) question. I am plotting times along my X
axis. Internally I've converted the m/d/y h:m:s times into floating point
numbers, thinking this would be the easier way to plot it. I then have a
procedure which I specify to the XTICKFORMAT keyword to convert a float to the
proper character string.

The problem is that IDL keeps scaling the ticks onthe X axis to nice, round
multiples of the floating values, which hardly *ever* map to nice, round
numbers (like 24 hours, or 1 hour) on my time axis labels. I partially solved
this by specifying my own min and max using XRANGE and XTICKS, but this leaves
me without any minor tick marks. Also, I'd like to leave some room on the
right side of the graph after the plot has finished to annotate the graph
lines (there are several).

Has anyone solved this problem satisfactorily in some other manner? Or is the
approach I'm taking the only one available? I couldn't find any info in TFM
about date/time as a data type, which would have been ideal. Thanks.

Larry Bleau
University of Maryland
bleau@umdsp.umd.edu
301-405-6223
[Message index]
 
Read Message
Read Message
Previous Topic: Meteorological Symbols
Next Topic: Weather simulations?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 11:58:16 PDT 2025

Total time taken to generate the page: 0.39442 seconds