Looking Ahead - HP 7470A Interfacing And Programming Manual

Graphics plotter
Hide thumbs Also See for 7470A:
Table of Contents

Advertisement

Looking Ahead
Of course you want to use your plotter to create high quality graphic
plots. Most plots fall into one of three broad classes: line graphs, bar
graphs, or pie charts. Chapter 8 contains a discussion of a line graph.
Shown below are a bar graph and a pie chart.
Pie charts are an effective way to show parts of a whole entity; the
slices of the pie are the component parts. The pie chart here has some L
segments "exploded" for emphasis. To construct a pie chart, the data is
computed as a percentage of the total and each data value is converted
to the appropriate segment of a full 360—degree circle. A simple circle­
drawing program is found under the PA instruction in Chapter 3. To
create a pie chart you'll need to draw segments of a circle (arcs) and
connect the endpoints of the arcs to the circle's center with plotted
lines.
There are three types of bar graphs; simple bar graphs, stacked bar
graphs, and clustered bar graphs. The simple bar graph here shows that
sales are increasing. Bar
graphs are essentially a
collection of rectangles;
i.e., four plotted lines.'
Each of these rectangles
--=~ww~-
m
is filled; refer to the ad­
vanced programming tips
at the end of Chapter 8
tolearnhow tocreate a
filled or hatched area. A
stacked bar might be used
to showthesesamesales
-
data broken down into
sales by region. Portions
of each bar would be
350.;
colored or shaded differ­
ently to show the sales in
each region. Another-way
of showing sales by region
would be to use a separate
bar for each region and
to "cluster" all the bars
for one year together with
a larger space between
each cluster of bars. There
is
D 197}l972lQ7319741975]Q7G 197719783579l98fJ
year of data.
SMITH UNIVERSITY
STUDENT ENROLLMENT BY COLLEGE
LETYER5 I SCIENCE — aux
VEYERINAEV SCIENCE - ex
LAV - 5x
v.v.v.v.v.v
o'o'o'o'
'Q;
AGRICULTURE
— 121
:.,.,.,.,.:.:.,
O O O 9
.~2~:~2~2°2°:~.
:,o,o.o,o.oo
\\
"
ausmess
AIJHINISTRAYIDN - xax
NET SALES
BDDU ­
25013 r>
zonu f
l'
ISCID
Milliuns
of Uullars
IUDU
SUD ­
GETTING STARTED 1-15

Advertisement

Table of Contents
loading

Table of Contents