FLIPXYVIEW (v2.0, mar 2010)
FLIPXYVIEW sets the view of the current 2D axes in such a way that the x and y axis interchange positions. The current horizontal axis will become the vertical axis, and vice versa.
FLIPXYVIEW (AX) rotates the axes specified by the handle AX.
Note that this function only changes the view and not the x and y values of the plotted points. Applying this function twice will undo the flip.
Example 1: See screenshot
Example 2: Create a errorbar plot, with horizontal error bars
y = 1:5 ; x = polyval([2 3 4],y) ;
xerr = 5*rand(size(x)) ; % Errors in X
subplot(2,2,3) ; errorbar(y,x,xerr,'bo') ;
xlabel('Y') ; ylabel('X') ; % !! note the names
flipxyview
Citation pour cette source
Jos (10584) (2024). FLIPXYVIEW (v2.0, mar 2010) (https://www.mathworks.com/matlabcentral/fileexchange/26983-flipxyview-v2-0-mar-2010), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
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.0.0.0 |