2001/10/02
CHAPTER 9 HP-GL - 6
3.
COMMANDS
3.1.
Initialization and Default Setting Instructions
DF - Default set instruction
DF[;]
•
Returns the graphics mode to the default conditions.
•
The following are the default settings.
Function
Equivalent
Instruction
Condition
Plot mode
PA;
Absolute plotting
Relative character direction
DR 1,0;
Horizontal
Line type
LT;
Solid line
Line pattern length
LT;
4% of distance from P1 to P2
Window
IW;
Set at limits of printable area
according to paper size
Relative character size
SR;
Width=0.75% of |P2x - P1x|
Height=1.5% of |P2y - P1y|
Symbol mode
SM;
Off
Tick length
TL;
X-axis: 0.5% of |P2y - P1y|
Y-axis: 0.5% of |P2x - P1x|
Standard character set
CS 0;
Character set 0
Alternate character set
CA 0;
Character set 0
Character set
SS;
Standard character set selected
Character slant
SL 0;
0 degrees
Scaling
SC;
Off
Label terminator
DT chr$(3)
chr$(3)
Chord angle
-----
5 degrees
Fill type
FT;
Bi-directional fill, type 1
Fill distance
FT;
1% of distance from P1 to P2
Fill slant
FT;
0 degrees
Pen Thickness
PT;
Set at 0.3 mm
NOTE:
The location of the scaling points(P1, P2) remains constant.
IN - Initialize set instruction
IN[;]
•
Returns the graphics mode to the following initial conditions;
Function
Equivalent
Instruction
Condition
Plot mode
PA;
Absolute
Relative character direction
DR 1,0;
Horizontal
Line type
LT;
Solid line
Line pattern length
LT;
4% of distance from P1 to P2
Window
IW;
Set at limits of printable
area according to paper size
Relative character size
SR;
Width=0.75% of |P2x-P1X|
Height=1.5% of |P2y-P1y |
Symbol mode
SM;
Off
Tick length
TL;
X-axis: 0.5% of |P2y-P1y |
Y-axis: 0.5% of |P2x-P1x|
Standard character set
CS 0;
Character set 0
Alternate character set
CA 0;
Character set 0
Character set
SS;
Standard character set
selected
Character slant
SL 0;
0 degrees
Scaling
SC ;
Off
Label terminator
DT chr$(3)
chr$(3)
Chord angle
-----
5 degrees