ticklabelunit(axes, vaxis, units, varargin)
This function is used add units to Axis TickLabel. The units is written in LaTeX format.
A typical application of this is having the dollar sign in front of horizontal axis of a bar plot or adding the degree symbol for angles or temperature values.
TickLabelUnit(axes, vaxis, unit, unitspositions)
Developed and tested on R2016b. The author does not guarantee it works in other versions of MATLAB.
Cita come
Chibuzo Nnonyelu (2025). ticklabelunit(axes, vaxis, units, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/61692-ticklabelunit-axes-vaxis-units-varargin), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Limits, Ticks, and Grids > Grid Lines, Tick Values, and Labels >
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.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 | Used lowercase letters throughout the function name, and added author's info in the documentation. |