2001/10/02
CHAPTER 4 HP-GL/2 - 2
CONTENTS
1. COMMAND LIST....................................................................................................................................4
2. INTRODUCTION....................................................................................................................................6
3. TERMINOLOGY......................................................................................................................................7
3.1. Picture Frame....................................................................................................................................7
3.2. Anchor Point.......................................................................................................................................7
3.3. Graphics Window...............................................................................................................................7
3.4. Hard Clip Limits..................................................................................................................................7
3.5. Soft Clip Limits................................................................................................................................... 7
3.6. Graphics Units....................................................................................................................................7
3.7. User Units...........................................................................................................................................7
3.8. Current Units...................................................................................................................................... 7
3.9. Pens................................................................................................................................................... 7
3.10. Absolute and Relative Plotting..........................................................................................................8
3.11. Fills................................................................................................................................................... 8
4. COMMAND SYNTAX.............................................................................................................................9
4.1. Mnemonic...........................................................................................................................................9
4.2. Parameters........................................................................................................................................ 9
4.3. Separators..........................................................................................................................................9
4.4. Terminator..........................................................................................................................................9
5. THE HP-GL GRAPHICS WINDOW.................................................................................................. 10
5.1. Units .................................................................................................................................................10
5.2. The Scaling Points P1 and P2.........................................................................................................10
5.3. Scaling..............................................................................................................................................10
5.4. Transformation.................................................................................................................................10
6. PREPARING TO PRINT GRAPHIC IMAGES ................................................................................11
6.1. Setting Up the Graphics Window.....................................................................................................11
6.2. Using Existing Image Plots ..............................................................................................................11
6.3. Printing an Image............................................................................................................................. 11
6.4. Entering HP-GL/2 Mode ...................................................................................................................11
6.5. Quitting HP-GL/2 Mode ....................................................................................................................11
7. COMMANDS........................................................................................................................................ 12
7.1. Initialize Commands.........................................................................................................................12
7.2. Plot Area and Unit Setting Instructions.............................................................................................14
7.3. Pen Control and Plot Instructions ....................................................................................................18
7.4. The polygon group............................................................................................................................25