How to plot this kind of figures?
古いコメントを表示
Hello, I'm trying to plot figures like this:

Can you, please, help me out with the code to plot figure which doesn't passe through all the points. How can I also obtain this kind of legend? Thank you very much.
回答 (1 件)
Honglei Chen
2013 年 5 月 13 日
Here is an example
plot((1:10)+randn(1,10),'b*');
hold on;
plot(1:10,'b-');
legend(' ','A');
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!