beautypg.com

Graphic commands – HP 38g Graphing Calculator User Manual

Page 167

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

background image

The

Graphic commands

use the graphics variables G0-G9 as

name arguments—or the Page variable from Sketch. Position

arguments take the form (x,y). Position coordinates depend

on the current aplet's scale which is specified by Xmin, Xmax,

Ymin, and Ymax.

Graphic Commands

DISPLAY-»

Stores the current display in name.

DISPLAY^

n a m e

-»DISPLAY

Displays graphic from name in the display.

-»DISPLAY

n a m e

^GROB

Creates a graphic from

e x p r e s s io n ,

using

fo n t_ s iz e ,

and stores

the resulting graphic in

n a m e .

Font sizes are

1, 2,

or 3. If the

fo n t_ s iz e

argument is

0,

the HP 38G creates a graphic display

like that created by the

SHOW

operation.

—»GROB

n a m e ; e x p r e s s io n ;f o n t_ s iz e

GROBNOT

Replaces graphic in

n a m e

with bitwise-inverted graphic from

n a m e .

GROBNOT

n a m e

GROBOR

Using the logical OR, superimposes

g r a p h ic

onto

n a m e

starting

at the specified coordinate in

p o s itio n .

GROBOR

n a m e _ g r a p h ic l;p o s itio n ;n a m e _ g r a p h ic 2

EKau®>le GROBOR G1; ( 0,0

)

; G2

GROBXOR

Using the logical XOR, superimposes

g r a p h ic

onto

n a m e

starting at the specified coordinate in

p o s itio n .

GROBXOR

n a m e ; p o s itio n ; g r a p h ic

MAKEGROB

Creates graphic with given width, height, and hexadecimal

data, and stores it in

n a m e .

MAKEGROB

n a m e ; w id th h e ig h t h e x - d a ta

Programming 8-15