Clear Filters
Clear Filters

how can i plot a matrix with corresponding feature names

3 views (last 30 days)
I am expecting to plot a matrix (57*32) 57 rows of measurements with 32 features. I have the data in a structure.
how to visualize this type of data effectively.

Accepted Answer

Star Strider
Star Strider on 19 May 2014
Edited: Star Strider on 19 May 2014
For ‘visualize’, I suggest bar3.
  2 Comments
Yuvashree Mani Urmila
Yuvashree Mani Urmila on 20 May 2014
That works. Can you suggest me a way to cluster this data and then plot the clusters. Thank You
Star Strider
Star Strider on 20 May 2014
Great!
I’m not exactly sure what you mean by ‘cluster’. There are the 'grouped' and 'stacked' options, and the bars in the default plot are by the rows and columns in the original matrix. You can change the x and y information plotted on the axis ticks with a few lines of code, and can be the names of the data in the rows or columns, if the data in the rows and columns have names. (They don’t have to be the default row and column numbers.)
There are a number of ‘cluster’ algorithms in the Statistics Toolbox. See the Cluster Analysis section for details.

Sign in to comment.

More Answers (0)

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!