I Overview of MatlaB graphics Getting Help To access help for the plot editing mode, select Plot Editing from the figure window Help menu. You can also access help at the command line by typing help plotedit or doc plotedit For information about other graphics features, select Graphics from the figure window help menu 1-12
1 Overview of MATLAB Graphics 1-12 Getting Help To access help for the plot editing mode, select Plot Editing from the figure window Help menu. You can also access help at the command line by typing help plotedit or doc plotedit. For information about other graphics features, select Graphics from the figure window Help menu
Changing Your View of an Axes Changing Your View of an Axes MATLAB lets you change your view of axes by either zooming in for a closer look at a portion of an axes or, for 3-D axes, rotating the axes ·“ Zooming In and Out on an axes” on page1-13 ·“ Rotating3- D Axes" on page1-14 The zoom and rotate 3-d options provides basic view changing capabilities. For more advanced viewing, select the Camera option from the Tools menu. See for more information Note Activating any of the zoom, rotate, or a functions automatically turns off plot editing mode Zooming In and Out on an Axes The zoom in function lets you get a closer view of a portion of an axes. The zoom out function lets you view a larger portion of an axes To zoom in on a portion of axes 1 Activate the zoom function by choosing the Zoom In option on the tools menu or by clicking the Zoom In button in the toolbar. Zoom in 自回舀AA/A月 2 Click on the area of the axes where you want to zoom in, or drag the cursor to draw a box around the area where you want to zoom in MATLAB redraws the axes, zooming in on the area you specified. To further magnify the area, click repeatedly in the axes or draw additional boxes in the axes. To end zoom in mode. click the Zoom In button 1-13
Changing Your View of an Axes 1-13 Changing Your View of an Axes MATLAB lets you change your view of axes by either zooming in for a closer look at a portion of an axes or, for 3-D axes, rotating the axes: • “Zooming In and Out on an Axes” on page 1-13 • “Rotating 3-D Axes” on page 1-14 The zoom and rotate 3-D options provides basic view changing capabilities. For more advanced viewing, select the Camera option from the Tools menu. See for more information. Note Activating any of the zoom, rotate, or camera functions automatically turns off plot editing mode. Zooming In and Out on an Axes The zoom in function lets you get a closer view of a portion of an axes. The zoom out function lets you view a larger portion of an axes. To zoom in on a portion of axes: 1 Activate the zoom function by choosing the Zoom In option on the Tools menu or by clicking the Zoom In button in the toolbar. 2 Click on the area of the axes where you want to zoom in, or drag the cursor to draw a box around the area where you want to zoom in. MATLAB redraws the axes, zooming in on the area you specified. To further magnify the area, click repeatedly in the axes or draw additional boxes in the axes. To end zoom in mode, click the Zoom In button. Zoom in Zoom out
I Overview of MatlaB graphics Note Properties of the axes, such as the tick marks, automatically adjust t the new magnification or orientation. Annotations do not To zoom out from an axes click the zoom out button on the toolbar and then click on an area of the axes where you want to zoom out To end zoom out mode click the Zoom out button The zoom buttons use the camzoom command Rotating 3-D Axes To rotate a 3-D axes 1 Activate the rotate 3-D function by choosing the Rotate 3-D option on the Tools menu or by clicking the rotate 3-d button in the toolbar Rotate 3-D 舀AAx/p Note Activating the rotate 3-D function automatically turns off plot editing 2 Click on the axes and an outline of the figure appears in the axes to help you visual e rotation. Drag the cursor in the direction you want to rotate When you release the mouse button, MATLAB redraws the axes in the new 3 Click the rotate button again to end rotate 3-D mode. The rotate 3-D button uses the rotated command
1 Overview of MATLAB Graphics 1-14 Note Properties of the axes, such as the tick marks, automatically adjust to the new magnification or orientation. Annotations do not. To zoom out from an axes, click the Zoom Out button on the toolbar and then click on an area of the axes where you want to zoom out. To end zoom out mode, click the Zoom Out button. The zoom buttons use the camzoom command. Rotating 3-D Axes To rotate a 3-D axes: 1 Activate the rotate 3-D function by choosing the Rotate 3-D option on the Tools menu or by clicking the Rotate 3-D button in the toolbar. Note Activating the rotate 3-D function automatically turns off plot editing mode. 2 Click on the axes and an outline of the figure appears in the axes to help you visualize the rotation. Drag the cursor in the direction you want to rotate. When you release the mouse button, MATLAB redraws the axes in the new orientation. 3 Click the rotate button again to end rotate 3-D mode. The Rotate 3-D button uses the rotate3d command. Rotate 3-D
Using the Property Editor The Property Editor provides access to many properties of graphics objects including figures, axes, lines, lights, patches, images, surfaces, rectangles, text and the root object. Use these buttons to move back and forth among the graphics objects you have edited the navigation bar to Pre elect the object you want to Edit Properties for: line Click on g tab to view g Info group of properties. Line Properties Click here to view a list of Line color: Black Custom color values for this field Style: circle(o) Edge color. Inherited(auto) Click apply to apply your changes without dismissing the Property Editor Face color.Red Custom colo Click Cancel to dismiss the Property Editor Click ok to apply your changes and dismiss the Property Editor. Check this box to see the effect of Click Help to get information about particular 1-15
Using the Property Editor 1-15 Using the Property Editor The Property Editor provides access to many properties of graphics objects, including figures, axes, lines, lights, patches, images, surfaces, rectangles, text, and the root object. Use these buttons to move back and forth among the graphics objects you have edited. Click here to view a list of values for this field. Click on a tab to view a group of properties. Check this box to see the effect of your changes as you make them. Click OK to apply your changes and dismiss the Property Editor. Use the navigation bar to select the object you want to Click Cancel to dismiss the Property Editor without applying your changes. Click Apply to apply your changes without dismissing the Property Editor. Click Help to get information about particular properties
I Overview of MatlaB graphics This section describes Starting the Property Editor ·“ Editing Object Properties”" on page1-17 ·“ Navigating Among Objects in a graph” on page1-18 ·“ Applying Your Changes"on page1-21 Starting the Property Editor There are several ways to start the Property Editor. plot editing mode is enabled, you can Double-click on an object in the graph. Note Double-clicking on a text object does not start the Property Editor. It opens a edit box around the text. To modify the properties of a text object, use ne of the other mechanisms Right-click on an object, view the context menu, and select the Properties option. The context menus associated with objects also provide direct access to certain commonly used propertie Select Figure Properties, Axes Properties, or Current object Properties from the figure window Edit menu. These options automatically enable plot editing mode, if it is not already enabled You can also start the property Editor from the command line using the Note Once you start the Property Editor, keep it open throughout an editing session. If you click on another object in the graph, the property edito displays the set of panels associated with that object type. You can also use th avigation bar in the Property editor to select other objects to edit in the l-16
1 Overview of MATLAB Graphics 1-16 This section describes: • Starting the Property Editor • “Editing Object Properties” on page 1-17 • “Navigating Among Objects in a Graph” on page 1-18 • “Applying Your Changes” on page 1-21 Starting the Property Editor There are several ways to start the Property Editor. If plot editing mode is enabled, you can: • Double-click on an object in the graph. Note Double-clicking on a text object does not start the Property Editor. It opens a edit box around the text. To modify the properties of a text object, use one of the other mechanisms. • Right-click on an object, view the context menu, and select the Properties option. The context menus associated with objects also provide direct access to certain commonly used properties. • Select Figure Properties, Axes Properties, or Current Object Properties from the figure window Edit menu. These options automatically enable plot editing mode, if it is not already enabled. You can also start the Property Editor from the command line using the propedit function. Note Once you start the Property Editor, keep it open throughout an editing session. If you click on another object in the graph, the Property Editor displays the set of panels associated with that object type. You can also use the navigation bar in the Property Editor to select other objects to edit in the graph