Comments (19)
I can fix the issue, but I am realizing that maybe what we actually want is not a minimum and maximum boundary for the Y axis, but instead FIXED values of the bottom and top of axis Y.
That would be more intuitive, I think
from plotjuggler.
right click->first option->right bottom corner of the dialog
from plotjuggler.
I need you to be a little more specific.
By "fix values" in the axis do you mean the X axis (time), the Y value (value) or both?
Can't you just zoom?
Are you thinking about static data (load a rosbag) or streaming?
from plotjuggler.
I mean setting a min and a max value for Y axis.
The point is that now the Y axis is autosetting to the values of the data. Thus, for instance, if you get a big value for a sample at the beginning and the next one is very small and it keeps oscillating between around this value, you are not able to perceive the changes on it.
So if you are able to set the Y axis between two desired values you will able to see the data in the range you want even tough the bigger values are out of the "plotting window" when they arrive.
from plotjuggler.
Ok, I guess you are talking about streaming.
A feature like this is more complicated that it looks because I have to decide:
- Is this setting part of the UNDO/REDO stack?
- Can it be saved as a Layout.
- How is it applied by the user? right click on the PlotWidget area?
I will find about it...
from plotjuggler.
Right, for the streaming. I forgot to say, sorry.
In my opinion:
- I really don't think it is necessary (i.e. as zooming).
- This would be nice in order to just open the layout a plot directly without setting anything else.
- Right click > Set Axis > Dialog for entering values as remove curves.
- Having it in both axis would be helpful too for XY plot.
If you want I would be really glad to help you with it.
from plotjuggler.
If you want I would be really glad to help you with it.
Thanks !!
I will create a new branch to develop this feature, I will let you know once it is available. As I said, it is more complicated that it looks like, IN PARTICULAR if you want to lock the X axis range, since a lot of logic depends on it.
from plotjuggler.
For the moment with the Y axis should be enough. I had to plot the data with another library everytime I had this problem.
Anyway, congratulations for your amazing tool :)
from plotjuggler.
Hi,
I have a branch that seems to work, even if the integration with UNDO and save layout need to be done.
https://github.com/facontidavide/PlotJuggler/tree/issue_40
Please check and let me know if you see anything weird or if you find a bug.
If you do, please send a screenshot or a video recording
Davide
from plotjuggler.
Somehow it is not working properly when the actual data takes a value out of the plotting range and the limits are changing. Also the numbers in the axis are being displayed incorrectly (increasing in the wrong order):
I am also uploading a video showing the behaviour.
from plotjuggler.
The behavior in the video is exactly the expected from ~0:30 to ~1:30. The problems I described can be seen before and after that part.
from plotjuggler.
Exactly, being able to set fixed values for having the desired plotting range in order to be able to indirectly decide the granularity.
from plotjuggler.
just pushed a new commit. take a look
from plotjuggler.
I think it is done (merged with master). Please tell me if there is any problem
from plotjuggler.
Hi,
can you confirm that you are happy with the current version of the software? Have you detected any issue / corner case?
from plotjuggler.
Sorry, I couldn't answer before. It works as a charm. Thanks again!
from plotjuggler.
Hi,
I am using the ros-foxy version and can't figure out how to fix the scaling of the y-axis to [-1, 1]. It automatically re-scales to the data points.
Is this feature still active?
from plotjuggler.
Thanks for the quick reply!
However it segfaults when either saving own values for "Max" & "Min" or the default ones.
from plotjuggler.
Opened up an Issue here
from plotjuggler.
Related Issues (20)
- Compile problem with macOS 14.4.1: error: only virtual member functions can be marked 'override' const std::string& message) override; HOT 5
- Custom series with sqrt not working HOT 1
- Don't filter custom series
- ULog link in README is broken
- Issue with --buffer_size on Ubuntu 20.04 with PlotJuggler-3 v3.9.1 HOT 1
- Misalignment in Time Series Data Due to Differing Trajectory Sizes with reactive scripts HOT 2
- set x axis step size HOT 2
- 3.9.2 binaries?
- Cannot open .BIN file because of toLower() HOT 2
- What functions does PlotJuggler use to load a ULG file and to save CSVs
- Conan compile instructions for Windows are wrong HOT 1
- how to modify code to change dots size HOT 1
- Allow plotted line width to be set
- ros-rolling-plotjuggler-ros package not available for last month HOT 1
- Load a directory tree with csv files
- ROS1 Ubuntu 24 compatibility HOT 1
- The plugin [DataLoad ROS bags] thrown the following exception: map::at
- Crash on Start UDP Server HOT 4
- Unable to Build On M3 Mac Sonoma 14.4
- Buffer value is not saved with plot layout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plotjuggler.