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

Oscilloscope: Plot labels #1120

Open
CJW-1014 opened this issue May 1, 2021 · 2 comments
Open

Oscilloscope: Plot labels #1120

CJW-1014 opened this issue May 1, 2021 · 2 comments
Labels
bug enhancement m2k bugs related to the M2kPlugin in Scopy v2

Comments

@CJW-1014
Copy link

CJW-1014 commented May 1, 2021

Environment:

  • WIn10: [e.g. iOS]
  • v1.2.0 - v1.2.0

Describe the bug
The preferences for the oscilloscope has an "Enable labels on the plot" check box. With it checked, I see the voltage of the grid for the last channel enabled but not both. There is room for both to be shown. The grid moves to the right when the second channel labels are shown. How do I get the labels for both channels to be shown? SInce they are of different colors there should be no confusion.

Both channels should have associated labels. It is confusing trying to discover how to make the labels for a specific channel to display.

image

image

@gastmaier
Copy link

Qwt seems to resize the plot according to the number of axis enabled (with QwtPlot::setAxisVisible method) (demo (cmake helper)).
However, when done with scopy:
[1] Labels get superposed.
And also:
[2] We only keep track of the current enabled with DisplayPlot::d_activeVertAxis.

Considering:
[1] labels might be set to 0-width somewhere else or the plot might be "squishing" them if set to something like min-width 100%, we would have to check where the issue is (does GammaRay, or some other inspector work with scopy?).
[2] we could keep track of more axis in an array and limit to the last three to be visible in the plot; this tracking could happen in the same DisplayPlot::setActiveVertAxis method as d_activeVertAxis.

@adisuciu
Copy link
Contributor

Yes, Gammaray kinda works with scopy, I managed to attach to the application once it started.
I'll investigate the rest of your points and get back at you ..

@AlexandraTrifan AlexandraTrifan added the m2k bugs related to the M2kPlugin in Scopy v2 label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement m2k bugs related to the M2kPlugin in Scopy v2
Projects
None yet
Development

No branches or pull requests

4 participants