Examples¶
Line Graph¶
Set Title, Label and Legend¶
plot line -i simple.csv --title "Basic Line" --x-label x --y-label y --legends line
Change line style¶
plot line -i simple.csv --marker o --linestyle dashed
Multiple Lines¶
year,a,b
1990,20,4
1997,18,25
2003,489,281
2009,675,600
2014,1776,1900
plot line -i multiple.csv --header --index-col 0
plot line -i multiple.csv --header --index-col year
Bar Graph¶
Vertical Bar¶
plot bar -i random.csv --header
Horizontal Bar¶
plot bar -i random.csv --header --horizontal
Stacked Bar¶
plot bar -i random.csv --header --stacked
Histogram¶
Basic Histogram¶
plot hist -i uniform.csv --header --use-cols 0 --no-legend
Multiple Histogram¶
plot hist -i uniform.csv --header --alpha 0.5
Box Plot¶
plot box -i random.csv --header
Area Plot¶
plot area -i random.csv --header
Scatter Plot¶
plot scatter -i random.csv --header
Pie Chart¶
plot pie -i with-index.csv --index-col 0 --header