User Tools

Site Tools


gnuplot

GnuPlot 6.0

GnuPlot 6.0 adds set term block to use Unicode block or Braille characters for your dumb terminals that support them.

These two plots are of AirPassengers.csv, the top using Braille, the bottom using term “dumb”. The Braille is so much better.

Instructions for compiling

The GnuPlot mirror at GitHub is a little behind the SourceForge one. You'd want at least tag 6.0.0. You can click “Download Snapshot” directly from there. Then unzip it and go into the directly, and make sure to configure with flag –with-bitmap-terminals.

./prepare
./configure --with-bitmap-terminals
make
sudo make install

Instructions for WSL

./prepare
./configure --with-bitmap-terminals --with-qt=no
make
sudo make install

If prepare complains that aclocal is not found, you also need…

sudo apt-get install automake
# sudo apt-get install pkg-config (Maybe this was only for QT?)

Instructions for macOS

Inspired from this StackOverflow answer. I gave up on getting QT working.

brew install readline
brew install pkg-config
# ... Get the sources per instructions above ...
./prepare
./configure --disable-silent-rules --prefix=/opt/homebrew/opt/gnuplot --with-readline=/opt/homebrew/opt/readline --with-cairo --with-qt=no --with-x --with-bitmap-terminals
make
sudo make install
gnuplot.txt · Last modified: 2024/05/08 10:17 by dblume