MATLAB: How to get the x axis to start at 0 originxy plot Best Answer xlim([0 RMSV(end)]) Related SolutionsMATLAB: How to scale the Tick Label by a number A=randi(64,64)image(A)xt=arrayfun(@num2str,get(gca,'xtick')*0.05,'un',0)yt=arrayfun(@num2str,get(gca,'ytick')*0.05,'un',0)set(gca,'xticklabel',xt,'yticklabel',yt) MATLAB: Draw points in axes matlab It depends what you mean by "manually". Mouse clicksUse getpts(). figure; axh = axes; [x,y] = getpts(axh); %Click on axis; Enter/Return to finish. plot(axh, x, y, 'kx')Command lineFrom the command line; plot(0.5, 0.2, 'kx') %plots a black x at (0.5, 0.2). Related QuestionForce x axis to start at originHow to make the x and y labels start at the originDeletting X and Y axes ticksHow to shift the y-axis and force it to start at another number rather than 0
Best Answer