MATLAB: X-axis and y- axis problem axiscurve fittingmathematics this is the graph i got for this function and i need the graph from -8 to 10 for x and for y from -12 to 15 ,wat should i do? f(x, y) = x^3+y^3-6*x*y; figure(2) ezplot(f) grid on Best Answer doc xlimdoc ylimxlim( hAxes, [-8 10] )etc, for an axes handle hAxes. Or justxlim( [-8 10] )if you want to be sloppy. Related SolutionsMATLAB: Deletting X and Y axes ticks set(gca,'xtick',[]) set(gca,'ytick',[]) MATLAB: I have a 2D graph both x and y axis; however the x and y are in inches and i want to convert them into centimeter Use the get and set functions to adjust the tick labels:xt = get(gca, 'XTick');set(gca, 'XTick', xt, 'XTickLabel',xt*2.54)yt = get(gca, 'YTick');set(gca, 'YTick', yt, 'YTickLabel',yt*2.54)NOTE: I tested this on another plot. It works. Related QuestionWhat is the code for axis the label for x-limit and y- limit for imagesc function in matlabHow to remove the tic labels but not the marksReverse y axis orderAdjusting the x,y axes ratios in plot (2d)
Best Answer