Why is this code giving me an error?
Mostrar comentarios más antiguos
Error using plot
Error in color/linetype argument.
Error in garcia (line 65)
figure(2);hold off;plot(x_plot,m_plot,'1');hold on;
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 24 de Dic. de 2015
0 votos
What is the '1', '2', and '3' for? It needs to be a color, a marker, and a line style, like 'bo-' or 'rd:'. If you want a legend, use legend(). If you want text up there at some specific place, use text().
Categorías
Más información sobre Octave en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!