begin y = sin(0.0628*ispan(0,100,1)) ; Generate a curve with 101 points. wks = gsn_open_wks("png","xy1a") ; Open a png file called "xy1a.png". res = True ; No plot options set. plot = gsn_csm_y(wks,y,res) ; Call the gsn_csm function for drawing ; the curve. No plot options are set. end