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

Home » Public Forums » archive » Re: Place a colorbar under each plot whose position is determined by !p.multi
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: Place a colorbar under each plot whose position is determined by !p.multi [message #53896 is a reply to message #53890] Wed, 09 May 2007 07:36 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
teich@atmsci.msrc.sunysb.edu writes:

> If I want to put a colorbar under each of 4 plots where the positions
> are determined by !p.multi=[0,2,2], I need to know the position of
> each plot. When I print !p.position, I always get [0.0,0.0,0.0,0.0].
> Basically, how do I find out the position of each plot after each are
> plotted? I need this information to feed into my colorbar module.

After you draw each plot, consult !X.Window and !Y.Window
to tell you where the corners of the axes are in normalized
coordinates. Base your colorbar location off of these points
and you should be golden. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: KMean Clustering of RGB Images
Next Topic: math in graph title

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

Current Time: Sat Oct 11 16:29:03 PDT 2025

Total time taken to generate the page: 1.44610 seconds