Main Content

sectorg

(To be removed) Display sector of small circle on axesm-based map using mouse

The sectorg function will be removed in a future release. Use the scircle1 function instead.

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 axesm-based map must exist prior to running this function.

Version History

Introduced before R2006a

expand all

R2023b: Warns

The sectorg function issues a warning that it will be removed in a future release. Use the scircle1 function instead.