Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The issue of maintaining consistent coordinate axis ranges #648

Closed
teririii opened this issue Mar 28, 2024 · 4 comments
Closed

The issue of maintaining consistent coordinate axis ranges #648

teririii opened this issue Mar 28, 2024 · 4 comments
Labels

Comments

@teririii
Copy link

Hi,recently, I have encountered some plot issues while using EVO,I want to know how to make the coordinate axis display range of Ape or trajectory result graph consistent.
For example
I ran a algorithm1 on dataset ,use evo_ape and plot a figure A,
also ran algorithm2 on dataset, plot figure B,
I hope FigA and FigB have the same y-axis range like both are 0-0.5,or x-axis both are 0-0.5, how should I set it up

thank you,I hope to receive your answer

@MichaelGrupp
Copy link
Owner

With the Qt5Agg plot backend, you can use this from the plot window:

image

and then here:

image

@teririii
Copy link
Author

Thank you for your quick reply.
But I don't have this option,this is mine
image

My system is Ubuntu 18.04 ,opencv3.4.1 eigen3.2.0,pangolin0.5,python 2.7.17

@MichaelGrupp
Copy link
Owner

This only works with PyQt5, as mentioned.

You'd need to install it (either apt install python3-pyqt5 or pip install PyQt5, depending on your setup) and then:

evo_config set plot_backend qt5agg

@teririii
Copy link
Author

Thank you for solving my question,I didn't notice it before.Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants