Documentation by YARD 0.9.28
+Documentation by YARD 0.9.32
Alphabetic Index
@@ -238,9 +238,9 @@
# For offline user: Sorts files in a directory by size and shows a bar graph.
+ls -l | awk '{print $9, $5}' | sort -nk 2 | uplot bar -d ' '
+
+
histogram
echo -e "from numpy import random;" \
"n = random.randn(10000);" \
"print('\\\n'.join(str(i) for i in n))" \
-| python \
+| python3 \
| uplot hist --nbins 20
@@ -117,6 +121,13 @@
# For offline users: Calculates sin values (0-2*pi) and plots a sine wave.
+python3 -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
curl -sL https://git.io/IRIStsv \
@@ -126,6 +137,10 @@
+# For offline users
+cat test/fixtures/iris.csv | cut -f1-4 -d, | uplot scatter -H -d, -t IRIS
+
+
density
curl -sL https://git.io/IRIStsv \
@@ -135,6 +150,10 @@
+# For offline users
+cat test/fixtures/iris.csv | cut -f1-4 -d, | uplot density -H -d, -t IRIS
+
+
boxplot
curl -sL https://git.io/IRIStsv \
@@ -144,16 +163,28 @@
+# For offline users
+cat test/fixtures/iris.csv | cut -f1-4 -d, | uplot boxplot -H -d, -t IRIS
+
+
count
+Count processes by user ID.
+
+ps aux | awk '{print $1}' | uplot count
+
+
+Count the number of chromosomes where genes are located.
+
cat gencode.v35.annotation.gff3 \
| grep -v '#' | grep 'gene' | cut -f1 \
| uplot count -t "The number of human gene annotations per chromosome" -c blue
-
-In this example, YouPlot counts the number of chromosomes where genes are located. * GENCODE - Human Release
+
Note: count
is not very fast because it runs in a Ruby script. This is fine in most cases, as long as the data size is small. If you want to visualize huge data, it is faster to use a combination of common Unix commands as shown below.
@@ -410,9 +441,9 @@ If so, please feel free to contact us.