Re: log scale colorbar in IDL 8.0 [message #76070 is a reply to message #76064] |
Thu, 19 May 2011 07:06   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> 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
There were a couple of things I couldn't get working
quite right last night. After thinking about it for
awhile this morning, I've fixed the problems and
added a LAYOUT keyword that works properly both on
the display and in PostScript.
> 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
You can use the LAYOUT keyword like this:
pg_plotimage,im,x,y,xrange=[5,100],$
yrange=[5,100],/xstyle,/ystyle,/xlog, layout=[2,2,2]
Same place.
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.")
|
|
|