; ; XY plot exercise 1. ; begin y = sin(0.0628*ispan(0,100,1)) ; Generate a curve with 101 points. wks = gsn_open_wks("x11","xy_ex01") ; Open an X11 window res = True ; Plot options desired res@xyLineColor = "blue" ; Blue line plot = gsn_csm_y(wks,y,res) ; Call the gsn_csm function for drawing ; the curve. end