2006/05/31 
CHAPTER 9 HP-GL - 2 
CONTENTS 
1.  COMMAND LIST..................................................................................................................3 
2.  INTRODUCTION ..................................................................................................................4 
2.1.  HP-GL Syntax ..........................................................................................................................4 
2.2.  Font Selection.......................................................................................................................... 4 
2.3.  Coordinate System and Printing Area...................................................................................... 4 
2.3.1.  Coordinate system..................................................................................................................................4 
2.3.2.  Printing area............................................................................................................................................5 
3.  COMMANDS ........................................................................................................................6 
3.1.  Initialization and Default Setting Instructions ........................................................................... 6 
3.2.  Plot Area and Unit Setting Instructions .................................................................................... 7 
3.3.  Pen Control and Plot Instructions ............................................................................................ 8 
3.4.  The polygon Group ................................................................................................................ 13 
3.5.  Plot Function Instructions.......................................................................................................18 
3.6.  Character Plot Instructions.....................................................................................................20 
3.7.  Dual Context Extensions........................................................................................................ 26 
4.  INDEX.................................................................................................................................27