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

Home » Public Forums » archive » A bug of NG plot?
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: A bug of NG plot? [message #85540 is a reply to message #85535] Thu, 15 August 2013 08:28 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
I agree the OP is trying to plot some funky(ish) data, but no way that
should make the axes character size go north in such a big way.

cheers,

paulv


On 08/15/13 08:07, David Fanning wrote:
> Xin Tao writes:
>
>> The following code can produce some very messy figure from NG plot.
>>
>> IDL> print, !version
>> { x86_64 darwin unix Mac OS X 8.2.3 May 2 2013 64 64}
>>
>> IDL> g=dblarr(10)*0.0+5.0
>> IDL> ga=g+1e-14*double(randomu(-10,10))
>> IDL> a=plot(ga)
>>
>> The size of chars is just not right. I don't know whether it's my problem or it's a bug of IDL. Could someone please let me know how to fix this?
>
> Honestly, I think it is your problem:
>
> IDL> print, ga, format='(f0.15)'
> 5.000000000000009
> 5.000000000000005
> 5.000000000000005
> 5.000000000000002
> 5.000000000000004
> 5.000000000000005
> 5.000000000000010
> 5.000000000000009
> 5.000000000000003
> 5.000000000000009
>
> Try this:
>
> p = plot(ga-5.0D)
>
> Cheers,
>
> David
>
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Map issue wth IDL8 new graphics: conformal or equal-area maps in rectangular shape
Next Topic: Keyboard/Input focus: MS windows vs linux

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

Current Time: Wed Oct 08 19:26:09 PDT 2025

Total time taken to generate the page: 0.00418 seconds