Re: CgWindow and multiple plots [message #82890] |
Sun, 20 January 2013 12:51  |
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.")
|
|
|