Code covered by the BSD License  

Highlights from
numeric TickLabels formater

Be the first to rate this file! 25 Downloads (last 30 days) File Size: 3.52 KB File ID: #42420
image thumbnail

numeric TickLabels formater

by Inno SPG

 

28 Jun 2013

This function format numeric tickLabels of a plot to produce pretty label with easy to align plots

| Watch this File

File Information
Description

This function will format numeric TickLabel in a plot and limit their number to produce lovely labels and easy to align plots. To format the numbers, it switches between different options (integer, scientific and floating point representation) to define an appropriate format for each value.
If this function is called with all your plots, you will get figure of the same size that are easy to align in a publication without special resize for each one.

Example, the second plot of the screenshot was produce with prettyTickLabel(gca, 6, [1, 2, 2], [1, 2, 2]);

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Other requirements no special restriction
Tags for This File  
Everyone's Tags
article, format, plot, ticklabel
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us