is there anyway to put the main X and Y axis on a graph.....
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
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.
Risposte (1)
Andrew Newell
il 17 Feb 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 Commento
Juan
il 17 Feb 2011
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!