Plots an Earth map
CL_plot_earthMap([win_id,color_id,tick_steps,data_bounds,thickness,res,coord])
Plots an Earth map in the selected figure (win_id).
The x-axis and y-axis are respectively the longitude and latitude in degrees.
Depending on the "coord" option, the "y" coordinates are assumed to be spherical or elliptical (i.e. geodetic) latitudes.
There are 2 available resolutions:
- "low": outlines of Earth continents and major islands
- "high": outlines of Earth continents, islands and lakes
Note:
Only one graphical entity is created.
Call gce() to get it and possibly change graphical properties.
(optional) Figure ID, or 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 (2x2). Default is [-180, -90; 180, 90].
(optional) Line thickness. Default is 1.
(optional, string) Resolution: "low" or "high". Default is "low".
(optional, string) Type of coordinates: "sph"=spherical, "ell"=elliptical. Default is "sph".
CNES - DCT/SB
// basic plot scf(); CL_plot_earthMap(); // plot in figure 10, with color 2 CL_plot_earthMap(win_id=10, color_id=2); // plot in figure 10, with color 1, and focus on Europe CL_plot_earthMap(win_id=10, color_id=1, .. data_bounds=[-10,30;40,60], tick_steps=[10,10]); // plot in high res, elliptical coordinates and focus on Europe CL_plot_earthMap(color_id=5,data_bounds=[-10,30;40,60], .. tick_steps=[10,10], res = "high", coord = "ell"); |