On 07.12.2012 22:34,
al-...@xs4all.nl wrote:
> When plotting 3d points the plot is centered such that the bottom of
> the plot is in the center of the graph.
Actually, that only happens with 'set view equal'. It's a side effect
of conflicting goals. In a nutshell, the thing that's supposed to
rotate keeps changing shape while rotating. That means there is not
really any center of rotation --- because the behaviour in this case is
not actually a rotation.
> By adding the following line of code to the do_3dplot function in
> graph3d.c the plot center becomes centered in the window :
> zcenter3d = -(ceiling_z - floor_z) / 2.0 * zscale3d + 1;
> Should I send this as a patch via the sourceforge page?
Yes, please. An actual patch (i.e. the product of a diff -c original
changed) would be good.