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

Home » Public Forums » archive » problem with multiple page postscript plots
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
problem with multiple page postscript plots [message #73684] Mon, 22 November 2010 07:07
Søren Frimann is currently offline  Søren Frimann
Messages: 13
Registered: November 2010
Junior Member
Hi all.

I'm having a problem with creating postscript plots of multiple pages.

My code looks like this:
------------------------------------------------------------ -------------------------------------
pro plotexample, n

compile_opt idl2

set_plot, 'ps'
!p.multi=[0,1,3]
device, filename='example.ps'

for i = 0,n do begin
plot, [0,1],[0,1]
plot, [0,1],[0,1]
plot, [0,1],[0,1]
endfor

set_plot, 'x'
!p.multi = 0

end
------------------------------------------------------------ -------------------------------------

If n is too low (lt 29) it never produces a readable .ps file. If n is
higher it doesn't include all pages (or for that matter all subplots
on the last page). Sometimes the last window drawn don't contain any
data -- at other times it only draws the horizontal axes.

I'm really lost as to why this is happening.

Regards,
Soeren
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Common block compilation error
Next Topic: Re: problem with multiple page postscript plots

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

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

Total time taken to generate the page: 0.00469 seconds