pie colors
David Bateman
David.Bateman at motorola.com
Fri Jun 27 02:59:45 CDT 2008
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 David.Bateman at motorola.com
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
More information about the Help-octave
mailing list