Home
Up

PSTricks Part 2: Adding Objects

Let's begin to assemble our picture. First let us include the two rectangles (called "boxes" or "frames" or "frameboxes"). We define each one by specifying the lower left and upper-right corners with two ordered pairs as

Process the input file again to see the updated picture

We add the summer (i.e., the circle) similarly, but this time by defining the center of the circle with an (x,y) ordered pair, followed by the radius of the circle in terms of our predefined "unit length" as

The result is

 

This web site copyright © 1999-2000 by Robert A. Luke.  All rights reserved.