MATLAB: How to start xlim from 2 rather than 1 axisgraphMATLAB a = rand(1,33);bar(a(2:33)) Now i need xlimit for each lines and it should start from 2 and continue with 3 4 5 6…..33 Best Answer What do you mean by continue with 3 4 5 6 ... 333?Perhaps something like this?set(gca,'xlim',[2 33]); Related SolutionsMATLAB: Xlim command for figures cleanfigure.m file from matlab2tikz can take care of this issue.http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz MATLAB: Changing xlim with plotyy xlim(AX(2), [min max]) Related QuestionSelect xlim max-valueXlim and ylim for contourfProblem with xlim when having dateSet limits using xlim for stringsSet same xlim for all subplots
Best Answer