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

Home » Public Forums » archive » Re: Using colorbar with multiple plots and !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: Using colorbar with multiple plots and !p.multi [message #54221 is a reply to message #54218] Fri, 25 May 2007 14:53 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
teich@atmsci.msrc.sunysb.edu writes:

> I am using !p.multi to put multiple plots on a page. I would like to
> put a colorbar underneath some or all of the plots. I am using
> colorbar.pro (David Fanning's). For some reason, I get a colorbar
> that superimposes on the plots.
> This doesn't happen when I specifiy position keyword in the plots, but
> I would rather use !p.multi if at all possible. I do have to specify
> position for the colorbar and use !x.window and !y.window for that
> part. I don't know if I am clear. Can anyone help?

Well, first of all, is there *room* for a colorbar when
you specify multiple plots with !P.MULTI? Unless you
are using a VERY thin colorbar, I can't imagine there
would be.

If there is room, then I would draw all the plots, *then*
put the colorbar on the plots. The reason for this is that
!P.MULTI is setting and interacting with lots of system
variables to do its thing. And Colorbar uses a PLOT command
to annotate the colorbar, so there is a possibility for
unwanted interactions between !P.MULTI and the PLOT in
the Colorbar routine.

I've never tried this, exactly, and graduation is tomorrow
for my youngest son, and I have a house full of family, so...

Let me know.

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: IDL 6.4 is available
Next Topic: IDLgrPlot and Widget event

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

Current Time: Fri Oct 10 15:55:33 PDT 2025

Total time taken to generate the page: 0.64261 seconds