Site hosted by Angelfire.com: Build your free website today!
 
TBasic for Dummies
Lesson 6

    Now into some of the harder stuff. Draw commands will be this lessons topic but we wont go much in depth with any of them... If you would like to learn more about the Draw Commands then pull out the 82's manual and read the section on draw commands.

ClrDraw:
Clears the Drawing

The Line:
Line(X1,Y1,X2,Y2)

    The line is used to draw a line across the screen... The first to coordinates are connected to the second coordinates. Pretty simple...

Horizontal:
Horizontal Y

    The horizontal command is used to draw a horizontal line across the screen at the Y value you put in...

Vertical:
Vertical X

    The vertical command is used to draw a vertical line at the X value of your choice.

Text()
Text(X,Y,"TEXT")

    The text command is used to put text on the graph. Sometimes the 82 likes to flip the X and the Y so you may have to mess around with this command.

    The rest of the commands can be found in the book, including how to save the pictures and how to turn on individual pixels. You can also learn how to test to see if a pixel is on.... SO GO READ THE DRAW SECTION!

QUIZ:
1. If i wanted to clear the drawing how would i do it?
A. CLEAR DRAW
B. ClrDraw
C. DispGraph

2. If i wanted to view Pic1 how would i do it?
A. DispGraph
B. DispPic1
C. RecallPic Pic1
D. Pic1

3. What pages are the draw section in your TI instruction book?
A. Chapter 7
B. Chapter 8
C. Chapter 9
D. Chapter 10


Back to Contents
Next Lesson