Difference between revisions of "83Plus:Basic:Graphics:DrawInv"

From WikiTI
Jump to: navigation, search
(All it needed was a few little tweaks :-))
Line 1: Line 1:
 +
DrawInv draws the function as if the Y and X values were switched.  The following draws the inverse of y=x<sup>2</sup>:
  
 +
<nowiki>DrawInv("X^2")</nowiki>
 +
 +
You should see a parabola starting at (0,0) moving off to the right.
 +
 +
Also you can use equations instead of strings.  The following draws the inverse of the equation in Y<sub>1</sub>:
 +
<nowiki>DrawInv(Y1)</nowiki>
 +
 +
You can access the equation variables by hitting [Vars], [Right] to Y-Vars, and finally to Functions.

Revision as of 21:29, 8 October 2005

DrawInv draws the function as if the Y and X values were switched. The following draws the inverse of y=x2:

DrawInv("X^2")

You should see a parabola starting at (0,0) moving off to the right.

Also you can use equations instead of strings. The following draws the inverse of the equation in Y1:

DrawInv(Y1)

You can access the equation variables by hitting [Vars], [Right] to Y-Vars, and finally to Functions.