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

Home » Public Forums » archive » Re: Contour Plot w/ Colorbar
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: Contour Plot w/ Colorbar [message #74713] Tue, 01 February 2011 09:26 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ammar Yusuf writes:

> Also you mentioned something about normalized coordinates in your next
> post. Is there another type of positioning?

Not really, no.

I would do something like this:

data = LoadData(2)
CTLoad, 33
FSC_Contour, data, NLevels=12, /FILL, $
Position=[0.1, 0.1, 0.82, 0.9], /Window
FSC_Contour, data, /Overplot, Color='gray', /AddCmd
FSC_Colorbar, /Vertical, /Right, Divisions=5, $
Range=[Min(data),Max(data)], $
Position=[0.85, 0.1, 0.89, 0.9], /AddCmd

Then, just choose the Send to PostScript button and
your PostScript output will look identical to what
you see on the display. :-)

You can find all the Coyote Library files you need
here:

http://www.idlcoyote.com/programs/coyoteprograms.zip

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
Previous Topic: Re: IDL 8 NG widget problem
Next Topic: IDL 8 NG widget problem

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

Current Time: Wed Oct 08 18:26:08 PDT 2025

Total time taken to generate the page: 0.00411 seconds