load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" begin npts = 500 ; number of points ncurves = 4 ; number of curves ym = asciiread("xy2.txt",(/npts,ncurves/),"float") x = fspan(-50,50,npts) ; npts values from -50 to 50 y = ym(:,0) ; Just grab one set of points. wks = gsn_open_wks ("x11","poly_ex01") res = True ; Plot options desired. res@gsnMaximize = True ; Maximize plot in frame. res@gsnFrame = False ; Don't advance frame. res@trXMinF = min(x) ; Put limits on X axis. res@trXMaxF = max(x) plot = gsn_csm_xy (wks,x,y,res) ; Draw plot, don't advance frame gsn_polymarker(wks,plot,-20,-300,False) ; Draw marker at (-20,-300) frame(wks) ; Advance the frame. end