Custom and centered axes for 2D plot
Versione 1.1.0.0 (1,58 KB) da
Alexander Brodsky
It is way to place axes in eny point you want. Makes plot more readable and presented.
In the internet I found this files for this purpose :
centaxes.m , centeraxes.m
I read their code and made my version.
example of using my function:
x=[-2*pi:0.1:2*pi];
plot(x,cos(x));
newaxes
OR
x=[-2*pi:0.1:2*pi];
plot(x,cos(x));
newaxes(1,-0.5)
Cita come
Alexander Brodsky (2025). Custom and centered axes for 2D plot (https://it.mathworks.com/matlabcentral/fileexchange/22715-custom-and-centered-axes-for-2d-plot), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R13
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Graphics > 2-D and 3-D Plots >
Scopri di più su 2-D and 3-D Plots in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.