is there anyway to put the main X and Y axis on a graph.....
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
I had to make graphs for a math project adn i know how to graph the equations and stuff but is there a way to put the main X and Y axis on the graph. through the orign so i can tell exactly where the zeros are.
Respuestas (1)
Andrew Newell
el 17 de Feb. de 2011
There is a really nice function called axescenter in the File Exchange. EDIT: Click on the link and download it.
I'll let you figure out how to plot x^2 for x between -1 and 1. Then do the following:
axis([-1 1 -1 1])
axescenter
1 comentario
Juan
el 17 de Feb. de 2011
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!