pcolor and "interp" [changeset-2]
Ben Abbott
bpabbott at mac.com
Thu Oct 2 14:24:25 CDT 2008
On Thursday, October 02, 2008, at 12:50PM, "John W. Eaton" <jwe at bevo.che.wisc.edu> wrote:
>On 2-Oct-2008, Ben Abbott wrote:
>
>| Trying again. This time with the facecolor bug reported by Michael
>| included.
>
>OK, I thought I had made the change, checked it in, and pushed it, but
>I must have forgotten to push. In any case, your latest changes
>should be in the public archive now.
>
>Now I see that for something like
>
> pcolor (peaks ())
> shading interp
>
>I get an all green plot. I'm using gnuplot 4.2.2. I assumed that it
>would just fail to do the interpolation, but now the plot changes to
>something completely wrong. I'm a bit surprised by that as I thought
>the previous behavior was that "shading interp" simply had no effect.
>
This due to an improper zrange being specified. If you save the gnuplot commands and remove the zrange line it should work properly.
To me honest, I was worried about that, but when I tested it (switching between a standard gnuplot 4.2.3 and one patched for interpolate colors) ... all went well. I doubt the difference is that I'm running 4.2.3. It is more likely I did the testing wrong.
Ben
Ben
More information about the Bug-octave
mailing list