[changeset-v2] clarification to pcolor doc-string

Jaroslav Hajek highegg at gmail.com
Wed Sep 24 01:55:44 CDT 2008


On Tue, Sep 23, 2008 at 5:33 PM, John W. Eaton <jwe at bevo.che.wisc.edu> wrote:
> On 23-Sep-2008, Ben Abbott wrote:
>
> | On Tuesday, September 23, 2008, at 10:06AM, "Francesco Potorti`" <Potorti at isti.cnr.it> wrote:
> | >>>>+## @code{shading} modifies an attribute determining the manner by which the
> | >>>>+## face color of each cell is interpolated from the values of @var{c},
> | >>>>+## and the visibility of the cells' edges. By default the attribute is
> | >>>>+## "flat", which renders a single color for each cell's face with the edge
> | >>>>+## visible.
> | >>>
> | >>>The text is correct, apart from the fact that this is not the "flat"
> | >>>attribute, but "interp" or "faceted" (I can not tell which).
> | >>
> | >>The code for pcolor.m appears to be setting each patch to "flat"
> | >>     set (tmp, "facecolor", "flat");
> | >>Why is it you think that is not the case?
> | >
> | >This is what I observe with Octave 3.0.1 and gnuplot 4.2.3 on Debian:
> | >
> | >## produce a plot with 16 (4x4) squares
> | >octave> pcolor(magic(5))     # edges are visible (black lines)
> | >octave> shading("flat")              # edges become invisible
> | >octave> shading('interp')    # no change
> | >octave> shading('faceted')   # edges become visible again
> | >
> | >So apparently the default is "faceted".  I cannot find this as a
> | >property of the plot though, so I can only deduce that by looking at the
> | >plot.
> |
> | Ok, I made the change.
>
> I applied this changeset.
>

I transplanted it to 3.0.x branch

> Thanks,
>
> jwe
> _______________________________________________
> Bug-octave mailing list
> Bug-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave
>



-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


More information about the Bug-octave mailing list