MATLAB: How to increase xticks and labels axisdata importdata preprocessingdata scienceMATLAB How to increase x-ticks and x-ticks labels here? Best Answer You can specify the xticks manually. For example:ax = gca;dist = days(10);ax.XTick = date(1):dist:date(end)You may want to change the format from MMM to something else though. For example:ax.XAxis.TickLabelFormat = 'MMM dd' Related SolutionsMATLAB: Add more tick labels to a datenum graph Adjust xtick axis property. This method below specifies 6 ticks that start and end at your existing tick boundsax = gca(); ax.XTick = linspace(ax.XTick(1),ax.XTick(end),6); %---------------------------------------------^ 6 ticks MATLAB: XTickLabel MY_XTICKLABELS by Pekka Kumpulainen Related QuestionDeletting X and Y axes ticksUsing XTickFontsize and properties of Xticklabels using figure handlesHow to remove the tic labels but not the marksXTick Visibility off with XTickLabel showing
Best Answer