How to draw plots and graphs in C++, Tutorial

preview_player
Показать описание
Shows how to draw plots and graphs in C++. This tutorial uses the pbPlots library. It works with all C++ compilers, is easy to use and is available in many programming languages.
Рекомендации по теме
Комментарии
Автор

For those watching this video, the C++ folder files it is referred to in this video, the code is broken and many functions are missingimplementation currently. Instead use C folder files. They are fine.

rezNezami
Автор

Thanks. I am using it with Opencv and the compilation was fine.

Matematica_Aplicada
Автор

Thanks, great video!
I just wanted to know that which library (.lib) should I specify in the Linker Settings of Visual Studio for linking and getting the plot?

aayushanand
Автор

Hi, thank you for your tutorial, but in Xcode, everything compiles perfectly but the plot.png doesn't show up anywhere. What could be the problem?

sashank.neupane
Автор

Can this library only produce png files? Or is it also possible to make the chart interactive by being able to zoom in for example?

thetruth
Автор

Thanks so very much for this! The example in your tutorial worked perfect! However, I tried to use this for my own code, and I get this message: Fatal error reading PNG image file: Invalid IHDR data. Do you have a solution to this issue? Thanks in advance.

themathaces
Автор

Hey is it also possible to have strings as the x-Axis? Thank you for the video!

thetruth
Автор

Can you please help me with changing the plot type? I just want to plot points on the axis(without connecting them). Which method would be appropriate for that?

ReggieMisFit
Автор

Thanks for this tutorial and I have a question: Is this library can do what matplotlib do??

loaimohammed
Автор

Thanks, great tutorial :). I wanted to ask you if there is any way to save the plots to a certain folder, and have each new plot file be named different, so they do not overwrite each other. For example, "plot1.png", "plot2.png", etc.

ivt
Автор

You really helped me out. Thanks!
But I'm getting a lot of errors from the 6500 line program when I run it at 4:21. Can someone help me?

veljkogalovic
Автор

I noticed some memory leaks in the C and C++ code. The code seems not up to standard.

chrisminnoy
Автор

Hello, I am new with programming and I am looking ways to plot.

Can this be used with Code::Block? I, unfortunately know very little about programming outside of the default libraries and header files included in the installation.

UltimateMegaMaster
Автор

Hey i am using pbplot in visual studio community edition 2019 showing lots of memory erorrs but its working fine in codeblock can you help me it urgent.

amanchouhan
Автор

how can i plot 2 different graphs in the same png file? Thanks

ΌθωναςΒαλεράς
Автор

hey turns out DrawScatterPlot needs another argument of datatype Stringreference*, what is that?

ReggieMisFit
Автор

I have one problem. During compilation I have error: too few arguments to function 'bool DrawScatterPlot(RGBABitmapImageReference*, double, double, std::vector<double>*, std::vector<double>*, StringReference*)' . I used Microsoft Visual Studio Code and MinGW Tools. Could you help me?

michaladmin
Автор

Hello i'm new with programming and i have a question how to open thtat console you using in Code blocks? Because my program in Code blocks Succesfuly are compiling however i do not have that png file and can you tell me if that problem is beacuse i can not open that console?

younghedziu
Автор

Can we plot arrays using the same function?

sripranavsv
Автор

how can i draw this graph in my console screen, i am working on graphing calculator, can you help me please

knight