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

Home » Public Forums » archive » Re: A single title, xtitle and ytitle
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: A single title, xtitle and ytitle [message #81193 is a reply to message #81067] Sun, 19 August 2012 18:54 Go to previous message
Marta Yebra is currently offline  Marta Yebra
Messages: 16
Registered: August 2012
Junior Member
On Saturday, 11 August 2012 06:28:49 UTC+10, David Fanning wrote:
> Marta Yebra writes:
>
>
>
>> Do you know how can I put a single plot title, x-title and y-title in a multiplot created with cgplot and the layout keyword? I cannot find the answer myself
>
>> I would really appreciate your help.
>
>
>
> I would try something like this:
>
>
>
> ymargin = !Y.OMargin
>
> !Y.OMargin=[3,5]
>
> cgplot, cgdemodata(1), xtitle='', ytitle='', layout=[2,2,1]
>
> cgplot, cgdemodata(1), xtitle='', ytitle='', layout=[2,2,2]
>
> cgplot, cgdemodata(1), xtitle='', ytitle='', layout=[2,2,3]
>
> cgplot, cgdemodata(1), xtitle='', ytitle='', layout=[2,2,4]
>
> cgText, 0.55, 0.85, Alignment=0.5, /Normal, $
>
> 'This is the Plot Title', Charsize=cgDefCharsize()*1.25
>
> cgText, 0.1, 0.5, Alignment=0.5, /Normal, $
>
> Orientation=90, 'This is the Y Title'
>
> cgText, 0.55, 0.1, Alignment=0.5, /Normal, $
>
> 'This is the X Title'
>
> !Y.OMargin = ymargin
>
> END
>
>
>
> Cheers,
>
>
>
> David
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
>
> Sepore ma de ni thue. ("Perhaps thos speakest truth.")

Cool! Thanks
[Message index]
 
Read Message
Read Message
Previous Topic: mosaic
Next Topic: Mosaic

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

Current Time: Sun Oct 12 01:04:15 PDT 2025

Total time taken to generate the page: 0.63936 seconds