<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Well<div><br></div><div><div>[Joe-Mac-1008:projects/mars/plots] josephcain% ncl -V</div><div>5.2.1</div><div><br></div><div>But executing Mary's sample test code does not do anything?</div><div><br></div><div><div>[Joe-Mac-1008:projects/mars/plots] josephcain% ncl old_out_xy.ncl</div><div>&nbsp;Copyright (C) 1995-2010 - All Rights Reserved</div><div>&nbsp;University Corporation for Atmospheric Research</div><div>&nbsp;NCAR Command Language Version 5.2.1</div><div>&nbsp;The use of this software is governed by a License Agreement.</div></div><div><br></div><div><br></div><div>where&nbsp;</div><div><br></div><div><div>[Joe-Mac-1008:projects/mars/plots] josephcain% <b>more old_out_xy.ncl</b></div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"</div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"</div><div><br></div><div>begin</div><div>;---Read 7 columns of data, and ignore first line.</div><div>&nbsp;&nbsp;data = readAsciiTable("old_out", 7, "float", 1) &nbsp;</div><div><br></div><div>&nbsp;&nbsp;year = data(:,0)</div><div>&nbsp;&nbsp;dlat = data(:,1)</div><div>&nbsp;&nbsp;dlon = data(:,2)</div><div>&nbsp;&nbsp;alt &nbsp;= data(:,3)</div><div>&nbsp;&nbsp;X &nbsp; &nbsp;= data(:,4)</div><div>&nbsp;&nbsp;Y &nbsp; &nbsp;= data(:,5)</div><div>&nbsp;&nbsp;Z &nbsp; &nbsp;= data(:,6)</div><div><br></div><div>;---Start the graphics.</div><div>&nbsp;&nbsp;wks &nbsp; = gsn_open_wks ("ps", "old_out_xy")</div><div><br></div><div>;---Set some plot options</div><div>&nbsp;&nbsp;res &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True</div><div>&nbsp;&nbsp;res@gsnMaximize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True &nbsp; ; Maximize plot in frame</div><div>&nbsp;&nbsp;res@gsnDraw &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= False &nbsp;; Don't draw plot</div><div>&nbsp;&nbsp;res@gsnFrame &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = False &nbsp;; Don't advance page</div><div><br></div><div>&nbsp;&nbsp;res@vpWidthF &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0.8 &nbsp; &nbsp;; Change aspect ratio</div><div>&nbsp;&nbsp;res@vpHeightF &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0.2 &nbsp; &nbsp;; of plot</div><div><br></div><div>&nbsp;&nbsp;plotx &nbsp; = gsn_csm_xy(wks, dlat, X, res)</div><div>&nbsp;&nbsp;ploty &nbsp; = gsn_csm_xy(wks, dlat, Y, res)</div><div>&nbsp;&nbsp;plotz &nbsp; = gsn_csm_xy(wks, dlat, Z, res)</div><div>&nbsp;&nbsp;plotalt = gsn_csm_xy(wks, dlat, alt, res)</div><div><br></div><div>;---Panel all three plots on one page as 4 rows, 1 column</div><div>&nbsp;&nbsp;pres &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = True</div><div>&nbsp;&nbsp;pres@gsnMaximize = True</div><div>&nbsp;&nbsp;pres@txString &nbsp; &nbsp;= "Comparison between X, Y, Z, alt"</div><div>&nbsp;&nbsp;gsn_panel(wks,(/plotx,ploty,plotz,plotalt/),(/4,1/),pres)</div><div><br></div><div>end</div></div><div><br></div><div>and</div><div><br></div><div><div>[Joe-Mac-1008:projects/mars/plots] josephcain% <b>head old_out</b></div><div>&nbsp;1999.0396 &nbsp;-77.4576 &nbsp;236.5607 &nbsp;196.1897 &nbsp; 37.5075 &nbsp;-70.3262 &nbsp; -8.0432</div><div>&nbsp;1999.0396 &nbsp;-76.7379 &nbsp;235.7316 &nbsp;191.3689 &nbsp; 38.1892 &nbsp;-82.7721 &nbsp; &nbsp;1.8762</div><div>&nbsp;1999.0396 &nbsp;-76.0140 &nbsp;234.9799 &nbsp;186.6699 &nbsp; 37.1596 &nbsp;-92.6662 &nbsp; 13.3272</div><div>&nbsp;1999.0396 &nbsp;-75.2865 &nbsp;234.2944 &nbsp;182.0940 &nbsp; 41.3300 -101.3463 &nbsp; 25.5609</div><div>&nbsp;1999.0396 &nbsp;-74.5554 &nbsp;233.6664 &nbsp;177.6428 &nbsp; 49.4288 -104.8782 &nbsp; 45.9377</div><div>&nbsp;1999.0396 &nbsp;-73.8211 &nbsp;233.0883 &nbsp;173.3159 &nbsp; 60.1135 &nbsp;-99.3531 &nbsp; 83.4698</div><div>&nbsp;1999.0396 &nbsp;-73.0837 &nbsp;232.5538 &nbsp;169.1160 &nbsp; 59.3724 &nbsp;-75.3881 &nbsp;143.5756</div><div>&nbsp;1999.0396 &nbsp;-72.3436 &nbsp;232.0578 &nbsp;165.0432 &nbsp; 37.8042 &nbsp;-25.8652 &nbsp;213.3564</div><div>&nbsp;1999.0396 &nbsp;-71.6007 &nbsp;231.5958 &nbsp;161.0989 &nbsp; &nbsp;7.6971 &nbsp; 58.0769 &nbsp;251.1240</div><div>&nbsp;1999.0396 &nbsp;-70.8553 &nbsp;231.1640 &nbsp;157.2839 &nbsp;-34.8135 &nbsp;126.6690 &nbsp;241.8724</div></div><div><br></div><div><br></div><div><br></div></div></body></html>