Set Axis With Interval
700 views (last 30 days)
I want to know how can I set the axis using interval, for example:
>> a = rand(10);
>> Min = 2;
>> Max = 4;
>> set(gca,'XLim',[Min:0.15:Max]) -> Doesn't work!!
I know that the correct syntax is "set(gca,'XLim',[Min Max])" but, I want to use interval.