21-22
Programming
GROBXOR
Using the logical XOR, superimposes
graphicname2
onto
graphicname1
. The upper left corner of
graphicname2
is
placed at
position
.
GROBXOR
graphicname1
;
(
position
)
;
graphicname2
:
MAKEGROB
Creates graphic with given width, height, and
hexadecimal data, and stores it in
graphicname
.
MAKEGROB
graphicname
;
width
;
height
;
hexdata
:
PLOT
→
Stores the Plot view display as a graphic in
graphicname
.
PLOT
→
graphicname
:
PLOT
→
and
DISPLAY
→
can be used to transfer a copy
of the current PLOT view into the sketch view of the aplet
for later use and editing.
Example
1
X
PageNum:
PLOT
→
Page:
→
DISPLAY
Page:
FREEZE:
This program stores the current PLOT view to the first page
in the sketch view of the current aplet and then displays
the sketch as a graphic object until any key is pressed.
→
PLOT
Puts graph from
graphicname
into the Plot view display.
→
PLOT
graphicname
:
REPLACE
Replaces portion of graphic in
graphicname1
with
graphicname2
,
s
tarting at
position
.
REPLACE
also
works for lists and matrices.
REPLACE
graphicname1
;
(
position
)
;
graphicname2
:
SUB
Extracts a portion of the named graphic (or list or matrix),
and stores it in a new variable,
name
. The portion is
specified by
position
and
positions.
SUB
name
;
graphicname
;
(
position
)
;
(
positions
)
:
ZEROGROB
Creates a blank graphic with given
width
and
height
,
and stores it in
graphicname
.
ZEROGROB
graphicname
;
width
;
height
:
hp40g+.book Page 22 Friday, December 9, 2005 1:03 AM
Содержание 40gs
Страница 10: ...hp40g book Page x Friday December 9 2005 1 03 AM ...
Страница 64: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Страница 80: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Страница 86: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Страница 100: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Страница 126: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Страница 182: ...hp40g book Page 28 Friday December 9 2005 1 03 AM ...
Страница 274: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Страница 303: ...Step by Step Examples 16 29 hp40g book Page 29 Friday December 9 2005 1 03 AM ...
Страница 304: ...hp40g book Page 30 Friday December 9 2005 1 03 AM ...
Страница 314: ...hp40g book Page 10 Friday December 9 2005 1 03 AM ...
Страница 330: ...hp40g book Page 16 Friday December 9 2005 1 03 AM ...
Страница 392: ...hp40g book Page 44 Friday December 9 2005 1 03 AM ...
Страница 420: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Страница 428: ...hp40g book Page 8 Friday December 9 2005 1 03 AM ...
Страница 444: ...hp40g book Page 16 Friday December 9 2005 1 03 AM ...