Plot multiple values according to their percentage
1 view (last 30 days)
Show older comments
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)
Answers (0)
See Also
Categories
Find more on Line Plots 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!