dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit bed671c837c1e9b0eaf481da1b2d9eacc53424a7
parent 59253fc7597e15b5c2ec1244fbd3bd2dcb49d2b7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  2 Dec 2020 16:42:45 +0100

.profile: add function and alias for visualizing netcdf matrices

Diffstat:
M.profile | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/.profile b/.profile @@ -117,6 +117,11 @@ alias date-alaska='TZ=US/Alaska date' alias date-uk='TZ=Europe/London date' alias date-israel='TZ=Israel date' +alias gnuplotmatrix='gnuplot -e "set terminal pdf; plot \"-\" matrix w image"' +ncplot() { + ncdump -l 100000 -v "$1" "$2" | ncdump2tsv | gnuplotmatrix +} + hurlo() { if [ "$#" -lt 1 ]; then cat