I was trying to stack with multiplot a 3D map with a normal 2D plot with gnuplot 4.0 patchlevel 0 (debian etch).
Although I manage to stack the two by
set multiplot
set pm3d map
set view map
splot "blah" u 1:2:3 w pm3d
reset
plot "file" u 1:2 w lines
unset multiplot
the area that the two graphs occupy is different. Moreover the origin and the size are different. I tried, without success to force the margins, origin and size (it works perfectly to stack two 2D plots).
Apparently the dimensions of a 3D map are somewhat different from the 2D analogue.
I found a sort of workaround to this by stacking two 3D maps: just substituting the "plot" line with
splot "file" u 1:2:(0) w lines
But in this way I cannot use x2 and y2 axis to show the tics and labels for the second graph; so it a partially working trick.
Thanks for any help
Edoardo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I was trying to stack with multiplot a 3D map with a normal 2D plot with gnuplot 4.0 patchlevel 0 (debian etch).
Although I manage to stack the two by
set multiplot
set pm3d map
set view map
splot "blah" u 1:2:3 w pm3d
reset
plot "file" u 1:2 w lines
unset multiplot
the area that the two graphs occupy is different. Moreover the origin and the size are different. I tried, without success to force the margins, origin and size (it works perfectly to stack two 2D plots).
Apparently the dimensions of a 3D map are somewhat different from the 2D analogue.
I found a sort of workaround to this by stacking two 3D maps: just substituting the "plot" line with
splot "file" u 1:2:(0) w lines
But in this way I cannot use x2 and y2 axis to show the tics and labels for the second graph; so it a partially working trick.
Thanks for any help
Edoardo