diff --git a/UnicodePlot.html b/UnicodePlot.html index 805366a..d4ed72c 100644 --- a/UnicodePlot.html +++ b/UnicodePlot.html @@ -6,7 +6,7 @@ Module: UnicodePlot - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -241,9 +241,9 @@ diff --git a/YouPlot.html b/YouPlot.html index b2db138..18c7222 100644 --- a/YouPlot.html +++ b/YouPlot.html @@ -6,7 +6,7 @@ Module: YouPlot - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -296,9 +296,9 @@ diff --git a/YouPlot/Backends.html b/YouPlot/Backends.html index f1f8047..43d2ab4 100644 --- a/YouPlot/Backends.html +++ b/YouPlot/Backends.html @@ -6,7 +6,7 @@ Module: YouPlot::Backends - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -118,9 +118,9 @@ diff --git a/YouPlot/Backends/Processing.html b/YouPlot/Backends/Processing.html index a67fbb8..7d09938 100644 --- a/YouPlot/Backends/Processing.html +++ b/YouPlot/Backends/Processing.html @@ -6,7 +6,7 @@ Module: YouPlot::Backends::Processing - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -208,9 +208,9 @@ diff --git a/YouPlot/Backends/UnicodePlot.html b/YouPlot/Backends/UnicodePlot.html index fcdcea7..334c4b4 100644 --- a/YouPlot/Backends/UnicodePlot.html +++ b/YouPlot/Backends/UnicodePlot.html @@ -6,7 +6,7 @@ Module: YouPlot::Backends::UnicodePlot - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -1070,9 +1070,9 @@ diff --git a/YouPlot/Backends/UnicodePlot/Error.html b/YouPlot/Backends/UnicodePlot/Error.html index 8910d6b..578500a 100644 --- a/YouPlot/Backends/UnicodePlot/Error.html +++ b/YouPlot/Backends/UnicodePlot/Error.html @@ -6,7 +6,7 @@ Exception: YouPlot::Backends::UnicodePlot::Error - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -114,9 +114,9 @@ diff --git a/YouPlot/Command.html b/YouPlot/Command.html index f093c9b..4227ab3 100644 --- a/YouPlot/Command.html +++ b/YouPlot/Command.html @@ -6,7 +6,7 @@ Class: YouPlot::Command - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -767,9 +767,9 @@ diff --git a/YouPlot/DSV.html b/YouPlot/DSV.html index 0fcf64f..272d50f 100644 --- a/YouPlot/DSV.html +++ b/YouPlot/DSV.html @@ -6,7 +6,7 @@ Module: YouPlot::DSV - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -460,9 +460,9 @@ diff --git a/YouPlot/Data.html b/YouPlot/Data.html index 35e330a..41faa91 100644 --- a/YouPlot/Data.html +++ b/YouPlot/Data.html @@ -6,7 +6,7 @@ Class: YouPlot::Data - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -300,9 +300,9 @@ diff --git a/YouPlot/Options.html b/YouPlot/Options.html index 6aee413..aa5693a 100644 --- a/YouPlot/Options.html +++ b/YouPlot/Options.html @@ -6,7 +6,7 @@ Class: YouPlot::Options - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -1103,9 +1103,9 @@ diff --git a/YouPlot/Parameters.html b/YouPlot/Parameters.html index 5abb337..2fabd05 100644 --- a/YouPlot/Parameters.html +++ b/YouPlot/Parameters.html @@ -6,7 +6,7 @@ Class: YouPlot::Parameters - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -1881,9 +1881,9 @@ diff --git a/YouPlot/Parser.html b/YouPlot/Parser.html index 05449f7..55172fd 100644 --- a/YouPlot/Parser.html +++ b/YouPlot/Parser.html @@ -6,7 +6,7 @@ Class: YouPlot::Parser - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -2352,9 +2352,9 @@ diff --git a/YouPlot/Parser/Error.html b/YouPlot/Parser/Error.html index 198d882..3a3a14f 100644 --- a/YouPlot/Parser/Error.html +++ b/YouPlot/Parser/Error.html @@ -6,7 +6,7 @@ Exception: YouPlot::Parser::Error - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -114,9 +114,9 @@ diff --git a/_index.html b/_index.html index f09ffef..7959e16 100644 --- a/_index.html +++ b/_index.html @@ -4,7 +4,7 @@ - Documentation by YARD 0.9.28 + Documentation by YARD 0.9.32 @@ -52,7 +52,7 @@
-

Documentation by YARD 0.9.28

+

Documentation by YARD 0.9.32

Alphabetic Index

@@ -238,9 +238,9 @@
diff --git a/file.README.html b/file.README.html index 5decd6c..b517e74 100644 --- a/file.README.html +++ b/file.README.html @@ -6,7 +6,7 @@ File: README - — Documentation by YARD 0.9.28 + — Documentation by YARD 0.9.32 @@ -97,12 +97,16 @@

barplot

+
# 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 @@

lineplot

+
# 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 @@
 

scatter

+
# 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 @@
 

density

+
# 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 @@
 

boxplot

+
# 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
 

count -

-

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.
diff --git a/frames.html b/frames.html index a65e936..92e3059 100644 --- a/frames.html +++ b/frames.html @@ -2,7 +2,7 @@ - Documentation by YARD 0.9.28 + Documentation by YARD 0.9.32