; ; XY plot exercise 3. ; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" begin y = sin(0.0628*ispan(0,100,1)) ; Generate a curve with 101 points. wks = gsn_open_wks("x11","xy_ex03") ; Open an X11 window res = True ; Plot options desired res@xyMarkLineMode = "Markers" ; Use markers res@xyMarker = 16 ; Fill dot marker res@xyMarkerColor = "red" ; Red markers plot = gsn_csm_y(wks,y,res) end