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

Support for setting the size of the image to save #681

Open WZG3661 opened 1 week ago

WZG3661 commented 1 week ago

The default saved image is too small. I hope to be able to set the size of the saved image through the command line:)

MichaelGrupp commented 1 week ago

You can change the default from the command line with:

evo_config set plot_figsize 15 10

where the two numbers correspond to the figsize setting of matplotlib in inches: https://matplotlib.org/stable/gallery/subplots_axes_and_figures/figure_size_units.html

See also https://github.com/MichaelGrupp/evo/wiki/Plotting#3-set-the-default-figure-size

WZG3661 commented 1 week ago

Thanks a lot! if the scale of axis are equal will be better:

plt.axis("equal")
MichaelGrupp commented 1 week ago

This should be the case already for trajectory plots, where did you miss equal axis scale?