File Exchange

image thumbnail

tlprintf

version 1.0.0.0 (1.01 KB) by Anil
Formatted axis tick labels.

1 Download

Updated 25 Apr 2002

No License

Specify formatted axis tick label. Modified version of the function ticks_format created by D. Gilbert.

Cite As

Anil (2021). tlprintf (https://www.mathworks.com/matlabcentral/fileexchange/1633-tlprintf), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Tan Dem

Agree with Peter. It would be great if it there was a way to re-do the labels when the figure wasa resized. Still a great module.

Peter Krug

Addendum to my previous user review posting: Since this application necessarily leaves the XTickLabelMode, etc in 'manual' mode, the tick labels do not behave sensibly if the graph is subsequently resized. For example, if tlprintf.m created X axis labels 0 1 2 3 and the graph is then enlarged so it now has 6 tick marks, the ticks will be labelled 0 1 2 3 0 1 2, which is not useful. Therefore I've downgraded my rating to 3.
Why doesn't Matlab have a tick label format property?

Peter Krug

Perfectly solves a formatting issue for axis labels: How to specify fixed point (integer) tick labels, instead of the default exponential labels for large integers. Thanks!

MATLAB Release Compatibility
Created with R12.1
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!