[Pkg-octave-devel] Bug#492078: octave3.0: cannot change axes location in pcolor
Thomas Weber
thomas.weber.mail at gmail.com
Sat Mar 27 12:03:41 UTC 2010
On Thu, Oct 09, 2008 at 01:57:17PM +0200, Francesco Potorti` wrote:
> 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
> ============================================================
I've finally found some time to look at this stuff. It seems that splot
simply isn't supposed to have a second x or y-axis:
http://thread.gmane.org/gmane.comp.graphics.gnuplot.user/2920
'In short words: x2tics are only available for 2D-Plots.'
Thomas
More information about the Pkg-octave-devel
mailing list