begin ; ; Create an X Workstation. ; wks = create "wks" xWorkstationClass defaultapp end create ; ; Create a data object. ; dataid = create "data" coordArraysClass defaultapp "caYArray" : (/1,3,-1,-2,0,2,3,0,5,-2,1,0,0,8,10,5,-3/) "caYMissingV" : 0 ; Indicate that 0 is a missing value and thus ; shouldn't be plotted. end create ; ; Create an XY plot. ; xy = create "xyplot" xyPlotClass wks "xyCoordData" : dataid end create draw(xy) ; Draw the XY plot. frame(wks) ; Advance the frame. end