Graphics Reference
In-Depth Information
Figure 4-10. Dodging to avoid overlapping points
Changing the Appearance of Lines
Problem
You want to change the appearance of the lines in a line graph.
Solution
The type of line (solid, dashed, dotted, etc.) is set with linetype , the thickness (in mm) with
size , and the color of the line with colour .
These properties can be set (as shown in Figure 4-11 ) by passing them values in the call to
geom_line() :
Search WWH ::




Custom Search