フィルターのクリア

Pareto chart in Matlab

8 ビュー (過去 30 日間)
Kaushal Kishore
Kaushal Kishore 2018 年 9 月 28 日
コメント済み: Steven Lord 2018 年 9 月 29 日
Hi i have a 5D data set that i have attached. I want to develop the Pareto chart. I have used pareto() function but it gives error "must be a vector". Also all the attributes in the data set contains same number of counts. Can someone help me out please. Its very Urgent. I have been stuck with this for the last five days but was not able to get Pareto chart. Thank you
  1 件のコメント
Rik
Rik 2018 年 9 月 28 日
This is almost a duplicate of your previous questions. The problem remains the same: a Pareto chart can only be made from 1-dimensional data. So you will have to figure out a way to convert your data to 1D, or split it up into multiple charts. And please stop posting new questions that are very similar to previous ones. That splits up the conversation and increases confusion.

サインインしてコメントする。

回答 (1 件)

Steven Lord
Steven Lord 2018 年 9 月 28 日
Do you want to display the values in the 5-dimensional array as a series of bars drawn in descending order? If so, reshape your array into a vector.
A = rand(2, 3, 4, 5, 6);
pareto(reshape(A, 1, []));
If that's not what you want to do, can you link to a picture of what you want the Pareto chart of your 5-dimensional data set to look like? It doesn't have to be a chart of your exact data, but I want to get a sense of how want your 5-D data to be represented.
  2 件のコメント
Kaushal Kishore
Kaushal Kishore 2018 年 9 月 28 日
Hi i want my chart to look like the one i have attached
Steven Lord
Steven Lord 2018 年 9 月 29 日
So use the reshape approach.

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by