Here's a sneaky way to have what you want, at least with version 2008b there's the only way.
go to line 91 of the pie.m
replace the line with the code inside=0; by this
global inside
try
inside==0;
catch
inside=0;
end
Save pie.m
Now to try it do this example
clf
global inside
inside=0;
x = [1 3 0.5 2.5 2];
explode = [0 1 0 0 0];
pie(x,explode);
hold on
inside=1;
labels={'one','two','three','four','five'};
pie(x,explode,labels)
colormap jet
0 Comments
Sign in to comment.