Quick Start with YouPlot
mainYouPlot follows the pattern: uplot <command> [options] <data.tsv>. It can accept data via stdin or files.
Barplot
Draw a horizontal barplot. For example, to plot landmass areas from a CSV:
curl -sL https://git.io/ISLANDScsv \
| sort -nk2 -t, \
| tail -n15 \
| uplot bar -d, -t "Areas of the World's Major Landmasses"Histogram
Draw a horizontal histogram. Example using Python generated data:
echo -e "from numpy import random;" \
"n = random.randn(10000);" \
"print('\
'.join(str(i) for i in n))" \
| python3 \
| uplot hist --nbins 20Lineplot
Draw a line chart. Example with AirPassengers data:
curl -sL https://git.io/AirPassengers \
| cut -f2,3 -d, \
| uplot line -d, -w 50 -h 15 -t AirPassengers --xlim 1950,1960 --ylim 0,600Scatter Plot
Draw a scatter plot. Example using IRIS data:
curl -sL https://git.io/IRIStsv \
| cut -f1-4 \
| uplot scatter -H -t IRISDensity Plot
Draw a density plot:
curl -sL https://git.io/IRIStsv \
| cut -f1-4 \
| uplot density -H -t IRISBoxplot
Draw a horizontal boxplot:
curl -sL https://git.io/IRIStsv \
| cut -f1-4 \
| uplot boxplot -H -t IRISCount
Draw a barplot based on the number of occurrences of values. Note that count is implemented in Ruby and may be slow for large datasets.
ps aux | awk '{print $1}' | uplot countuplot <command> [options] <data.tsv>