UsageLoad the module to gain access to the NCL binaries and NCAR Graphics libraries.
module load ncl
An example NCL file would look like this:
x = new(9,float)
y = new(9,float)
x = (/10.,20.,30.,40.,50.,60.,70.,80.,90./)
y = (/0.,0.71,1.,0.7,0.002,-0.71,-1.,-0.71,-0.003/)
wks = gsn_open_wks("x11","gsun01n")
plot = gsn_xy(wks,x,y,False)
Save this to a file and run:
$ ncl gsun01n.ncl
This will open a graphical window with a plot of the x and y data in it. Make sure your SSH session has X forwarding enabled!
$ ssh -Y titan.ccs.ornl.gov