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

Home » Public Forums » archive » Multiple-plot multiple-page landscape postscript problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Multiple-plot multiple-page landscape postscript problem [message #76922] Fri, 15 July 2011 08:59
Alexandra Laeng is currently offline  Alexandra Laeng
Messages: 20
Registered: July 2011
Junior Member
Hi, everybody,

I'm trying to create pultiple-plot multiple-page landscape postscript
output, and getting only the first page.
Is that one of those "not workinig" features you just have to know it
is ot working, or (hopefully!) something is wrong with my code?
Any idea would be most welcome!
Alex

pro profile_compare

restore, 'imk'
restore, 'esa'

set_plot, 'PS'
PageParam = PSWINDOW(/LANDSCAPE, /CM, PAGESIZE='A4')

device, /encapsulated, filename = 'name.ps'
device, _extra=PageParam
Device, DECOMPOSED=0, COLOR=1, BITS_PER_PIXEL=8
!P.MULTI=[0, 5, 3, 0, 0]


FOR i = 0L, N_ELEMENTS(a) - 1 DO BEGIN

meanings = ['name_1', 'name_2'']
colors = [cgColor('green'), cgColor('red')]
lines = [0,0]

plot,findgen(2), xrange=[-0.5, 11], yrange=[0,120],
XStyle=1.0, YStyle=1.0, $
xtitle='VMR, ppmv', ytitle='Height, km', $
title='some_title', charsize=1.2, /nodata
LEGEND, meanings, color=colors, linestyle=lines,
charsize=0.7, box=0, /right
oplot, *imk[b].target, *imk[b].altitude, color =
cgColor('green')
oplot, *esa[a[i]].o3.vmr,
*esa[a[i]].corrected_tangent_altitude.tangent, color = cgColor('red')
ENDELSE

IF int( (i+1)/15.0 ) EQ (i+1)/15.0 THEN ERASE

ENDFOR

device, /close_file
set_plot, 'X'
end
[Message index]
 
Read Message
Previous Topic: Using TV command instead of contour
Next Topic: Filled symbols with different color outlines

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

Current Time: Wed Oct 08 15:53:38 PDT 2025

Total time taken to generate the page: 0.00375 seconds