Download Mapping Toolbox User's Guide
Transcript
6 GUI Tools Selecting Track Waypoints To select track waypoints for the cruise ship, use the inputm command. Select Session⇒Command from the menu bar, and enter the following in the Workspace Command box: [waylat,waylon] = inputm; Press Apply when done. A cross hair appears on the map display, allowing you to use the mouse to click on the desired waypoints. You know that you will be sailing from Barcelona, around the islands of Mallorca and Menorca, to Monte Carlo, then to Livorno, Rome, Naples, through the Straits of Messina, and up the Adriatic to Venice. Use the mouse to click on points that trace out such a path, then press Return. The Status Report box appears to let you know the operation was successful. Press OK. The variables waylat and waylon are now in the workspace. This can be confirmed be selecting Session⇒Variables from the menu bar to view the current workspace variables. Creating a Navigational Track Now you can use the track command to connect your waypoints. Select Session⇒Command from the menu bar, and enter the following in the Workspace Command box [tracklat,tracklon] = track([waylat waylon]); Press Apply when done. Again the Status Report box appears. Press OK. The variables tracklat and tracklon are now in the workspace. For more information on connecting waypoints with track segments, see the “Mapping Reference” section of the Mapping Toolbox Reference Guide. 6-26