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

Home » Public Forums » archive » Re: log scale colorbar in IDL 8.0
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: log scale colorbar in IDL 8.0 [message #76075 is a reply to message #76072] Wed, 18 May 2011 19:54 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paolo writes:

> but I was worried that in the CG era people may shun
> older-fashioned programs that do not have those fancy
> features like automatic resizing etc.
>
> The trick is to choose a good interpolation scheme
> for the pixel values - the one I have in my
> http://hea-www.cfa.harvard.edu/~pgrigis/idl_stuff/pg_plotima ge.pro
> may not be suitable for all uses though.

I made a Coyote Graphics command out of your pg_plotimage
program. You can find it here:

http://www.idlcoyote.com/misc/pg_plotimage.pro

It took about a half hour. You can run your example
program and display the output in a resizeable
cgWindow like this:

loadct,5
im=dist(128,128)
x=findgen(128)
y=findgen(128)
pg_plotimage,im,x,y,xrange=[5,100],$
yrange=[5,100],/xstyle,/ystyle,/xlog,/window

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: cgHistoplot issue
Next Topic: Re: problem- question

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

Current Time: Wed Oct 08 14:20:25 PDT 2025

Total time taken to generate the page: 0.00414 seconds