VizEquiMap improvements
(NOTE: This issue is moved from s2dv about s2dv::PlotEquiMap)
Here are a few things that can be improved in PlotEquiMap().
-
(1) Follow the development in s2dv!94 (merged), it's better to calculate params xlabelsandylabelsin the function (https://earth.bsc.es/gitlab/es/s2dv/-/merge_requests/94#note_170834). Ifxlabels = NULL, the labels can still be correct (see the right figure in https://earth.bsc.es/gitlab/es/s2dv/-/merge_requests/94#note_169024). The parameters should still be open for customizing labels. -
(2) discrete color bar: If the color bar is for categorical data, the name of each category should be placed in the center of each color. (In new package) -
(3) Two dots: Allow dotsto be a list of arrays and plotted by different shapes. -
(4) dotsdimensions are not checked and reordered asdata. The longitude and latitude dimensions of the input should be flexible. -
(5) Add cropargument to crop the desired region. So the inputdatalatandlondon't need to be subset beforehand -
(6) first_lon: users can define the longitude border and the function adjusts the data accordingly. For example, the data is [0, 360] but first_lon = 330, then the function needs to rearrange the data to [330:360, 0:330] then do the plotting. -
(7) Deal with value Inf:Infis not NA and it should belong to the triangle at the ends of color bar. We can sayInf <- max + 1and-Inf <- min - 1in the code. -
(8) Add param closedevicelike PloyLayout() has. -
(9) Fixed coordinate s2dv#43 -
(10) caption s2dv#98 (closed) -
(11) mask s2dv#98 (closed) -
(12) vertical colorbar -
(13) select the color of the dots -
(14) hatching #13 (closed) -
(15) fix map contours not reaching left edge of plot #23 (closed) !32 (merged)