Effacer les filtres
Effacer les filtres

scale x,y and z axis to match JPL Database

9 vues (au cours des 30 derniers jours)
kim
kim le 22 Juil 2024 à 23:31
Réponse apportée : Star Strider le 23 Juil 2024 à 0:18
I am using the NASA JPL Databases and learning how to plot the Three-Body Periodic Orbits using ode45 and my own derivate function. I was wondering if anyone knows how to scale the x,y and z axis to fit in with the JPL Databases. https://ssd.jpl.nasa.gov/tools/periodic_orbits.html

Réponses (1)

Star Strider
Star Strider le 23 Juil 2024 à 0:18
I’m not certain how to use that site, so I don’t know what the plots look like.
Probably the function that will best do what you want is daspect. It allows you to set the aspecty ratios of the various axes, so for example:
daspect([1 1 1])
is the same as:
axes('equal')
The daspect function allows you to specify their ratios exactly. The arguments to it are not required to be integers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by