83Plus:Basic:Graphics:DrawF: Difference between revisions

From WikiTI
Jump to navigationJump to search
Burntfuse (talk | contribs)
Cleaned up to match template
 
(2 intermediate revisions by one other user not shown)
Line 6: Line 6:
'''Syntax:''' DrawF ''function''
'''Syntax:''' DrawF ''function''


Draws the given function on the graph screen, regardless of how many Y= variables have been filled.
Draws the graph of a function.


== Outputs: ==
== Outputs: ==


Given function, as graphed on graph screen.
''function'' is drawn on the graph screen.


== Comments ==
== Comments ==


*Draws any function specified.
*Number of Y= variables doesn't matter
*Input may use any variables used in Y= functions
*Input may use any variables used in Y= functions


== Examples ==
== Examples ==
To draw the graph of Sin(X)
To draw the graph of sin(x):
<nowiki>
<nowiki>
 
ClrDraw
:ClrDraw
DrawF sin(x)</nowiki>
 
:DrawF Sin(x)
</nowiki>


To graph a function involving multiple user supplied variables:
To graph a function involving multiple user supplied variables:
<nowiki>
<nowiki>
:Prompt A,B,C
Prompt A,B,C
:DrawF Alog(B)+C
DrawF Alog(B)+C
:Pause
Pause</nowiki>
</nowiki>
 
== See also: ==

Latest revision as of 20:15, 18 September 2006


Synopsis

Token size: 1 byte

Syntax: DrawF function

Draws the graph of a function.

Outputs:

function is drawn on the graph screen.

Comments

  • Number of Y= variables doesn't matter
  • Input may use any variables used in Y= functions

Examples

To draw the graph of sin(x):

ClrDraw
DrawF sin(x)

To graph a function involving multiple user supplied variables:

Prompt A,B,C
DrawF Alog(B)+C
Pause