Ask Your Question
1

rqt_plot fixed y-axis limits

asked 2015-05-19 08:09:26 -0600

niall gravatar image

Hi,

I'm trying to fix the y-axis of rqt_plot to certain values but as soon as higher values appear, the y-axis rescales. I've found numerous threads autoscaling in rqt_plot but none provide me with a usable solution. I've tried:

  • pausing and setting the limits manually, but it simply resets after
  • turning off autoscroll and then setting the limits manually
  • all 3 possible backends
  • Set use only visible data in the widget but even then when higher values appear, the y-axis limits are expanded and not retracted when these high values are out of the view.

I'm running rqt_plot version 0.3.10. Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2015-05-19 11:39:17 -0600

ahendrix gravatar image

updated 2015-05-19 11:40:27 -0600

Sorry; this feature isn't implemented.

You can open a feature request ( https://github.com/ros-visualization/... ) or attempt to implement it yourself (add an additional settings item which calls set_autoscale() )

Note that autoscale and autoscroll are two different things - autoscrolling repositions the X axis, and autoscale adjusts the Y axis bounds.

edit flag offensive delete link more

Comments

OK then that's why I couldn't find the feature. I'll see if I can open a feature request. Thanks for your quick response!

niall gravatar imageniall ( 2015-05-21 09:05:01 -0600 )edit

it looks like there is an open pull request on this matter: https://github.com/ros-visualization/...

Pablo Iñigo Blasco gravatar imagePablo Iñigo Blasco ( 2018-09-05 07:23:15 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-05-19 08:09:26 -0600

Seen: 1,134 times

Last updated: May 19 '15