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 #12117 is a reply to message #11982] Tue, 23 June 1998 00:00 Go to previous messageGo to previous message
DAMIANO ZILIO is currently offline  DAMIANO ZILIO
Messages: 8
Registered: February 1997
Junior Member
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
where a and b and n are calculated from time and xtrasl

Hope that helps

Regards
--

Damiano Zilio

Joint Research Centre of the Commission of
the European Communities
I-21020 Ispra (VA)
Environment Institute TP 321

my tel: +39-332-78 9520
my fax: +39-332-78 5466
my Email: damiano.zilio@jrc.it
[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: Wed Oct 08 19:17:49 PDT 2025

Total time taken to generate the page: 0.00501 seconds