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

Various plotting issues #130

Open
krisgry opened this issue Sep 6, 2022 · 2 comments
Open

Various plotting issues #130

krisgry opened this issue Sep 6, 2022 · 2 comments

Comments

@krisgry
Copy link

krisgry commented Sep 6, 2022

Hi (@kmolima)!
I'm having some problems with plotting, both in the "IMC inspector" and in the real-time plot. My code is branched off of 0c23bde (I have not made any changes to the plotting).

Issues:

  • IMC inspector: XY plot does not work (I'm never prompted with what I variables I would like to plot)
  • IMC inspector: only plots the first variable when multiple are added
  • real time plot: when opening the console, the saved plot config is on a single line. If I add line breaks, save console, close and reopen neptus, it is back on a single line.
  • related to the above: I get a parsing errors (LHS of an assignment should be a variable) since everything is on one line. This error message opens up immediately after closing it, so it is difficult to get rid of without restarting Neptus (sometimes I manage to click out of it quickly, but then the Neptus menus are often not responding to clicks afterwards). It is not possible to edit the plotting script while the error message is showing.
  • rtp: sometimes the plot does not update after changes have been made to the script (nothing is plotted, but the axes are updated when I click 'clear'). There are seemingly no relevant error messages, I'm sure the script is correct, and the incoming data is updating.

Also; when should xyseries be used, compared to addSeries?

@kmolima
Copy link
Collaborator

kmolima commented Sep 6, 2022

Hi @krisgry, regarding your last point, when you use addSeries you are adding a serie to an existed XY series plot (created by using xyseries method). I hope this could help you.

Please address to @paulosousadias for the remaining issues since I am no longer an active developer on the project (nor at LSTS).

cheers!

@krisgry
Copy link
Author

krisgry commented Sep 6, 2022

@kmolima thanks for the quick feedback! I feel sorry for LSTS for losing you, but congratulations to you on starting at HVL :) (Bergen is actually close to my home town, at least in a global scale)

@paulosousadias in addition to the above, another question popped up: how to plot e.g. ExternalNavData.state.phi? (plotting values of inline messages)

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

No branches or pull requests

2 participants