Skip to content

Add capability to plot own data on a chart #164

@sizzzzlerz

Description

@sizzzzlerz

Is your feature request related to a problem? Please describe.
I want to be able to display my own data on a chart. As an example, I want to plot the location of the planets against the background at specific points in time over the course of a month or so. Using Skyfield, I can compute planet locations as a function of the date. It will return the RA/DEC at each time point. I then would use that data to plot symbols on the chart and the appropriate location. For the outer planets, only a single point would be needed but the inner planets would move over the course of a month so I could show the beginning and ending. This is similar to the charts found in Astronomy and Sky & Telescope magazines.

Describe the solution you'd like
An interface to the plot object where I would pass a list of RAs and DECs and have it return a list of x,y locations that could then be passed directly to the matplotlib plot function without a further transformation. My code would be responsible for all the styling (color, symbol, line widths, etc.)

Describe alternatives you've considered
I tried modeling a solution on the ecliptic function but the plot scaling is wrong. In addition, several functions are not part of the public interface.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request⭐ on roadmapThis issue is on the roadmap for a future version

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions