Graphing data in a lab- astrophysics

Click For Summary
SUMMARY

The discussion focuses on graphing experimental data related to planetary orbits in a simulation compared to actual orbital periods in the Solar System. The user experimented with varying eccentricity and distance from the Sun, seeking advice on the most effective way to visualize this data. Suggestions included plotting eccentricity or distance on the x-axis with orbital period on the y-axis, as well as considering error analysis by plotting simulation error on the y-axis. The user was advised to select one variable as the x-coordinate and plot separate curves for the other variable, especially when dealing with a limited number of values.

PREREQUISITES
  • Understanding of Kepler's laws of planetary motion
  • Familiarity with graphing techniques in data analysis
  • Basic knowledge of orbital mechanics
  • Experience with data visualization tools (e.g., Python's Matplotlib or Excel)
NEXT STEPS
  • Research data visualization techniques using Python's Matplotlib
  • Explore error analysis methods in scientific experiments
  • Learn about plotting multiple datasets on a single graph
  • Study Kepler's laws in detail to enhance understanding of orbital dynamics
USEFUL FOR

Students in astrophysics, researchers analyzing orbital mechanics, and anyone involved in data visualization for scientific experiments.

Emily R.
Messages
14
Reaction score
1

Homework Statement


Hello! So, I recently did an experiment where I altered the eccentricity and distance from the sun of a planet orbiting around the Sun in a simulation and measured how long it took the planet to complete a single orbit. With this data, I compared my experimental data with the actual orbital period of each planet in the Solar System. I tested the eccentricity and distance of the sun for each planet so I was using actual values and essentially seeing how each planet's orbit differed between a simulation and real life.

I'm writing up a lab report, but the problem is, I'm not sure what kind of graph to make for my data. I recently thought of creating two graphs, where eccentricity or distance from the Sun would be on the x-axis and orbital period could be on the y-axis. Would that be a good way to graph my data? Or is there a better way to do so?

Homework Equations


Some of Kepler's laws are relevant here, but I didn't use them in my experiment.

The Attempt at a Solution


I originally attempted to graph the experimental orbital periods against the actual ones, but that didn't work very well. I posted this thread a few minutes ago and, before it was deleted due to my not using the template, one user (@haruspex ) suggested making a graph with the error of the simulation on the y-axis. If I were to do that, what would I put on the x-axis?
 
Physics news on Phys.org
Emily R. said:
I originally attempted to graph the experimental orbital periods against the actual ones, but that didn't work very well. I posted this thread a few minutes ago and, before it was deleted due to my not using the template, one user (@haruspex ) suggested making a graph with the error of the simulation on the y-axis. If I were to do that, what would I put on the x-axis?
I did answer that too. To plot against two free variables, a common method is to pick one variable as the x coordinate and plot a separate curve (on the same chart) for each value of the other. If one variable takes relatively few values and they are equally spaced, that is a good candidate for the per-curve variable.
 
haruspex said:
I did answer that too. To plot against two free variables, a common method is to pick one variable as the x coordinate and plot a separate curve (on the same chart) for each value of the other. If one variable takes relatively few values and they are equally spaced, that is a good candidate for the per-curve variable.

Thank you very much!
 

Similar threads

Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K