how to connect points where the interval has no values?
2 views (last 30 days)
Show older comments
Dear Sir,
May I know how to connect points together where the interval between any two points have no values?
ie my data set: test1 =
1 2
2
3
4 4
my program: plot(test1(:,1), test1(:,2))
the results: only points are plotted but they are not joined. I tried interpolation, but cant because the interval is NaN. How do we join the points to form continuous line?
thanks for your kind help.
0 Comments
Answers (2)
Matt Fig
on 3 Nov 2012
Is test a cell array? What you show is not possible for a regular array. Please elaborate.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!