help-octave
[Top][All Lists]
Advanced

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

Re: pie colors


From: David Bateman
Subject: Re: pie colors
Date: Fri, 27 Jun 2008 09:59:45 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080306)

Evan wrote:
> Hi, can I change the slice colors of a pie chart which is produced by "pie"?
>   
The pie chart is just a set of patches.. Try

h = pie (....)

and then get(h(1)) and examine the handle of one of the patches. The
facecolor of the patches is set to "flat" and so the color is changed by
the colormap. So type something like "colormap summer" will change the
colormap of the patches. Alternatively set the patches to a fixed color
individually with something like set(h(1),'facecolor','red')

Regards
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



reply via email to

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