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.

Réponses (1)

Honglei Chen
Honglei Chen le 13 Mai 2013

0 votes

Here is an example
plot((1:10)+randn(1,10),'b*');
hold on;
plot(1:10,'b-');
legend(' ','A');

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Tags

Question posée :

le 13 Mai 2013

Community Treasure Hunt

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

Start Hunting!

Translated by