There are two types of coordinates used when drawing. In this section we will discuss Graph-coordinates drawing. Commands such as lines, circles, functions, etc. use the coordinates on the graph axes. The way it's displayed on the screen changes as the window variable change, so that's why it's good to use ZStandard at the beginning of your program. These types of coordinates tend to be faster for the calculator to interpret and more dynamic, but have a tendancy to move around if the user changes the window. There are several commands that use graph coordinates drawing.
Line( function.
This will probably be most frequently used function that you will use on the graph, maybe besides text, depending on what you're doing. Line is accessed from the draw menu [2ND] [PRGM] [2]. The syntax of the function looks like this
:Line(X1,Y1,X2,Y2)
I give my thanks to my 3D programming buddy CG for this one. At the end of the Line( command, add a ,0), to make the function look like this: Line(0,0,4,4,0). This draws a white line instead of a black one. This is great if you want to erase something from only one part of the screen, or do do real-time moving of objects (white lines over the old lines, then redraw the black ones in the new location)
Circle( function
The circle function is not good to use for menus, because it takes a long time for the calculator to interpret it and draw it (this was Argon's problem for a while). The circle may seem distorted when it's drawn, but this is because of the window set on the calculator. The X and the Y are equal, but the actual screen size is longer than it is high. The circle command is accessed from the Draw menu [2ND] [PRGM], and the syntax is this:
Circle(CenterX1,CenterY1,Radius).