IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
format_xaxis.m File Reference

Detailed Description

Format x-axis to nice range and reversed.

Definition in file format_xaxis.m.

Go to the source code of this file.

Functions

function format_xaxis (in par)
 

Function Documentation

function format_xaxis ( in  par)
Parameters
parMay be either a vector or an irdata object. If the former, takes the values at the extremities of the vector to use as the x-axis limits; if the latter, takes the x-axis limits from the fea_x property and uses the xlabel property to set the x-label.