CL_plot_ephem — Plots ground tracks of the given position ephemeris
CL_plot_ephem(pos_car_ter [,winId][,colorId][,tickInterval][,dataBounds])
positions in cartesian coordinates, in the terrestrial frame [X;Y;Z] (3xN)
(optionnal) figure Id - Id of the current window if omitted.
(optionnal) color index - Default is 1.
(optionnal) tick interval of the grid (longitude and latitude) in degrees - [60 ,30] if missing.
(optionnal) zoombox (longmin, latmin; longmax, latmax]. [-180,-90;180,90] if missing(entire view).
The latitude plotted is the geodesic latitude.
// Plot groundtracks (different color for each orbit) t1 = 21915; pas = 10 / 86400; kep_t1=[7070 * 1000; 0.001; CL_deg2rad(98); CL_deg2rad(90); CL_deg2rad(100); CL_deg2rad(270)]; nodper = CL_op_paramsJ2('nodper', kep_t1(1) , kep_t1(2) , kep_t1(3)); scf(); for n_orb = 1 : 3 t2 = t1 + (n_orb-1)*nodper/86400 : pas : t1 + n_orb*nodper/86400; kep_t2 = CL_ex_secularJ2(t1, kep_t1, t2); param_car = CL_oe_kep2car(kep_t2); pos_car_ter = CL_fr_G502ter(t2,param_car) ; CL_plot_ephem(pos_car_ter, colorId=n_orb); end CL_plot_earthMap(colorId=2); Declarations: