Skip to content

Plot arcs of ellipses instead of discrete points for ecliptic and milky way planes. #3

@dylanagreen

Description

@dylanagreen

Currently desipoint plots the MW and Ecliptic planes by plotting discrete points along those curves. This was a hacky method that was designed based on the method by which I plot these planes in the web viewer, since I couldn't figure out how to plot arcs in d3 at the time. This issue is applicable to both the web interface and the python package, but is more prevalent in the python package, as seen in this example image:
20221116

I propose instead to:

  1. Fit an ellipse to the visible points (i.e. points above the horizon)
  2. Plot only the visible arc of that ellipse using the matplotlib arc patch.

Point 1 is considerably more difficult than point 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions