New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 3069 for branches/dev_2802_OBStools/NEMOGCM/TOOLS/OBSTOOLS/dataplot/prend2.pro – NEMO

Ignore:
Timestamp:
2011-11-09T16:18:38+01:00 (13 years ago)
Author:
djlea
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_2802_OBStools/NEMOGCM/TOOLS/OBSTOOLS/dataplot/prend2.pro

    r3002 r3069  
    1010COMMON pr2, view_landscape 
    1111 
     12; get filename of postscript device   
     13 
     14r = fstat(!D.UNIT) 
     15filename = r.name 
     16 
    1217device,/close           
    1318set_plot,'x' 
     
    1520if keyword_set(view) then begin 
    1621 
    17 ; get filename of postscript device   
    18  
    19    r = fstat(!D.UNIT) 
    20    filename = r.name 
    21  
    2222   if (view_landscape) then begin 
    23       spawn,'gv -landscape -swap '+filename 
     23      spawn,'gv -orientation=landscape -swap '+filename 
    2424   endif else begin 
    2525      spawn,'gv '+filename  
Note: See TracChangeset for help on using the changeset viewer.