258
Programming
Sets the color of the pixel of
G
with coordinates
x,y
to
white.
G
can be any of the graphic variables and is
optional. The default is
G0
, the current graphic
GETPIX and
GETPIX_P
Syntax:
GETPIX
([
G
],
xposition, yposition
)
GETPIX_P
([
G
],
xposition, yposition
)
Returns the color of the pixel of
G
with coordinates
x,y
.
G
can be any of the graphic variables and is optional.
The default is
G0
, the current graphic.
RECT and
RECT_P
Syntax:
RECT
([
G, x1, y1, x2, y2, edgecolor, fillcolor
])
RECT_P
([
G, x1, y1, x2, y2, edgecolor, fillcolor
])
Draws a rectangle on G between points
x1,y1
and
x2,y2
using edgecolor for the perimeter and fillcolor for the
inside.
G
can be any of the graphic variables and is optional.
The default is
G0
, the current graphic
x1, y1
are optional. The default values represent the top
left of the graphic.
x2, y2
are optional. The default values represent the
bottom right of the graphic.
edgecolor
and
fillcolor
can be
-1
to
3
(
-1
= transparent,
0
=black,
1
= dark gray,
2
= light gray,
3
= white).
edgecolor
is optional. The default is white.
fillcolor
is optional. The default is edgecolor.
Note: To erase a
GROB
, execute
RECT(
G
)
. To clear the
screen execute
RECT()
.
When optional arguments are provided in a command
like
RECT
, with multiple optional parameters, provided
arguments correspond to the leftmost parameters first. For
example, in the program below, the arguments
40
and
90
in the
RECT_P
command correspond to
x1
and
y1
.
The argument
0
corresponds to
edgecolor
, since there is
only the one additional argument. If there had been two
additional arguments, they would have referred to
x2
and
y2
rather than
edgecolor
and
fillcolor
. The program
produces the figure below to the right.
Содержание 39gII
Страница 1: ...HP 39gII graphing calculator user s guide Edition1 Part Number NW249 90001 ...
Страница 2: ...Printing History Edition 1 November 201 1 ...
Страница 32: ...22 Getting started ...
Страница 58: ...48 Apps and their views ...
Страница 70: ...60 Function app ...
Страница 80: ...70 Solve app ...
Страница 132: ...122 Parametric app your own table and the split screen functionality available in the Function app ...
Страница 136: ...126 Polar app ...
Страница 140: ...130 Sequence app ...
Страница 148: ...138 Finance app ...
Страница 152: ...142 Linear Solver app ...
Страница 218: ...208 Matrices ...
Страница 226: ...216 Notes and Info ...
Страница 238: ...228 Variables and memory management ...
Страница 318: ...308 Programming ...
Страница 340: ...330 Reference information ...
Страница 346: ...vi Product Regulatory Information ...