octave-maintainers
[Top][All Lists]
Advanced

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

Re: surf.m overwrites "facecolor" property


From: David Bateman
Subject: Re: surf.m overwrites "facecolor" property
Date: Fri, 07 Dec 2007 17:04:52 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Michael Goffioul wrote:
> Hi,
>
> Why does surf.m overwrite "facecolor" property of the generated surface?
> This property should be "flat" by default for surface object. Setting it
> explicitely makes it impossible to call surf like:
>
> surf(peaks, "facecolor", "r");
>
> Michael.
>
>   
I see no reason not to do that as "flat" is already the default for the
surfaces.. However, the gnuplot code doesn't respect facecolors other
than "flat" at the moment. As I noted in

http://www.nabble.com/Re%3A-anything-else-for-2.9.18--p14169305.html

its one of the issues I'm looking at. John please consider the attached
patch..

D.

-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary

*** ./scripts/plot/surf.m.orig3 2007-12-07 17:04:07.713180166 +0100
--- ./scripts/plot/surf.m       2007-12-07 17:01:04.325474414 +0100
***************
*** 39,45 ****
      newplot ();
      tmp = surface (varargin{:});
  
-     set (tmp, "facecolor", "flat");
      if (! ishold ())
        set (h, "view", [-37.5, 30]);
      endif
--- 39,44 ----

reply via email to

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