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 #82891 is a reply to message #82890] Sun, 20 January 2013 12:07 Go to previous messageGo to previous message
gsever is currently offline  gsever
Messages: 28
Registered: August 2008
Junior Member
On Sunday, January 20, 2013 11:54:21 AM UTC-7, David Fanning wrote:
> 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

Thanks David. Those lines produces the plot settings that I want. I see that ps_start accepts keywords from ps_config which gives lots of flexibility.

Three more things that I am wondering:

1-) Comparing to my default way of producing ps outputs (via "device" procedure) cg way produces slightly ticker lines, axes, and ticks. Would these be altered? If so, how?

2-) Can I specify the size and position of plotting axis on plotting canvas?

3-) How to make multi-page plots using ps_start /.../ ps_end setup?
[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: Sat Oct 11 02:42:52 PDT 2025

Total time taken to generate the page: 0.00701 seconds