According to the docs, a multiplot with a layout can have a plot with its own custom origin which overrides its layout location: http://gnuplot.sourceforge.net/docs_4.2/node203.html
I am trying to do this with the following example code; however, I cannot get the third plot to align in the middle of the second row.
set multiplot layout 2,2 rowsfirst margins 0.1,0.93,0.2,0.93 spacing 0.1,0.1
plot sin(x)
plot cos(x)
plot tan(x)
How do I make tan(x)
appear in the middle of the second row, instead of in the first cell of the second row?
I do understand that I can simply turn off the layout and manually set the size / origin of each plot to get what I want; however, I am looking for a solution that allows me to work the layout specification, as I am working with a margin as well that I'd rather not define with different code unless it is absolutely necessary to get the effect I am looking for.
set origin 0.25,0
plot tan(x)
? How should the layout look like? Positions, margins, sizes, number of plots, ...? – theozhmargins 0.1,0.93,0.2,0.93
is overriding theset origin 0.25,0
. Then I don't know... probably back to manually setting sizes and origins? – theozh