matlab - Choose boxplots (columns) to show in the matrix -
i read boxplot documentation.
but don't understand how display columns in matrix (not few).
i tried this:
%data matrix 5 columns %i want display second , third column boxplot(data,{2,3})
i know simple problem find nothing in google or matlab documentation.
to display few columns, use indexing matrix. example, display columns 2
, 3
:
boxplot(data(:,[2 3]))
Comments
Post a Comment