Clear Filters
Clear Filters

How can I plot a huge set of data?

2 views (last 30 days)
Hi
I have a 45000 *6 matrix, i want plot the 6th colon in function of the 5th colon. i used the function plot:
plot(TOT(:,5),TOT(:,6),'x');
Doing that, Matlab freeze. I've created a submatrix with the two colons i need and i tried again.
A=[TOT(:,5) TOT(:,6)]
plot(A(:,1),A(:,2),'x')
In the beginning it functions and i generated a report with matlab. But, today i want run my code again, it freezes in the plot line .
Does any one have an idea what can I do?
Thanks
  4 Comments
Walter Roberson
Walter Roberson on 1 Nov 2013
Binning or sub-sampling should be fine for characterization purposes.
Haithem Bouziri
Haithem Bouziri on 1 Nov 2013
can you explain more please

Sign in to comment.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 1 Nov 2013
By creating a new matrix A, you are increasing the memory used by Matlab. you can check the memory used by Matlab. Type
memory
Lookt at
  6 Comments
Haithem Bouziri
Haithem Bouziri on 1 Nov 2013
nothing, no error message. It freezes, busy and couldn't stop

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!