Skip to content

Instantly share code, notes, and snippets.

@keynslug
Created December 16, 2021 10:03
Show Gist options
  • Save keynslug/f52bc9374581d9a6987b9252642493f4 to your computer and use it in GitHub Desktop.
Save keynslug/f52bc9374581d9a6987b9252642493f4 to your computer and use it in GitHub Desktop.
kitty + gnuplot = πŸ’£
#!/bin/env fish
function iplot
echo "
set terminal pngcairo enhanced font 'sans-serif,16'
set autoscale
set samples 1000
set output '|kitty +kitten icat --stdin yes'
set object 1 rectangle from screen 0,0 to screen 1,1 fillcolor rgb\"#fdf6e3\" behind
plot $argv
set output '/dev/null'
" | gnuplot
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment