SET BACKGROUND COLOR "black" SET WINDOW xmin,xmax,ymin,ymax ! default window coordinates are 0,1,0,1 PLOT POINTS: x,y ! abbreviation is PLOT x,y PLOT LINES: x1,y1; x2,y2; PLOT ! start a new curve PLOT AREA: 1,1;2,1;2,2 ! draw filled triangle BOX LINES xmin,xmax,ymin,ymax ! draw rectangle BOX AREA xmin,xmax,ymin,ymax ! draw filled rectangle BOX CLEAR xmin,xmax,ymin,ymax ! erase rectangle BOX CIRCLE xmin,xmax,ymin,ymax ! draw inscribed circle (or ellipse) ASK MAX COLOR mc ! mc is number of foreground colors ! other names include green, blue, brown, magenta, and white SET COLOR "red" CLEAR ! erase contents of current window ! fill enclosed graphical region with current forground color FLOOD x,y