source: utils/tools_CPL_OASIS_ticket2379_2020/OBSTOOLS/dataplot/prend2.pro

Last change on this file was 3069, checked in by djlea, 9 years ago

Update OBS and ASM documentation. Small updates and fixes to dataplot.

File size: 707 bytes
Line 
1PRO PREND2,in_printer,keep=keep,noprint=noprint,double=double,$
2    view=view,spin_landscape_ps=spin_landscape_ps,$
3    eps_preview=eps_preview,colour_preview=colour_preview,$
4    dpi_preview=dpi_preview, suppress_stderr=suppress_stderr
5;+
6; NAME:prend
7;
8; Author:  D. J. Lea       Feb 2008
9
10COMMON pr2, view_landscape
11
12; get filename of postscript device 
13
14r = fstat(!D.UNIT)
15filename = r.name
16
17device,/close         
18set_plot,'x'
19
20if keyword_set(view) then begin
21
22   if (view_landscape) then begin
23      spawn,'gv -orientation=landscape -swap '+filename
24   endif else begin
25      spawn,'gv '+filename
26   endelse
27
28endif
29
30!p.font=-1
31!p.charsize=0
32!p.charthick=0
33!p.thick=0
34!p.background=0
35
36;return
37
38end
Note: See TracBrowser for help on using the repository browser.