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

Home » Public Forums » archive » Longword plotting problems...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Longword plotting problems... [message #12107 is a reply to message #11982] Wed, 24 June 1998 00:00 Go to previous messageGo to previous message
R. Bauer is currently offline  R. Bauer
Messages: 137
Registered: November 1996
Senior Member
Damiano Zilio wrote:

> R. Bauer wrote:
>
>>>
>>> ; Example code
>>>
>>> time=lindgen(10)+13254100
>>>
>>> data=findgen(10)
>>>
>>> plot,time,data
>>>
>>> ; Just to show that time should increase smoothly in the plot
>>>
>>> print,time
>>
>> --
>> R.Bauer
>>
>> Institut fuer Stratosphaerische Chemie (ICG-1)
>> Forschungszentrum Juelich
>> email: R.Bauer@fz-juelich.
>
> I don't know where is the problem...
> but making some tests I understood that the plot procedure become crazy
> when works with 8 digits long integer number (such as your dates).
> Now, you can easily avoid the "step line" problem with a translation of the
> x-axis origin,
> i.e.
>> xtrasl=min(time)
>> plot,time-xtrasl,data
> and then, if you want, you can define the "original" thick marks playing with
> the keywords:
> xtickv=[a],xtickn=[b],xticks=n

That's the way jsplot is working too. In addition the offset is stored in a
common block. Because
if you later on like to use cursor or xcursor you need the offset to show your
data.

May be you want to show at your axes values formated like a human readable
date/time string format instead of axes values between 0 and 86400 (or more)
this will be done by jsplot.

There are a lot of functions behind jsplot to handle date/time strings formats
specially for changing into other formats.



--
R.Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: outputing ascii
Next Topic: Re: Problems with CW_FSLIDER

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

Current Time: Fri Oct 10 13:36:00 PDT 2025

Total time taken to generate the page: 3.11565 seconds