Graphics Programs Reference
In-Depth Information
This gives you Figure 4-11. Notice the spacing is wider than before, and
there is a title on the top.
Be careful when
you choose bar
spacing. When the
width of spacing is
close to that of the
width of the bars,
there's a vibration
effect visually. It's
almost as if the
roles of the bar
and spacing have
switched.
FIGurE 4-11 Bar graph with custom spacing and main title
Voilá! You've gotten your first taste of R.
In the File menu, there is an option to save your graph. Save it as a PDF.
You're going to need it soon.
To see the documentation for any function in R, simply type a
question mark followed by the function name. For example, to
read more about barplot() in R, simply type ?barplot . A descrip-
tion of the function is provided along with an explanation of avail-
able arguments. There are also usually working examples, which
can be extremely helpful.
rEFINE your GrAPh IN ILLuSTrATor
You now have a basic bar graph. It's not bad to look at, and if you use it only
for analysis, it's not necessary to do much more with it. But if you want
Search WWH ::




Custom Search