beautypg.com

Stop, Erase, Example – HP 39g Graphing Calculator User Manual

Page 227: Drawing commands

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

RUN

STOP

Runs the named program. If your program name contains

special characters, such as a space, then you must enclose the

file name in double quotes (" ")■

RUN "program name" or RUN programname

Stops the current program.

STOP

Drawing commands

ARC

BOX

ERASE

The Drawing commands act on the display. The scale of the

display depends on the current aplet’s Xmin, Xmax, Ymin,
and Ymax values. The following examples assume the HP

39G/40G default settings with the Function aplet as the

current aplet.

Draws a circular arc, of given radians, whose centre is at (x,y)
The arc is drawn from startjmglejneasurement, and
endjmglejneasurement.

ARC x ; y ; radius; startjmgle jneasurment ;

end jangle jneasurment:

Example

ARC 0 ; 0 ; 2 ; 0 ; 3 6 0 :

FREEZE:
Draws a circle centered
at (0,0) of radius 2. The
FREEZE command
causes the circle to
remain displayed on the screen until you press a key.

Draws a box with opposite comers (xl jl) and (x2,y2).

BOX xl ;yl -,x2;y2:

Example

BOX
FREEZE;

Draws a box, lower

comer at (-1 .-l), upper

comer at (1,1)

Clears the display

ERASE:

Programming

15-19