Тёмный

Qt C++ 05 Real Time Plotting with QCustomPlot 

Geospatial School
Подписаться 25 тыс.
Просмотров 84 тыс.
50% 1

Use a button on a GUI to add points to a plot. A simple example of how to implement real time plotting in C++.

Наука

Опубликовано:

 

8 янв 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@greentea8500
@greentea8500 4 года назад
Thanks a lot, even if it is not really up to date it reaally helped me ! Cristal clear !
@vdengineering2666
@vdengineering2666 Год назад
Excellent thank you, works on macOS and QT6.4 too
@tetjanadan4228
@tetjanadan4228 7 лет назад
It´s great. Thank you.
@iMADiT
@iMADiT 7 лет назад
Thanks, this a great starting point. In case of a real time data where the x axis is time, is it possible to only display the last 5 seconds of the real time plot?
@iMADiT
@iMADiT 7 лет назад
Thanks for replying, i found this on the official website www.qcustomplot.com/index.php/demos/realtimedatademo which was exactly what i was looking for, however it required version 2.0.0 beta to work
@elionaigm6933
@elionaigm6933 3 года назад
@@iMADiT Excuse me, can I ask how I do it?
@JulioBeas
@JulioBeas 6 лет назад
Can I add points using mouse click ?
@iaroslavz2644
@iaroslavz2644 4 года назад
Thank you very much!
@elionaigm6933
@elionaigm6933 3 года назад
Thank you very much for the help, I want to ask if you know any way to graph a slide every certain period of time
@i_am_arun07
@i_am_arun07 Год назад
ru-vid.comrV9NGibkk9w?feature=share
@joaquinrestovich3649
@joaquinrestovich3649 3 года назад
Than you for this amazing explanation, you really help me!!
@geospatialschool
@geospatialschool 2 года назад
You're welcome
@GlobePivoT
@GlobePivoT 11 месяцев назад
Hello, thank you for sharing. I want to show the signal real time and change the cursor of current time to the middle. What should I do?
@jayachandranv9026
@jayachandranv9026 2 года назад
i get error while compile this code. i installed QT creator 4.15.0 what qt version you are using in this video?
@legaulois3936
@legaulois3936 4 года назад
If you want to rescale axes automatically after the insertion of x and y, you must include in plot() function the following line before replot() and update() : ui->plot->graph(0)->rescaleAxes(true);
@tehnokratgod
@tehnokratgod Год назад
On Qt6.4 axes re-scaled only when I put this line betwen "setData" and "replot". So it need to be smth like this: ui->plot->graph(0)->setData(qv_x, qv_y); ui->plot->graph(0)->rescaleAxes(true); ui->plot->replot(); ui->plot->update();
@marianaloquesea
@marianaloquesea 4 года назад
thank you!!
@zhewang3283
@zhewang3283 4 года назад
great!
@navlafeli
@navlafeli 7 лет назад
You are amazing! Thank you)
@TheThetitan1
@TheThetitan1 5 лет назад
how do i make it so i can see points like (10;10) ?
@geospatialschool
@geospatialschool 5 лет назад
Check out this new video on adjusting axes ranges: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NPsTDawoMag.html
@antoniogodinho948
@antoniogodinho948 5 лет назад
I can't have any access to the "ui->plot" in the Custructor and i dont know why. Could you give me the awnser to my question please?
@geospatialschool
@geospatialschool 5 лет назад
Can you give me some information? Do you get an error when you build/run the code? Did you name the new plot 'plot'?
@naziharif2052
@naziharif2052 Год назад
hallo, how to change the direction of arrival of the colormap (realtime data, not dots/points/lines) when it is plotted on the x-axis (flip the direction of the x axis), so that the realtime data (colormap, not points or lines) will be plotted and start from right to left ? many thanks
@thisisprateeksaxena
@thisisprateeksaxena 7 лет назад
Why is this available only in 360p?
@pf4365
@pf4365 2 года назад
top
@fullmoon6661
@fullmoon6661 4 года назад
Why'd you need to re-set the data to the graph every plot()? Can't you just do replot() or even just update()?
@geospatialschool
@geospatialschool 4 года назад
It depends on how you're updating the data. In the video I pass a copy of the data to the plot widget, so if I just update the plot the data haven't changed. You could probably get around this by giving the plot a pointer to the data and then calling replot() or update().
@fullmoon6661
@fullmoon6661 4 года назад
@@geospatialschool oh okay, I thought ->setData(vector, vector) sets a pointer to the data
@geospatialschool
@geospatialschool 4 года назад
@@fullmoon6661 That set's the data, but you're passing the vector, not a pointer to the vector. You can try passing a pointer to the vectors instead of the vectors.
@AnneJKouam
@AnneJKouam 5 лет назад
we don't see anything...
@geospatialschool
@geospatialschool 5 лет назад
Is the video not showing at all, is it too small to read, or is the resolution poor?
@iaroslavz2644
@iaroslavz2644 4 года назад
Thank you very much!
Далее
Qt C++ 06 Create a Database with QtSql
4:51
Просмотров 23 тыс.
Plotting in Qt using QCustomPlot
9:15
Просмотров 92 тыс.
Strawberry Cat?! 🙀 #cat #cute #catlover
00:42
Просмотров 2,5 млн
Me: Don't cross there's cars coming
00:16
Просмотров 10 млн
D3 Ваз 2107 Не умри от зависти!
18:57
Qt C++ 09 QCustomPlot Add Point with Mouse Click
7:29
QCustomPlot - Self updating diagrams in QT Creator
12:48
Plotting & Charting in C++
6:59
Просмотров 16 тыс.
100+ Linux Things you Need to Know
12:23
Просмотров 76 тыс.
Arduino Data Logger | Qt and C++ Code Review
15:16
Просмотров 6 тыс.
Use Arc Instead of Vec
15:21
Просмотров 137 тыс.
C++ Qt 20 - QListWidget
8:32
Просмотров 150 тыс.
Qt Calculator GUI Tutorial Part 1
15:02
Просмотров 133 тыс.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Best mobile of all time💥🗿 [Troll Face]
0:24
Просмотров 2,8 млн
Сложная распаковка iPhone 15
1:01
Просмотров 13 тыс.