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

Home » Public Forums » archive » Re: Multiple-plot multiple-page landscape postscript problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Multiple-plot multiple-page landscape postscript problem [message #76913] Sat, 16 July 2011 05:08 Go to next message
Alexandra Laeng is currently offline  Alexandra Laeng
Messages: 20
Registered: July 2011
Junior Member
> I think the issue is that 'eps' can only be one page. If you take out
> the /encapsulated keyword, then you should get a multiple page
> postscript file.

Worked as a charm!
Thank you so much, Manodeep.
Now it works as it must, without ERASE command (put it when trying to
force multiple pages to work).

Alex
Re: Multiple-plot multiple-page landscape postscript problem [message #76917 is a reply to message #76913] Fri, 15 July 2011 11:42 Go to previous messageGo to next message
manodeep@gmail.com is currently offline  manodeep@gmail.com
Messages: 33
Registered: June 2006
Member
Hi Alex,

I think the issue is that 'eps' can only be one page. If you take out
the /encapsulated keyword, then you should get a multiple page
postscript file.

Cheers,
Manodeep

On Jul 15, 10:59 am, Alexandra Laeng <sasha.mozg...@gmail.com> wrote:
> 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
Re: Multiple-plot multiple-page landscape postscript problem [message #84622 is a reply to message #76917] Sat, 16 July 2011 05:10 Go to previous message
Alexandra Laeng is currently offline  Alexandra Laeng
Messages: 20
Registered: July 2011
Junior Member
> I think the issue is that 'eps' can only be one page. If you take out
> the /encapsulated keyword, then you should get a multiple page
> postscript file.

Worked as a charm!
Thank you so much, Manodeep.
Now it works as it must, without ERASE command (put it when trying to
force multiple pages to work).

Alex
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Filled symbols with different color outlines
Next Topic: GDL

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

Current Time: Wed Oct 08 15:17:40 PDT 2025

Total time taken to generate the page: 0.00702 seconds