Is '.-' no longer a valid line format for plots?
Mostrar comentarios más antiguos
Formerly, the command
>> plot(1:10,'.-')
created a LineStyle with prominent dots as markers, connected by lines. In 2011b (on a Mac), there are no dots. I have to increase the MarkerSize property of the line to get the dots to show.
Bug, or feature? I didn't find mention of this change in the Release Notes.
Respuesta aceptada
Más respuestas (1)
Junaid
el 4 de Dic. de 2011
Dear Sir,
I am not sure for older versions. You still can use this format for line and marker in plots.
plot(1:10,'.-') % is straight line
plot(1:10,'.--')% is ------ kind of line
plot(1:10,'.-.')% is o-.-o, where o is your data point.
I hope, I understood your point well :-)
Categorías
Más información sobre Graphics Performance en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!