Plots ground tracks
CL_plot_ephem(pos_car [,win_id,color_id,tick_steps,data_bounds,thickness])
Plots the ground track in longitude and latitude corresponding to the trajectory given in cartesian coordinates.
The plot x-axis and y-axis are respectively the (spherical) longitude and latitude in degrees.
These longitude and latitude are obtained from pos_car by: [lon; lat; r] = CL_co_car2sph(pos_car).
Note:
Only one graphical entity is created.
Call gce() to get it and possibly change graphical properties.
Positions in cartesian coordinates: [X;Y;Z] (3xN)
(optional) Figure Id - Id of the current window if omitted.
(optional) Color index - Default is 2.
(optional) Steps of the grid in longitude and latitude in degrees (2x1), or [] (automatic). Default: [].
(optional) Definition of the view area: [longmin, latmin; longmax, latmax] in degrees. Default is [-180, -90; 180, 90].
(optional) Line thickness. Default is 1.
CNES - DCT/SB
t0 = 21915; // initial time kep_t0 = [7070.e3; 0.001; CL_deg2rad(98); 0; 0; 0]; // orbit parameters step = 30 / 86400; // propagation step t = t0:step:t0+1; kep_t = CL_ex_secularJ2(t0, kep_t0, t); // orbit propagation pos_eci = CL_oe_kep2car(kep_t); // inertial position pos_ecf = CL_fr_convert("ECI", "ECF", t, pos_eci); // position in rotating frame scf(); CL_plot_ephem(pos_ecf); |