MichaelGrupp / evo

Python package for the evaluation of odometry and SLAM
https://michaelgrupp.github.io/evo/
GNU General Public License v3.0
3.32k stars 743 forks source link

Adapt coordinate axis range of plot #677

Open 110sha opened 2 weeks ago

110sha commented 2 weeks ago

屏幕截图 2024-06-13 110723 May I ask how to adjust the coordinate axis range?

MichaelGrupp commented 2 weeks ago

Does this similar question here help? https://github.com/MichaelGrupp/evo/issues/648

110sha commented 2 weeks ago

Thank you very much. I have also found and implemented this solution. Now I have another question that I would like to inquire about. How can I set the image to be square? I tried the command "evo_config set plod_figsize 5 5", but it didn't work as shown in Figure 1. I need Figure 2. 003_trajectories 屏幕截图 2024-06-14 084000

MichaelGrupp commented 6 days ago

The second image you posted does not have equal coordinate axes scaling in the plot. If you want something similar, you can disable realistic scaling with:

evo_config set plot_xyz_realistic false

...then you can stretch your plot however you like.