MATLAB: Bar plot set ylimit for the axis bar plotlimitsylim;ylimit Hello, is there a option to set the ylimit for the axis. I´ve tried with ylim=([0.11,0.125]); but it doesn´t work. Thanks and best regards. Best Answer Try this instead: ylim([0.11,0.125])That should work. Related SolutionsMATLAB: Deletting X and Y axes ticks set(gca,'xtick',[]) set(gca,'ytick',[]) MATLAB: Bar Chart Log Axis If you mean to still bin on linear range want to display x on a log scale, just usehBar=bar(xb,counts,'r','EdgeColor','r');set(gca,'XScale','log')then you can fixup range as want to make it look pretty if the autoscaling doesn't suit. Related QuestionProblems with the limits of axesScale bar without axisTurn off the dispaly of the values on YaxisIs there a way to get the values associated with the *minor* tick marks
Best Answer