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

Home » Public Forums » archive » Diplay 2D 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
Re: Diplay 2D data [message #57168 is a reply to message #57095] Tue, 04 December 2007 12:52 Go to previous messageGo to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
> I just want to point out that there exists an implementation in the
> solarsoft library (which admittedly require the whole library
> to be installed, as it calls many other routines) called spectro_plot,
> which also allows for logarithmic axis (which I think is a nice
> feature,
> and not easy to implement from scratch). As an example, if you create
> an image and axis with:
>
> n=200
> m=500
> im=dist(n,m)
> x=findgen(n)+10
> y=findgen(m)+10
>
> the plot resulting from
>
> spectro_plot,im,x,y,xrange=[-100,300],yrange=[1,800],/ylog,/ no_ut,/
> xstyle,/ystyle
>
> is exactely what you would expect from a plot-compatible image
> displayer such as the quick & dirty
>
> contour,im,x,y,xrange=[-100,300],yrange=[1,800],/ylog,/xstyl e,/ystyle,/
> fill,levels=indgen(256)/255.*max(im)
>
> but faster and without the artifacts & smoothing from the contouring.
> Mind the /no_ut keyword, though.



Arg, I use solarsoft all the time and haven't used that routine and it
seems great.

Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Off Topic UNIX Question
Next Topic: Build a dll within IDL

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

Current Time: Sun Oct 12 07:07:48 PDT 2025

Total time taken to generate the page: 0.24322 seconds