Plot multiple values according to their percentage
1 次查看(过去 30 天)
显示 更早的评论
hello
I have an array with 1000 values which contain 30 categories of values. i want to plot them according to their percentage.
Below i add a picture as sample picture. I want like this. here data ranges from -2 to 2 and values 0 is about 58%. I want to calculate this way.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/207265/image.png)
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!