Add Percent ("%") Symbol to Axes Tick Labels

Add a percent ("%") symbol to the x, y, or both axes
465 Downloads
Updated 25 Sep 2012

View License

This function modifies the x, y, or both axes tick labels to include a percent ("%") symbol after each label. Although the procedure is trivial, this function will save the time of having to remember how to append the "%" symbol onto axes labels.

The function does not adjust the spacing or range of the current labels automatically. Therefore, you should adjust the axes range ('xtick' property) before using gcapercent.

Cite As

Kristofer Kusano (2024). Add Percent ("%") Symbol to Axes Tick Labels (https://www.mathworks.com/matlabcentral/fileexchange/38340-add-percent-symbol-to-axes-tick-labels), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0