Discussion:
defining colors of the pie plot
(too old to reply)
lars Man
2008-09-07 09:50:18 UTC
Permalink
Hi all,
is it possible to define the colors of a pie plot individually?
for example. I have got pieces of a temperature curve in different pies. In on is the temp. of 5?C about 10% (ranomly red, cause all other temps are lower) in another it is about 50% (and perhaps green). But it is always the same temperature with a different frequency. And what I wonna do is show the piece of the pie with (for example) the temp. of 5?C always and in every pie with the same color (for example blue).

But how can i fix it?


Thanks for help
lars Man
2008-09-17 17:52:03 UTC
Permalink
Nobody knows anything?
Post by lars Man
Hi all,
is it possible to define the colors of a pie plot individually?
for example. I have got pieces of a temperature curve in different pies. In on is the temp. of 5?C about 10% (ranomly red, cause all other temps are lower) in another it is about 50% (and perhaps green). But it is always the same temperature with a different frequency. And what I wonna do is show the piece of the pie with (for example) the temp. of 5?C always and in every pie with the same color (for example blue).
But how can i fix it?
Thanks for help
someone
2008-09-17 18:49:03 UTC
Permalink
Post by lars Man
Hi all,
is it possible to define the colors of a pie plot individually?
for example. I have got pieces of a temperature curve in different pies. In on is the temp. of 5?C about 10% (ranomly red, cause all other temps are lower) in another it is about 50% (and perhaps green). But it is always the same temperature with a different frequency. And what I wonna do is show the piece of the pie with (for example) the temp. of 5?C always and in every pie with the same color (for example blue).
But how can i fix it?
Thanks for help
% pie plot elements are patch objects

% something like:

x = [1 3 0.5 2.5 2];
explode = [0 1 0 0 0];
h = pie(x,explode)

set(h(3),'FaceColor','y')
set(h(1),'FaceColor','c')
set(h(9),'FaceColor','k')
% etc.
a***@gmail.com
2018-01-29 12:12:45 UTC
Permalink
Post by lars Man
Hi all,
is it possible to define the colors of a pie plot individually?
for example. I have got pieces of a temperature curve in different pies. In on is the temp. of 5?C about 10% (ranomly red, cause all other temps are lower) in another it is about 50% (and perhaps green). But it is always the same temperature with a different frequency. And what I wonna do is show the piece of the pie with (for example) the temp. of 5?C always and in every pie with the same color (for example blue).
But how can i fix it?
Thanks for help
Loading...