Skip to content

Support vertical (not just horizontal) trajectory plots via cfp.traj #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sadielbartholomew opened this issue Jan 30, 2025 · 0 comments

Comments

@sadielbartholomew
Copy link
Member

It would be useful to allow users to create a plot showing the vertical ('Z') evolution of a trajectory with respect to another coordinate, notably time - for example, with a flight trajectory, you would expect to see the flight's vertical coordinate, if as an altitude, increase from ~0 (m) as it takes off (or if pressure is the Z coordinate, decrease from ~1000 hPa) and a plot would show exactly how the flight ascended in height from ground level over time, or per some reduction or cross-section in horizontal space etc.

Given traj is our method to plot trajectories, currently only in horizontal form, I think it makes most sense to provide such support by generalising that method to allow inclusion of vertical axes. Proposed API for this TBC, but I am initially thinking the best way to go will be via a new keyword argument or two to allow the user to state they want a vertical plot from the provided field. We should also think about the interface of lineplot as a method though - since the ultimate plot will be a line plot.

@sadielbartholomew sadielbartholomew self-assigned this Jan 30, 2025
@sadielbartholomew sadielbartholomew changed the title Support vertical (as well as horizontal) plots for trajectories using cfp.traj Support vertical (as well as horizontal) plots for trajectories via cfp.traj Jan 30, 2025
@sadielbartholomew sadielbartholomew changed the title Support vertical (as well as horizontal) plots for trajectories via cfp.traj Support vertical (not just horizontal) plots for trajectories via cfp.traj Jan 30, 2025
@sadielbartholomew sadielbartholomew changed the title Support vertical (not just horizontal) plots for trajectories via cfp.traj Support vertical (not just horizontal)btrajectory plots via cfp.traj Jan 30, 2025
@sadielbartholomew sadielbartholomew changed the title Support vertical (not just horizontal)btrajectory plots via cfp.traj Support vertical (not just horizontal) trajectory plots via cfp.traj Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant