MATLAB: How changing the loglog scale x and y axis loglog I need to represent numbers from 0.5 to 50 (0.5 5 50) instead of 1 10 100(standard log log scale) is it possible? how can i do? Best Answer x = sort( rand(1,40)*49.5 + 0.5 );y = x.*abs(sin(x));loglog(x,y)xlim([0.5 50])ylim([0.5 50])nticks = 5;tickpos = round( logspace(log10(0.5),log10(50), nticks) );set(gca, 'XTick', tickpos, 'YTick', tickpos) Related SolutionsMATLAB: Deletting X and Y axes ticks set(gca,'xtick',[]) set(gca,'ytick',[]) MATLAB: Subplot change size of xtick ytick set(gca, 'XTick', 0.5:0.1:1, 'YTick', 0:0.2:1);set(gca, 'FontSize', 18)axis(gca,'square');legend('3DOP', 'MCG-D', 'MCG', 'EB', 'SS', 'BING');xlabel('Intersection Over Union','Fontsize',12);ylabel('Recall','Fontsize',12); Related QuestionSpectrogram x axis logarithmicChange the axis tickHow to center axis labels in pcolor graphSeting ticks on axisPlot a graph with x-axis on top and y-axis on the left sideHow to plot log-scale with number
Best Answer