Package: gnuplot Version: 4.0.0-2 Severity: minor Tags: patch "set ztics axis" succeeds, show ztics shows the expected outcome but the z tics still get put on the border. on reading the fine print of "help set xtics" one is told that the axis keyword is a no-op for ztics.
however, there are situations where putting the tics there and nowhere else is a Good Idea, and to add that code is so very trivial that i've just done that in the attached patch. if you do not like this solution, then please make "set ztics axis" fail very loudly! it really doesn't make sense to accept the option, display it when asked to with show but simply ignore it when doing the plot. regards az -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (980, 'testing'), (970, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.14 Locale: LANG=C, LC_CTYPE=de_AT (charmap=ISO-8859-1) Versions of packages gnuplot depends on: ii gnuplot-nox 4.0.0-2 A command-line driven interactive ii gnuplot-x11 4.0.0-2 X11-terminal driver for gnuplot -- debconf information excluded
--- /home/az/graph3d.c 2006-07-18 15:14:35.000000000 +1000 +++ graph3d.c 2006-07-18 15:28:36.000000000 +1000 @@ -2653,6 +2653,14 @@ (void) axis; /* avoid -Wunused warning */ map3d_xyz(zaxis_x, zaxis_y, place, &v1); + + if (Z_AXIS.ticmode & TICS_ON_AXIS + && !X_AXIS.log + && inrange (0.0, X_AXIS.min, X_AXIS.max) + ) + { + map3d_xyz(0.0,zaxis_y, place, &v1); + } if (grid.l_type > L_TYPE_NODRAW) { map3d_xyz(back_x, back_y, place, &v2); map3d_xyz(right_x, right_y, place, &v3);