Reputation: 11919
I'm having a hard time trying to figure out how to draw the grid lines behind the rectangles in Gnuplot. Does anyone know how to achieve this? Here is the code I've tried so far, with an image for quick view of the result:
set nokey
set grid
set size ratio -1
set xrange[0:10]
set yrange[0:10]
set style fill transparent solid 0.5
set xtics 1
set ytics 1
set obj 1 rect from 0,0 to 3,2
set obj 2 rect from 0,0 to 2,3
plot 0
Upvotes: 0
Views: 1056
Reputation: 13087
perhaps this might help:
set obj 1 rect from 0,0 to 3,2 fillstyle empty
Upvotes: 1