[Pkg-octave-devel] Bug#492078: octave3.0: cannot change axes location in pcolor

Francesco Potorti` Potorti at isti.cnr.it
Thu Oct 9 11:57:17 UTC 2008


Ok, here are two trimmed-down gnuplot sources that show the problem.  I
obtained them using the debug file option of drawnow and removing the
useless lines by trial and error, so I don't really know what I did.  In
fact, since I know too little about gnuplot, I am no even able to
explain what's wrong, that is, why one should expect a different
behaviour.

The 1.gnuplot source gives a png image with no x axis labels (they
should be on the top, but they are not).  The 2.gnuplot source gives a
png image with the x axis labels on the bottom, as expected.  Probably
only the first script is needed to demonstrate the issue, but I am not
sure.

===File ~/math/workarea/1.gnuplot===========================
set terminal png enhanced;
set output "1.png";

set grid nox2tics;
set x2tics border in textcolor rgb "#000000";
unset xtics;
set view map;
splot "-" using ($1):($2):($3):($4) title "" with pm3d linestyle 1 \
;
1 3 0 5
1 4 0 7

2 3 0 6
2 4 0 8

e
============================================================

===File ~/math/workarea/2.gnuplot===========================
set terminal png enhanced;
set output "2.png";

set grid noxtics;
set xtics border in textcolor rgb "#000000";
unset x2tics;
set view map;
splot "-" using ($1):($2):($3):($4) title "" with pm3d linestyle 1 \
;
1 3 0 5
1 4 0 7

2 3 0 6
2 4 0 8

e
============================================================





More information about the Pkg-octave-devel mailing list