Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. You can control where data appears in the axes by setting the x-axis, y-axis, and z-axis limits. You also can change where the x -axis and y -axis lines appear (2-D plots only) or reverse the direction of increasing values along each axis.

    • Xlim

      xlim(limits) sets the x-axis limits for the current axes or...

    • Axis

      lim = axis returns the x-axis and y-axis limits for the...

  2. xlim(limits) sets the x-axis limits for the current axes or chart. Specify limits as a two-element vector of the form [xmin xmax], where xmax is greater than xmin.

  3. lim = axis returns the x-axis and y-axis limits for the current axes. For 3-D axes, it also returns the z -axis limits. For polar axes, it returns the theta -axis and r -axis limits.

  4. This example illustrates how to set the x- and y-axis limits to match the actual range of the data, rather than the rounded values of [-2 3] for the x-axis and [-2 4] for the y-axis originally selected by MATLAB. [x,y] = meshgrid([-1.75:.2:3.25]); z = x.*exp(-x.^2-y.^2); surf(x,y,z) xlim([-1.75 3.25]) ylim([-1.75 3.25]) See Also. axis. The axes ...

  5. The commands xlim() and ylim() are used to specify the limits of the x (horizontal) and y (vertical) axes. Each of these functions expects a 1x2 or a 2x1 vector that contains the lower and upper limits respectively. For example in the code above the x limits are specified as. xlim([0, 2*pi]);

  6. This example illustrates how to set the x- and y-axis limits to match the actual range of the data, rather than the rounded values of [-2 3] for the x-axis and [-2 4] for the y-axis originally selected by MATLAB. [x,y] = meshgrid([-1.75:.2:3.25]); z = x.*exp(-x.^2-y.^2); surf(x,y,z) xlim([-1.75 3.25]) ylim([-1.75 3.25]) See Also. axis

  7. 19 paź 2010 · Here's how you can do it for the current axes (i.e. gca): xLimits = get(gca,'XLim'); % Get the range of the x axis. yLimits = get(gca,'YLim'); % Get the range of the y axis. zLimits = get(gca,'ZLim'); % Get the range of the z axis.

  1. Ludzie szukają również