Choose boxplots (columns) to show in the matrix

I read the boxplot documentation.

But i don't understand how display some columns in my matrix (not all just a few).

I tried this:

%data is a matrix with 5 columns
%I want to display the second and third column only

I know that is a simple problem but i find nothing in google or matlab documentation.


To display only a few columns, just use indexing into the matrix. For example, to display only columns 2 and 3:

boxplot(data(:,[2 3]))

Need Your Help

Find and replace emails and phone numbers in PHP

php email hide

I was hoping for a little help on this, as it's confusing me a little... I run a website that allows users to send messages back and forth, but on the inbox i need to hide both emails and phone num...

How to downcast an object that can be of multiple types?

ios swift casting anyobject

Apple gives us an example of downcasting an object of the same type as such: