vertical and is numbered from top to bottom. The J- axis is horizontal and is numbered from left to right. Puts Matlab into its default "Cartesian" axes mode. The axis XY coordinate system origin is at the lower left corner. The X-axis is horizontal and is numbered from left to right. The Y-axis is vertical and is numbered from bottom to top. Sets the aspect ratio so that equal tick mark increments on axis equal the X and Y axes are equal in size. This makes a circle look like a circle instead of an ellipse and a square, a square, not a rectangle. The same as axis equal except that the plot box fits tightly axis image around the data. Makes the current axis box square in size. axis square Restores the current axis box to full size and removes any axis normal restrictions on the scaling of the units. This undoes the effects of axis square and axis equal. turns axis labeling, tick marks,grid and background back axis on on. axis off turns off all axis labeling, tick marks, grid and background. Changes the axes handles listed in vector H. ??? axis(H,...) Create axes in arbitrary positions. Opens up an axis at the axes specified location and returns a handle to it. by Axes, itself, creates the default full-window axis and returns a handle to it. rect = [left, bottom, width, height] specifies the location axes('position', and size of the side of the axis box, relative to the rect) corner of the Figure window, in normalized units where (0,0) is the lower-left corner and (1.0,1.0) is the upper-right. makes the axis with handle H current. Execute axes(H) to see a list of axes object properties and their get(H) current values Exercise 5 Lissajous figures are created when two sinusoidal functions are plotted against each other. Let the two sinusoidal functions (called wave functions) be given by equations (2) and (3) , (2) , (3) where = 2 f = 2/T. Changing the values assigned to both the frequencies and f1 f2 and the phases 1 and 2 produces interesting changes to the Lissajous figure. Create two figure windows for the plots Figure X Data Y Data 1: Sinusoidal Functions t
vertical and is numbered from top to bottom. The J- axis is horizontal and is numbered from left to right. axis XY Puts Matlab into its default "Cartesian" axes mode. The coordinate system origin is at the lower left corner. The X-axis is horizontal and is numbered from left to right. The Y-axis is vertical and is numbered from bottom to top. axis equal Sets the aspect ratio so that equal tick mark increments on the X and Y axes are equal in size. This makes a circle look like a circle instead of an ellipse and a square, a square, not a rectangle. axis image The same as axis equal except that the plot box fits tightly around the data. axis square Makes the current axis box square in size. axis normal Restores the current axis box to full size and removes any restrictions on the scaling of the units. This undoes the effects of axis square and axis equal. axis on axis off turns axis labeling, tick marks,grid and background back on. turns off all axis labeling, tick marks, grid and background. axis(H,...) Changes the axes handles listed in vector H. ??? axes axes('position', rect) Create axes in arbitrary positions. Opens up an axis at the specified location and returns a handle to it. Axes, by itself, creates the default full-window axis and returns a handle to it. rect = [left, bottom, width, height] specifies the location and size of the side of the axis box, relative to the corner of the Figure window, in normalized units where (0,0) is the lower-left corner and (1.0,1.0) is the upper-right. axes(H) makes the axis with handle H current. Execute get(H) to see a list of axes object properties and their current values Exercise 5 Lissajous figures are created when two sinusoidal functions are plotted against each other. Let the two sinusoidal functions (called wave functions) be given by equations (2) and (3) , (2) , (3) where = 2 f = 2/T. Changing the values assigned to both the frequencies f1 and f2 and the phases 1 and 2 produces interesting changes to the Lissajous figure. Create two figure windows for the plots Figure X Data Y Data 1: Sinusoidal Functions t