Using the following one-liner:
gnuplot -e 'set terminal png font ",7" size 300,200 ; \
set output "out.png"; \
set tics in; \
set obj 1 rect behind from screen 0,0 to screen 1,1 ; \
set obj 1 fs fc rgb "gray" ; \
plot sin(x)'
I get this output:

What I want is:
... that is, something like this:

(this image was scaled composited in gimp, so ignore the changes in color and apparent resolution)
Any ways to achieve something like this in gnuplot?
you might want to try to tweak this
set lmargin at screen 0
set rmargin at screen 1
set tmargin at screen 1
set bmargin at screen 0
set xtics offset 0, screen 0.1
set ytics offset screen 0.1, 0
plot sin(x)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With