How to plot data in C and C++ ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to plot data in C and C++ ?

I am a PhD student in physics, i offten use Matlab to plot data. For example : x = linspace(0,pi,100) ; y = sin(x) ; plot(x, y) ; How to do this in C and C ++?

27th Sep 2020, 10:47 PM
Zoheir Ziani
Zoheir Ziani - avatar
1 Answer
+ 9
For this problem you can graphics there are some predefined function like bar() function ...... You can plot graph easily.
28th Sep 2020, 1:29 AM
A S Raghuvanshi
A S Raghuvanshi - avatar