92
HPIIISi TWINAX CARD
4.
Next, determine the approximate maximum height and width of the
chart. In the example, 40 was the expected maximum number of calls.
We chose to have one inch represent 10 calls, resulting in a total
maximum height of four inches (not including the title and subtitle.)
Similarly, each day was represented by one inch, resulting in a total
maximum width of five inches (not including the space needed for
the label “WEEKDAY”).
5.
If the chart is being printed on a black-and-white PCL printer, the
order in which these elements are created is irrelevant. However, if
you are printing on a PCL color printer, the lines of the last element
will always overlay (and cover) the element previously printed. In the
example, the elements creating the x- and y-axes should be entered
last when printing on a PCL color printer.
6.
Create the separate GL elements based on the order determined in
Step 5. In the example, the bar charts were created first. Recall the GL
formula for the bar chart and the preceding shading/color command
string:
¬GS<# of values>;<color 1>;<% shading 1>;<color 2>;
<% shading 2>;...
¬GH<line width>;<x start>;<y start>;<x-increment>;
<y-increment>;<bar width>;<# of entries>;<value 1>;<value 2>; ...
The bar chart shown in Figure 7-18 was created using the following
parameters:
Bar Chart—Boyd
Shading/Color: Boyd’s calls were plotted for each day of the business week,
so the number of values is five. Since we printed to a black-and-white laser
printer, the color parameters were irrelevant. The shading was set to 10%.
Bar Chart (Histogram): The line width was set to 1 mm. The x;y-start
parameters defined the bottom left corner of the bar, which is identical
with the origin of the chart. Remember that the origin was one inch from
the left margin, and 10 inches from the top margin of the printable area.
The corresponding values were 300 (x
1
⁄
300
" = 1") for <x start> and
3000 (x
1
⁄
300
" = 10") for <y start>.