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

Home » Public Forums » archive » Re: CgWindow and multiple plots
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: CgWindow and multiple plots [message #82892 is a reply to message #82891] Sun, 20 January 2013 10:54 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
gokhansever@gmail.com writes:

> I am trying to create multiple plots using CgWindow command.
>
> cgWindow, WMulti=[0,2,3]
> cgPlot, x, y, /AddCmd
> cgControl, output='my.ps'
>
> These basic commands work fine, however can't figure out the following steps yet:
>
> 1-) How to position the plot axis to the 3rd row and 1st column, instead of 1st row and 1st column?
>
> 2-) How to save the file as a letter sized (US Letter, Portrait (8.50 × 11.00 inch)) ps file?

I would do it like this:

PS_Start, 'my.ps', XSize=8.0, YSize=10.5, /Inches, $
XOffset=0.25, YOffset=0.25, /NoMatch
cgPlot, cgDemodata(1), Layout=[2,3,3]
PS_End

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: rounding numbers
Next Topic: Coyote Graphics Plot Gallery Now Open

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

Current Time: Fri Oct 10 12:02:23 PDT 2025

Total time taken to generate the page: 0.32712 seconds