Path: CubeSat/Visualization
% Plot latitude vs. longitude nicely on existing figure
The wrapped longitude will not create lines across the plot. This does
not create a figure but plots into the current axes.
Type LatLonPlot for a demo.
--------------------------------------------------------------------------
Form:
[lat2,lon2,p] = LatLonPlot( lat, lon, tol, varargin )
--------------------------------------------------------------------------
------
Inputs
------
lat (1,:) Latitude vector (rad)
lon (1,:) Longitude vector (rad)
tol (1,1) Tolerance used for WrapSegments call. See WrapSegments
varargin (:) Any additional inputs are treated as additional inputs
to the plot command, as: plot(x,y,varargin)
-------
Outputs
-------
lat2 (1,N) Cell array of N segments of latitude vectors (rad)
lon2 (1,N) Cell array of N segments of longitude vectors (rad)
p (1,N) Pointers to plots
--------------------------------------------------------------------------
CubeSat: Utilities/WrapSegments Common: Graphics/NewFig
Back to the CubeSat Module page