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

Home » Public Forums » archive » cgHistoplot and multiplot
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: cgHistoplot and multiplot [message #80614 is a reply to message #79820] Thu, 28 June 2012 11:50 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
dxl1840@g.rit.edu writes:

> I had cgHistoplot working fine with multiplot for a while. At some point it stopped working...
> I have the updated versions of multiplot and cgHistoplot.
> What is happening is that all the histograms are drawn on the same reference frame and only one reference frame is represented. Though multiplot works perfectly well when I use just plot. I also tried to overplot the histogram but it does not work.
> I am running something like that:
>
> SET_PLOT, 'x'
> erase
> multiplot,[1,3]
> cgHistoplot, map1, XRANGE=xr, /FREQUENCY, YTICKFORMAT='(F4.2)', /OUTLINE
> multiplot
> cgHistoplot, map2, XRANGE=xr, /FREQUENCY, YTICKFORMAT='(F4.2)', YTITLE='', /OUTLINE
> multiplot
> cgHistoplot, map3, XRANGE=xr, /FREQUENCY, YTICKFORMAT='(F4.2)', XTICKFORMAT='(F5.1)', YTITLE='', /OUTLINE
> multiplot,[1,1],/init,/verbose
>
> Any suggestion?

Whoops! My fault.

I recently had reason to add a default positioning statement to
cgHistoplot. I realized I couldn't do it if !P.Multi was being
used, but since I don't use Multiplot myself, I didn't realize
I also couldn't do it if the user is using !P.Position (which
is how Multiplot works).

Fixed now. You can find the latest version here:

http://www.idlcoyote.com/programs/cghistoplot.pro

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
Previous Topic: Re: Simple question in IDL, looking for solution, thank you
Next Topic: Simple question in IDL, looking for solution, thank you

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

Current Time: Wed Oct 08 17:51:51 PDT 2025

Total time taken to generate the page: 0.00453 seconds