Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • s2dv s2dv
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • s2dvs2dv
  • Issues
  • #63
Closed (moved) (moved)
Open
Issue created Jun 14, 2022 by aho@ahoMaintainer

PlotEquiMap improvements

Here are a few things that can be improved in PlotEquiMap().

  • (1) Follow the development in !94 (merged), it's better to calculate params xlabels and ylabels in the function (!94 (comment 170834)). If xlabels = NULL, the labels can still be correct (see the right figure in !94 (comment 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 or hatching: Allow dots to be a list of arrays and plotted by different shapes. hatching function provided by Roberto (~/aho-testtest/s2dv/hatching.R)

  • (4) dots dimensions are not checked and reordered as data. The longitude and latitude dimensions of the input should be flexible.

  • (5) Add crop argument to crop the desired region. So the input data lat and lon don'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: Inf is not NA and it should belong to the triangle at the ends of color bar. We can say Inf <- max + 1 and -Inf <- min - 1 in the code.

  • (8) Add param closedevice like PloyLayout() has.

  • (9) Fixed coordinate #43

  • (10) caption #98 (closed)

  • (11) mask #98 (closed)

  • (12) vertical colorbar

Edited Sep 20, 2023 by aho
Assignee
Assign to
Time tracking