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

Home » Public Forums » archive » Plot bug or another "strange feature" ?
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: Plot bug or another "strange feature" ? [message #20124 is a reply to message #19980] Tue, 16 May 2000 00:00 Go to previous messageGo to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
Nicolas Decoster wrote:
>
> David Fanning wrote:
>>
>> Nicolas Decoster (Nicolas.Decoster@Noveltis.fr) writes:
>>
>>> Does anybody notice and, eventually, know how to handle this "strange
>>> feature" of the plot procedure ?
>>>
>>> IDL> s = indgen(1000) + 1000000000
>>> IDL> plot, s, /ynozero
>>>
>>> The plot is not a clean line joining down-left and up-right corners, but
>>> an ugly stairway...
>>>
>>> Perhaps I missed the holy keyword...
>>
>> No, I think you are just applying analog thinking to
>> a digital solution. :-)
>>
>> Cheers,
>>
>> David
>>
>> P.S. Perhaps a scaling factor to "spread" these
>> values out some. :-)
>>
>
> A solution to get the "beautifull" line is just:
>
> IDL> plot, s-min(s), /ynozero
>
> But doing so the y axis labels are wrong.

No they're not. I tried your example and all is as expected. A straight
line whose y-values go from 0-999 (y axis labels got from 0-1000 as one
would hope).

> And I thought IDL was clever enough to handle this properly.
> In fact this is my main error: I'm excepting too much from IDL. :-)

Sounds more like you don't expect enough. Still, given the number of
your posts over the last couple of weeks berating IDLs "feature", I
salute your stick-to-it-ness. :o)

paulv
--
Paul van Delst Ph: (301) 763-8000 x7274
CIMSS @ NOAA/NCEP Fax: (301) 763-8545
Rm.202, 5200 Auth Rd. Email: pvandelst@ncep.noaa.gov
Camp Springs MD 20746
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MIF Files
Next Topic: Re: newbie:Volume Rendering on IDL

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

Current Time: Sun Oct 12 11:09:30 PDT 2025

Total time taken to generate the page: 3.60312 seconds