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 #82890] Sun, 20 January 2013 12:51 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
gokhansever@gmail.com writes:


> 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?

PS_Start sets the !P.Thick and !P.Charthick system variables to 3. If
you want them something other than that, set these system variables
yourself before you call PS_Start. It only sets them if they are not
currently set.

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

This is always the purpose of the POSITION keyword, although you should
NOT use the POSITION keyword if you are doing multi-plots with !P.MULTI.
Chaos will ensue if you do. If you don't like the positions set with the
!P.Multi system variable, then I would try using cgLayout to get
position coordinates. With this program you can control outside margins,
the gaps between plots, etc.

> 3-) How to make multi-page plots using ps_start /.../ ps_end setup?

Multi-page plots are a function of the PostScript device. Basically,
issuing a graphics command that would normally erase the display before
plotting will start another page of PostScript output. Or, you can
simply use the Erase command to start another page.

; To create two pages with plots.
PS_Start
cgPlot, ...
cgOplot, ...
cgPlot, ...
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 04:59:09 PDT 2025

Total time taken to generate the page: 1.43829 seconds