octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch] Re: Bug in octave/gnuplot surface code?


From: John W. Eaton
Subject: [Patch] Re: Bug in octave/gnuplot surface code?
Date: Mon, 26 Nov 2007 11:18:16 -0500

On 20-Nov-2007, David Bateman wrote:

| David Bateman wrote:
| > Kai,
| >
| > The sphere function from JHandles is entirely independent of JHandles
| > itself as as a core function should probably migrate to Octave. However,
| > I tried it out and got some very strange rendering errors with the
| > gnuplot x11 terminal, that I believe are an issue in gnuplot, though it
| > might be sometime in your recently introduced "surface" code.. Could you
| > try the attached function, just typing "sphere()" to get a default
| > surface plot. In particular the rendering errors are made very obvious
| > if you rotate the sphere with the mouse..
| >
| > If this is a bug either in Octave or gnuplot we are likely to see other
| > issues with surface plots..
| >
| > D.
| >
| >   
| Ok, I figured it out.. In the "set pm3d" command we need the
| "depthorder" argument to sort the surface patches by their depth when
| they are rendered. However, this option doesn't exist in gnuplot 4.0,
| and so this is another case where gnuplot 4.0 breaks things..
| 
| Patch attached.

| 2007-11-20  David Bateman  <address@hidden>
| 
|       * plot/__go_draw_axes__.m: Add depthorder flag to "set pm3d" to
|       sort surface patches by their depth and not the order they are
|       rendered in.

Please apply this patch.

Thanks,

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]