
Page 22-22
PIX?, PIXON, and PIXOFF
These functions take as input the coordinates of point in user coordinates,
(x,y), or in pixels {#n, #m}.
•
PIX? Checks if pixel at location (x,y) or {#n, #m} is on.
•
PIXOFF turns off pixel at location (x,y) or {#n, #m}.
•
PIXON turns on pixel at location (x,y) or {#n, #m}.
PVIEW
This command takes as input the coordinates of a point as user coordinates
(x,y) or pixels {#n, #m}, and places the contents of PICT with the upper left
corner at the location of the point specified. You can also use an empty list
as argument, in which case the picture is centered in the screen. PVIEW does
not activate the graphics cursor or the picture menu. To activate any of those
features use PICTURE.
PX
C
The function PX
C converts pixel coordinates {#n #m} to user-unit coordinates
(x,y).
C
PX
The function C
PX converts user-unit coordinates (x,y) to pixel coordinates
{#n #m}.
Programming examples using drawing functions
In this section we use the commands described above to produce graphics
with programs. Program listing are provided in the attached diskette or CD
ROM.
Example 1 - A program that uses drawing commands
The following program produces a drawing in the graphics screen. (This
program has no other purpose than to show how to use calculator commands
to produce drawings in the display.)
Содержание 49g+
Страница 1: ...hp 49g graphing calculator user s guide H Edition 4 HP part number F2228 90006 ...
Страница 197: ...Page 5 30 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 377: ...Page 11 55 Function KER Function MKISOM ...
Страница 457: ...Page 13 26 In the right hand side figure above we are using the line editor to see the series expansion in detail ...
Страница 775: ...Page 26 10 the location of the backup battery in the top compartment at the back of the calculator ...
Страница 838: ...Page L 5 ...