From: Petra on
Hi all,
I just want to change the layout i a legend. All I want is to create a circle instead of the rectangle in the legend.
The blue, green and red symbols should be changed in circles in a pie plot like:
figure(1)
x=[3 5 8];
pie(x)
legend = legend('show');

Thanks
From: Branko on
"Petra " <e.petra(a)gmx.de> wrote in message <hf88n8$1lm$1(a)fred.mathworks.com>...
> Hi all,
> I just want to change the layout i a legend. All I want is to create a circle instead of the rectangle in the legend.
> The blue, green and red symbols should be changed in circles in a pie plot like:
> figure(1)
> x=[3 5 8];
> pie(x)
> legend = legend('show');
>
> Thanks

There are few issues here:
1. legend = legend('show') - Will this work if you run it? NO, your variable has same name as function (in this case legend) - rename it.
2. Why do you want to change layout? Do you think is this possible? Look:
doc legend

Branko

From: Petra on
Hi,
o.K. it was my mistake. change it to:
legend1 = legend('show');

My Problem is only a design problem. Circles would look better.
I can not find anything in the doc an the get(legend) to change the symbol.