scale x,y and z axis to match JPL Database

9 次查看(过去 30 天)
kim
kim 2024-7-22,23:31
回答: Star Strider 2024-7-23,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

回答(1 个)

Star Strider
Star Strider 2024-7-23,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