From: Petra on 3 Dec 2009 06:51 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 3 Dec 2009 07:42 "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 3 Dec 2009 08:24 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.
|
Pages: 1 Prev: customizing the ert_main() Next: read all .mat files from a directory |