Comments (4)
Actually now that I look at this closer, there might be some kind of division error somewhere causing this. With a sampling rate of 300 Hz and a connector width of 1000 points, everything works fine. When I change the sampling rate to 301 Hz, it stops working properly. If I force the slice width to be an integer, it works again.
Hopefully this isn't an issue with my code, but that's also very possible
from pglive.
Thanks for your input again. I briefly tested it. There is definetly something wrong. Most likely LiveAxis display region calculation. I set sampling rate to 401 and plot rate to 1Hz. I didn't see any line. Then I zoomed out and saw plot progressing correctly at 1Hz, but autorange was not properly working. Therefore there was nothing plotted. Right now, I'm quite busy with othert stuff. But hopefully will find some time soon to debug and fix this issue.
from pglive.
Roll on tick seems to be an issue for me as well.
I can see a single vertical line that appears top be massively zoomed out (this includes the X axis timeline as well).
It takes a lot of zooming in to see the trace as it is sampled.
from pglive.
Hello,
I hope this issue's topic suits my question. I would kindly request clarification on the functionality of the 'roll_on_tick
' parameter. I'm currently working on developing a Python GUI for multi-channel live plotting (displaying multiple line charts) of real-time acquired data.
For these charts, I'm able to set the following parameters:
- Bin width: a value in microseconds representing the time step between the recording/acquisition of one data point/value and another.
- Update rate: the frequency in hertz for plotting the chart.
- Time span: the temporal window in seconds (x-axis range) that I wish to view at a time. For example, setting a 5-second time span, I aim to view ranges such as 0s-5s, then 5s-10s, and so forth.
I'm encountering issues while setting this temporal window on the chart, particularly when manipulating the 'roll_on_tick' parameter, resulting in inconsistent outcomes. This might be due to my limited experience in PyQt and live plotting.
Hence, I have a theoretical rather than technical question: What exactly does 'roll_on_tick' entail? How is this parameter correlated with others such as 'update_rate,' 'bin_width,' and 'time_span'?
For a more detailed overview of the problem I'm facing, I've elaborated on Stack Overflow at: link.
Thank you very much.
from pglive.
Related Issues (20)
- LiveAxisRange Multiple Plots Auto range if plot turned off. HOT 4
- Question: If using "Promoted Widget", How to add LivePlotWidget(title=...., axisItems=......, **kwargs) HOT 2
- "cb_append_data_point" leads to runtime error if no existing points are present HOT 7
- Support for "connect" attribute of pyqtgraph PlotDataItem/PlotCurveItem? HOT 2
- .removeItem() interferes with auto-range HOT 2
- can you add the function load old data for candlesticklive example? or how can to emplemt it? thank you HOT 6
- Custom ViewBox HOT 4
- Question, possible issue HOT 8
- Feature request (continuation on the previous issue) HOT 6
- How to append data from list or array HOT 5
- Poetry Update HOT 4
- How to clear data from DataConnector? HOT 3
- Feature request: Add crosshair after LivePlotWidget constructor called HOT 2
- Understanding DataConnector update_rate and data append time HOT 9
- Tick strings on the bottom axis overlaps with its label HOT 3
- ValueError: operands could not be broadcast together with shapes (2,) (0,) HOT 14
- Formatting x axis timestamp for Axis.TIME HOT 4
- TypeError: ufunc 'isfinite' not supported for the input types HOT 2
- Bug or Feature? LivePlotWidget "bottom" axis ticks labels disappear if string is more than simple one liner
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 pglive.