Pie chart help grouping
9 views (last 30 days)
Show older comments
Hi,
I want to make a pie chart group by one of my variable on a dataframe.
In python we can do :
my_data.groupby('Var1').sum().plot(kind='pie',y='Var2', autopct='%1.1f%%')
And I will obtain a pie chart of 'Var1' depending on 'Var2'
But I don't know how to do it in matlab.
How can I do this ?
Thank you very much for any help.
0 Comments
Answers (0)
See Also
Categories
Find more on Pie Charts in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!