problem with multiple page postscript plots [message #73684] |
Mon, 22 November 2010 07:07 |
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
|
|
|