Great circle or rhumb line defined via mouse input
h = trackg(ntrax)
h = trackg(ntrax,npts)
h = trackg(ntrax,linestyle)
h = trackg(ntrax,
[lat,lon] = trackg(ntrax,npts,...)
h = trackg(
h = trackg(ntrax) brings
forward the current map axes and waits for the user to make (2
mouse clicks. The output
h is a vector of handles
ntrax track segments, which are then displayed.
h = trackg(ntrax,npts) specifies
the number of plotting points to be used for each track segment.
100 by default.
h = trackg(ntrax,linestyle) specifies
the line style for the displayed track segments, where
linespec that defines the
style of the line.
h = trackg(ntrax, allows
property name/property value pairs to be set, where
recognized by the
[lat,lon] = trackg(ntrax,npts,...) returns
the coordinates of the plotted points rather than the handles of the
track segments. Successive segments are stored in separate columns
h = trackg( specifies
the logic with which tracks are calculated. If
default), a great circle path is used. If
rhumb line logic is used.
This function is used to define great circles or rhumb lines for display using mouse clicks. For each track, two clicks are required, one for each endpoint of the desired track segment. You can modify the track after creation by Shift+clicking it. The track is then in edit mode, during which you can change the length and position by dragging control points, or by entering values into a control panel. Shift+clicking again exits edit mode.