Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

sectorg

Sector of small circle defined via mouse input

Syntax

sectorg

Description

sectorg prompts the user to indicate by two successive mouse clicks two points that define the center and radius of a small circle arc. By default, the angular width of the sector is 60º. The sector is constructed using the vector defined by the mouse clicks as the reference azimuth (defined to run through the center of the sector).

Once a sector has been drawn, Shift+clicking on it displays four control points (center point, arc resize, radial resize, and rotation controls), and the associated Sector control window. You can graphically interact with sectors as follows:

  • To translate the circle, click and drag the center (o) control.

  • To change the arc size, click and drag the resize control (square).

  • To change the radial size of the sector, click and drag the radial control (down triangle).

  • To rotate the arc, click and drag the rotation control (x).

You can also modify a selected sector by entering the appropriate values in the Sector control window and then pressing Enter or clicking the Close button. Display of the control panel is toggled by Shift+clicking the sector. If you select multiple sectors, a separate Sector control window will appear for each one.

Tips

Sector control windows are superimposed at the same location. A valid map axes must exist prior to running this function.

See Also

|

Introduced before R2006a

Was this topic helpful?