<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> Copyright (C) 1995-2010 - All Rights Reserved</div><div> University Corporation for Atmospheric Research</div><div> NCAR Command Language Version 5.2.1</div><div> The use of this software is governed by a License Agreement.</div></div><div><br></div><div><br></div><div>where </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> data = readAsciiTable("old_out", 7, "float", 1) </div><div><br></div><div> year = data(:,0)</div><div> dlat = data(:,1)</div><div> dlon = data(:,2)</div><div> alt = data(:,3)</div><div> X = data(:,4)</div><div> Y = data(:,5)</div><div> Z = data(:,6)</div><div><br></div><div>;---Start the graphics.</div><div> wks = gsn_open_wks ("ps", "old_out_xy")</div><div><br></div><div>;---Set some plot options</div><div> res = True</div><div> res@gsnMaximize = True ; Maximize plot in frame</div><div> res@gsnDraw = False ; Don't draw plot</div><div> res@gsnFrame = False ; Don't advance page</div><div><br></div><div> res@vpWidthF = 0.8 ; Change aspect ratio</div><div> res@vpHeightF = 0.2 ; of plot</div><div><br></div><div> plotx = gsn_csm_xy(wks, dlat, X, res)</div><div> ploty = gsn_csm_xy(wks, dlat, Y, res)</div><div> plotz = gsn_csm_xy(wks, dlat, Z, res)</div><div> 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> pres = True</div><div> pres@gsnMaximize = True</div><div> pres@txString = "Comparison between X, Y, Z, alt"</div><div> 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> 1999.0396 -77.4576 236.5607 196.1897 37.5075 -70.3262 -8.0432</div><div> 1999.0396 -76.7379 235.7316 191.3689 38.1892 -82.7721 1.8762</div><div> 1999.0396 -76.0140 234.9799 186.6699 37.1596 -92.6662 13.3272</div><div> 1999.0396 -75.2865 234.2944 182.0940 41.3300 -101.3463 25.5609</div><div> 1999.0396 -74.5554 233.6664 177.6428 49.4288 -104.8782 45.9377</div><div> 1999.0396 -73.8211 233.0883 173.3159 60.1135 -99.3531 83.4698</div><div> 1999.0396 -73.0837 232.5538 169.1160 59.3724 -75.3881 143.5756</div><div> 1999.0396 -72.3436 232.0578 165.0432 37.8042 -25.8652 213.3564</div><div> 1999.0396 -71.6007 231.5958 161.0989 7.6971 58.0769 251.1240</div><div> 1999.0396 -70.8553 231.1640 157.2839 -34.8135 126.6690 241.8724</div></div><div><br></div><div><br></div><div><br></div></div></body></html>