Custom and centered axes for 2D plot
Version 1.1.0.0 (1,58 ko) par
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)
Citation pour cette source
Alexander Brodsky (2024). Custom and centered axes for 2D plot (https://www.mathworks.com/matlabcentral/fileexchange/22715-custom-and-centered-axes-for-2d-plot), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R13
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots >
En savoir plus sur 2-D and 3-D Plots dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | I changed name from "manual" to "custom" (my poor english) |
||
1.0.0.0 |