Shaded Error Bar YY
shadedErrorBaryy is a wrapper for the popular File Exchange function shadedErrorBar, It allows you to put two of these beautiful objects on two y-scales using the plotyy format. This is a bit of a hack and requires shadedErrorBar to already be in your path. The output, ax, is a vector containing the left and right axes handles, which can be used to label the plot, etc.
When generating this figure on macs (and possibly linux) you may experience problems with the left y-axis. This is not an issue with the code but with matlab's renderer. OpenGL with transparency tends to cause this bug. The figure will be correct if you export it using plot2svg
Citation pour cette source
Ben Dichter (2024). Shaded Error Bar YY (https://www.mathworks.com/matlabcentral/fileexchange/42578-shaded-error-bar-yy), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Two y-axis >
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.3.0.0 | bug fix |
||
1.0.0.0 |