MATLAB: How to set plot axes figure (1)plot(A(512,:))hold onplot(B(512,:),'r') How do I specify the axes scale for plots? E.g. Y axes from 0 to 80000; and X axes from 0 to 1100 Best Answer axis([0 1100 0 80000]) Related SolutionsMATLAB: Deletting X and Y axes ticks set(gca,'xtick',[]) set(gca,'ytick',[]) MATLAB: How to label x tick at every 2 and y tick at 0.2 Hey, try this:Ax = gca;set(Ax.XAxis, 'TickValues', 0:10:100, 'MinorTick', 'on', 'MinorTickValues', 0:2:100);set(Ax.YAxis, 'TickValues', -5:2, 'MinorTick', 'on', 'MinorTickValues', -5:0.2:2); Related QuestionImproving readability of Matlab graphPlot: x axis and y axis values with commas as 1000 separatorsSpectrogram x axis logarithmicHow to remove the tic labels but not the marksHow to scale the Tick Label by a numberPlot with multiple x-axes – same scaling
Best Answer