Skip to content

Instantly share code, notes, and snippets.

@marcomalva
Created January 24, 2023 22:53
Show Gist options
  • Save marcomalva/ba34661e43fed88fd809a1fab58c48ef to your computer and use it in GitHub Desktop.
Save marcomalva/ba34661e43fed88fd809a1fab58c48ef to your computer and use it in GitHub Desktop.
[Gnuplot Multiplot/Pane]Plot Charts in Panes #gnulot
# Source: http://www.gnuplotting.org/tag/multiplot/
### Start multiplot (2x2 layout)
set multiplot layout 2,2 rowsfirst
# --- GRAPH a
set label 1 'a' at graph 0.92,0.9 font ',8'
plot f(x) with lines ls 1
# --- GRAPH b
set label 1 'b' at graph 0.92,0.9 font ',8'
plot g(x) with lines ls 1
# --- GRAPH c
set label 1 'c' at graph 0.92,0.9 font ',8'
plot h(x) with lines ls 1
# --- GRAPH d
set label 1 'd' at graph 0.92,0.9 font ',8'
plot k(x) with lines ls 1
unset multiplot
### End multiplot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment