Storing and retrieving variables in programs, Plot-view variables – HP 40gs User Manual

Page 379

Advertising
background image

Programming

21-31

Storing and retrieving variables in programs

The HP 40gs has both Home variables and Aplet
variables. Home variables are used for real numbers,
complex numbers, graphics, lists, and matrices. Home
variables keep the same values in HOME and in aplets.

Aplet variables are those whose values depend on the
current aplet. The aplet variables are used in
programming to emulate the definitions and settings you
make when working with aplets interactively.

You use the Variable menu (

) to retrieve either

Home variables or aplet variables. See “The VARS menu”
on page 17-4. Not all variables are available in every
aplet. S1fit–S5fit, for example, are only available in the
Statistics aplet. Under each variable name is a list of the
aplets where the variable can be used.

Plot-view variables

Area

Function

Contains the last value found by the Area function in Plot-
FCN menu.

Axes

All Aplets

Turns axes on or off.

From Plot Setup, check (or uncheck)

AXES.

or

In a program, type:

1

X

Axes—to turn axes on (default).

0

X

Axes—to turn axes off.

Connect
Function
Parametric
Polar
Solve
Statistics

Draws lines between successively plotted points.

From Plot Setup, check (or uncheck)

CONNECT.

or

In a program, type

1

X

Connect—to connect plotted points (default,

except in Statistics where the default is off).
0

X

Connect—not to connect plotted points.

hp40g+.book Page 31 Friday, December 9, 2005 1:03 AM

Advertising
This manual is related to the following products: