title: Set x-axis to non-monotonic values and avoid scaling
body: <p>I use matlab to plot a graph where instead of having x-axis increase monotonically, I have my own values. eg 5 14 8 9 12 7 etc.I use <code>set (gca,'XTickLabel',num2str(mydata))</code> which generally works. However, when mydata is more than four or five digits, Matlab scales the graph and thus x-axis values no longer correspond to their intended points.  Any ideas on how to prevent this scaling? To clarify, when I make the figure larger, it shows the plot as it should. </p>