What does 'y:' stand for in plot command?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Amit Singh
el 6 de Jun. de 2018
Comentada: Stephen23
el 6 de Jun. de 2018
I need to debug a piece of code and I can't understand the 'y:' attribute at the end of the line. Can someone point out what it does?
if true
plot(<a 99X1 matrix>,<a 99x1 matrix>,'y:');
end
Respuesta aceptada
Birdman
el 6 de Jun. de 2018
It means a dotted yellow line. For that, you may check the documentation of plot command. That third input argument decides the line style, marker and color:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Line Plots 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!