From: Kyle on
Hey all,

I have a 600*700 matrix, and I want to plot one of the columns versus the column index (ie, horizontal axis should be the index going from 0-600, and the vertical axis will be the value of that cell) Say I want to plot column 500 of 700. Can someone point me in the right direction?
From: Luca Zanotti Fragonara on
"Kyle " <kbrig035(a)uottawa.ca> wrote in message <hu5pg8$8qu$1(a)fred.mathworks.com>...
> Hey all,
>
> I have a 600*700 matrix, and I want to plot one of the columns versus the column index (ie, horizontal axis should be the index going from 0-600, and the vertical axis will be the value of that cell) Say I want to plot column 500 of 700. Can someone point me in the right direction?


What king of representation would you like to have? If your matrix is a 600x700, and you plot the 1st column, you will have 600 values. How do you want to display them?

If you want to display a matrix, you can use imagesc(yourmatrix) that shows different colours respect to the value of your cell.
From: Kyle on
"Luca Zanotti Fragonara" <Luca_Zanotti(a)libero.it> wrote in message <hu5q6r$qkr$1(a)fred.mathworks.com>...
> "Kyle " <kbrig035(a)uottawa.ca> wrote in message <hu5pg8$8qu$1(a)fred.mathworks.com>...
> > Hey all,
> >
> > I have a 600*700 matrix, and I want to plot one of the columns versus the column index (ie, horizontal axis should be the index going from 0-600, and the vertical axis will be the value of that cell) Say I want to plot column 500 of 700. Can someone point me in the right direction?
>
>
> What king of representation would you like to have? If your matrix is a 600x700, and you plot the 1st column, you will have 600 values. How do you want to display them?
>
> If you want to display a matrix, you can use imagesc(yourmatrix) that shows different colours respect to the value of your cell.


Hello,

I sorted it out. I just wanted to get a linear plot of one column of the data at a time, which I did with

slice = A(:,col)
plot(slice)

thanks :)