I just came across “sixel” which allows to show graphics in the terminal (while reading this https://github.com/csdvrx/sixel-gnuplot )
Unfortunately, gnome-terminal does not support this (https://bugzilla.gnome.org/show_bug.cgi?id=729204), but xterm (run as
xterm -ti vt340) does.
In fact it does not take much to use this with julia and PyPlot (or any other plotting package), just the
convert tool from ImageMagic.
I started Julia with
unset DISPLAY (on Linux)
using PyPlot plt.style.use("dark_background") function show() fname = tempname() * ".png"; savefig(fname) run(`convert $fname -geometry 800x480 sixel:-`) return nothing end x = 1:0.1:10; pcolor(sin.(x) * sin.(x)'); show()
Off-topic, but also useful is
lsix: “ls” for images (https://github.com/hackerb9/lsix)