where you will likely have to substitute for Pacific the name of your machine. The quotes here are backquotes in the upper left of your keyboard rather than apostrophes.read `Pacific:othermaple:pargrm_image`;

Suppose that vectors and are defined as in

and a matrix is defined byv1 := vector([1,0]);

v2 := vector([0,1]);

Then the Maple callA1 := matrix(2,2,[.28, .96, .96, -.28]);

will display two parallelograms with vertices at the origin. One parallelogram will have edges and , and be colored blue. The other will be the image under of this parallelogram, and so will have edges , and . This image is colored red.gr1 := pargrm_image_2d([v1,v2],A1);

display(gr1, scaling=constrained):

At places where the original and image parallelograms overlap, the color will be blue, but you will still be able to see the edges and .

The line *scaling=constrained* above tells Maple that you'd like
the and axis scales to be the same. This is essential if you
are trying to read off information like distance and angles from a
picture !

There is also a routine pargrm_image_3d using dimensional vectors, and a matrix to draw the images under of a parallelepiped with edges , , and . A typical call would be

pargrm_image_3d([v1,v2,v3],A);

Samples using the parallelogram image package
are located in the file *:Maple V Release 4:Math 221:Parallelogram
Image* on each Macintosh in the Lab.