plotting widget like QCustomPlot #604
Replies: 3 comments 13 replies
-
Yes, |
Beta Was this translation helpful? Give feedback.
-
@ogoffart, @tronical I have intent to write simple plot widget example for my purposes. In most applications I have to use Since plotters library is written in Rust I'd want to compile all plotting functionality (callbacks which render image) in Rust. |
Beta Was this translation helpful? Give feedback.
-
Hello @ogoffart, @tronical, I've just occasionally bumped into So can I actually pass some doubles and pointers to doubles in sixtyfps and back with this My idea on plotting widget is to store arrays of doubles What I wanted as extra is reading data Extra idea, |
Beta Was this translation helpful? Give feedback.
-
I've used QCustomPlot (for Qt) in one of my projects.
https://www.qcustomplot.com/index.php/introduction
It allows to have different kinds of plots, pan/zoom, customize plot (axes, labes, ticks, linestyle, markers, etc.).
And it works with big arrays well.
I've seen discussion about usage of plotting (#381).
I've written my comment there. But as I understand there was no activity lately.
So I create this one.
And to my understanding QCustomPlot has more than "basic" functionality.
So question is. Is there any chance to have something similar?
Is it possible to implement this with plotting?
Another question is what data structure does sixtyfps use for passing arrays around with C++?
It is crucial to send data from code to plot widget. That's why I'm asking.
Ex. QCustomPlot uses QVector.
Upd: To my last question. Just watching tutorial and see
sixtyfps::VectorModel<T>
. Will it do the job?Beta Was this translation helpful? Give feedback.
All reactions