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

Home » Public Forums » archive » Re: Function graphics equivalent of !X.OMARGIN?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Function graphics equivalent of !X.OMARGIN? [message #80707] Thu, 05 July 2012 15:13
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
I just saw the MARGIN(Init) keyword!

<insert embarrassed cough here>

It does exactly what I need. If only there was a way to GET the margins of existing graphics in a window.....

Apologies for the noise.

cheers,

paulv

On 07/05/12 17:18, Paul van Delst wrote:
> Hello,
>
> I do a fair amount of multiple plots on a single page. With DG I used !P.MULTI with abandon. If I needed a image with a
> colourbar, I would use !X.OMARGIN to leave enough room on the right hand side of the window for it.
>
> I'm now creating plots using the new function graphics and I'm using the LAYOUT property to get stuff plotting on a
> grid. However, I can't find a way to emulate the !X.OMARGIN capability in FG to provide enough space for a readable
> colourbar [*].
>
> Does anyone out there have any tips or tricks? (Full disclosure: After the last few days I will admit to "IDL
> documentation fatigue" and could really only manage a cursory scan of the -- what I thought would be -- the relevant
> help pages. I came up empty.)
>
> TIA for any info.
>
> cheers,
>
> paulv
>
> [*] Also, I have to mention a BIG thanks to David Fanning's article on FG colourbar usage:
> http://www.idlcoyote.com/ng_tips/cbdesign.php
> That article is the only reason the FG colourbar is of any use at all.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Function graphics equivalent of !X.OMARGIN?
Next Topic: Re: Function graphics /OVERPLOT redefines axis limits after plot with /NODATA

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

Current Time: Wed Oct 08 13:37:49 PDT 2025

Total time taken to generate the page: 0.00398 seconds