change axis of a plot
Mostrar comentarios más antiguos
does anyone know how to do broken axis* ( 0--//---- ) and also how to obligate matlab automatically to write final x value and final y value in the plots i obtain?
*this plot is simply obtained with xy data obtained in laboratory.
thank you very much
Respuesta aceptada
Más respuestas (1)
Azzi Abdelmalek
el 17 de Nov. de 2012
Editada: Azzi Abdelmalek
el 17 de Nov. de 2012
set(gca,'xtick',linspace(min(x),max(x),7),'ytick',linspace(min(y),max(y),7))
what do you mean by : how to do broken axis
6 comentarios
joo
el 17 de Nov. de 2012
Azzi Abdelmalek
el 17 de Nov. de 2012
try the code, you will understand
joo
el 17 de Nov. de 2012
Azzi Abdelmalek
el 17 de Nov. de 2012
I don't understand what this is used for?
joo
el 17 de Nov. de 2012
Azzi Abdelmalek
el 17 de Nov. de 2012
Editada: Azzi Abdelmalek
el 23 de Nov. de 2012
You can add two line manually with figure editor
Categorías
Más información sobre 2-D and 3-D Plots 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!