Database Reference
In-Depth Information
Scatter Plots
Using
Rio
(
Figure 7-7
):
$
< data/tips.csv Rio -ge
'g+geom_point(aes(bill, tip, color=time))'
| display
Figure 7-7. Scatter plot
Using
feedgnuplot
:
$
< data/tips.csv csvcut -c bill,tip | tr ,
' '
| header -d | feedgnuplot
\
>
--terminal
'dumb 80,25'
--points --domain --unset grid --exit --style pt 14
10 ++----+------+-----+------+-----+------+-----+------+-----+------+A---++
+ + + + + + + + + + + +
9 ++ A ++
| |
8 ++ ++
| A |
| |
7 ++ A A ++
| A A |