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

Home » Public Forums » archive » Improved plotting of DOUBLE data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Improved plotting of DOUBLE data [message #15857] Tue, 15 June 1999 00:00 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
There was a discussion here recently about the limitations of PLOT
because it converts it's arguments to single precision. I just stumbled
across the following interesting routines at the PV-WAVE website, which
seem to work fine under IDL5:

ftp://ftp.boulder.vni.com/pub/unsupported/wave_user/release/ plot_dbl.pro
ftp://ftp.boulder.vni.com/pub/unsupported/wave_user/release/ oplot_dbl.pro

For example, to show the limitations of PLOT in IDL5:

x = dindgen(10)
y = x*0.0001d + 1000d
plot, x, y, /ynozero, ytickformat='(f10.4)'
oplot, x, y + 0.0001d

Now try PLOT_DBL (which normalizes the data):

plot_dbl, x, y, /ynozero, ytickformat='(f10.4)'
oplot_dbl, x, y + 0.0001d

It seems to work reasonably well in the few examples I've tried.

Cheers,
Liam.

--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Previous Topic: laying a grid on top of an image
Next Topic: bug in EIGENQL ?

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

Current Time: Fri Oct 10 15:55:05 PDT 2025

Total time taken to generate the page: 0.51347 seconds