How to plot this kind of figures?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello, I'm trying to plot figures like this:
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
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.
0 comentarios
Respuestas (1)
Honglei Chen
el 13 de Mayo de 2013
Here is an example
plot((1:10)+randn(1,10),'b*');
hold on;
plot(1:10,'b-');
legend(' ','A');
0 comentarios
Ver también
Categorías
Más información sobre Legend en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!