diff --git a/README.md b/README.md index 0ab14c5..6ad7c37 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,11 @@ curl -sL https://git.io/ISLANDScsv \ barplot

+```sh +# For offline users +ls -l | awk '{print $9, $5}' | sort -nk 2 | uplot bar -d ' ' +``` + ### histogram ```sh @@ -71,6 +76,14 @@ curl -sL https://git.io/AirPassengers \ lineplot

+```sh +# For offline users +python -c ' +from math import sin, pi +data = "\n".join(f"{i*pi/50}\t{sin(i*pi/50)}" for i in range(101)) +print(data)' | uplot line +``` + ### scatter ```sh @@ -83,6 +96,12 @@ curl -sL https://git.io/IRIStsv \ scatter

+ +```sh +# For offline users +cat test/fixtures/iris.csv | cut -f1-4 -d, | uplot scatter -H -d, -t IRIS +``` + ### density ```sh @@ -95,6 +114,11 @@ curl -sL https://git.io/IRIStsv \ density

+```sh +# For offline users +cat test/fixtures/iris.csv | cut -f1-4 -d, | uplot density -H -d, -t IRIS +``` + ### boxplot ```sh @@ -107,8 +131,21 @@ curl -sL https://git.io/IRIStsv \ boxplot

+```sh +# For offline users +cat test/fixtures/iris.csv | cut -f1-4 -d, | uplot boxplot -H -d, -t IRIS +``` + ### count +Count processes by user ID. + +```sh +ps -aux | awk '{print $1}' | uplot count +``` + +YouPlot counts the number of chromosomes where genes are located. + ```sh cat gencode.v35.annotation.gff3 \ | grep -v '#' | grep 'gene' | cut -f1 \ @@ -119,7 +156,6 @@ cat gencode.v35.annotation.gff3 \ count

-In this example, YouPlot counts the number of chromosomes where genes are located. * [GENCODE - Human Release](https://www.gencodegenes.org/human/) Note: `count` is not very fast because it runs in a Ruby script.