Great tool and tutorial! Thanks! Is there an openGL type version, or similar? I'd like to give my program to others, but don't want them to need to install gnuPLOT. It would be neat if a library were available for c++/c.
Thank you. This is very helpful. I had some issues with gnuplot 5.4.x, but reverted to 5.2.8 as suggested and all worked well. I still have an issue with the gnuplot window not exiting cleanly and have to kill the process - any thoughts? I have tried without the -persistent option and have also tried alternative terminals: qt and wxt ("set terminal qt" or "set terminal wxt"). The wxt option made no difference - I still had to kill the process, while qt made the persistent problem worse - I couldn't even kill the process! For those discussing matplotlib in python - I haven't seen a C implementation but then I haven't looked too hard either ;) I *think* matplotlib is intended to bring Matlab-style plotting functionality to Python.
I don't think I have had any problems exiting the gnuplot window. I usually use the developer command prompt from visual studio as an admin. I will try to reproduce your problem and get back to you.
@@oxyscbw1690 Sorry, I have just realised that I caused the issue. I added another string element to 'GnuCommands' forcing a replot in an infinite while loop in gnuplot ("while(1){ replot pause 5 }").
Hmmn doesn't work. I noticed parameter, "persitent" was incorrect. Any other corrections? I don't get a plot window. I see gnuplot in task manager as soon as "'_popen()" is called. But no "demo" window. If i type the commands directly into a cmd window then the "Demo" plot window shows. But not from the c program.
It worked, thank you. Only had to change parameter "-persistent" to "-persist".
I have received a project and this was very helpful. Thanks a lot.
Thank you! I spent like 3 days searching for instructions but couldnt find anything understandable
Thanks a lot, appreciate your style of explanation!
Man, honestly... Thank you! You saved a lot of time for me.
Great tool and tutorial! Thanks!
Is there an openGL type version, or similar? I'd like to give my program to others, but don't want them to need to install gnuPLOT.
It would be neat if a library were available for c++/c.
Pretty useful video for both linux and windows thanks!
Thank you. This is very helpful.
I had some issues with gnuplot 5.4.x, but reverted to 5.2.8 as suggested and all worked well.
I still have an issue with the gnuplot window not exiting cleanly and have to kill the process - any thoughts?
I have tried without the -persistent option and have also tried alternative terminals: qt and wxt ("set terminal qt" or "set terminal wxt"). The wxt option made no difference - I still had to kill the process, while qt made the persistent problem worse - I couldn't even kill the process!
For those discussing matplotlib in python - I haven't seen a C implementation but then I haven't looked too hard either ;)
I *think* matplotlib is intended to bring Matlab-style plotting functionality to Python.
I don't think I have had any problems exiting the gnuplot window. I usually use the developer command prompt from visual studio as an admin. I will try to reproduce your problem and get back to you.
@@oxyscbw1690 Sorry, I have just realised that I caused the issue. I added another string element to 'GnuCommands' forcing a replot in an infinite while loop in gnuplot ("while(1){
replot
pause 5
}").
Very well explained. Thanks for taking the time.
Great video, really helped. Thanks
Hmmn doesn't work. I noticed parameter, "persitent" was incorrect.
Any other corrections?
I don't get a plot window. I see gnuplot in task manager as soon as "'_popen()" is called. But no "demo" window.
If i type the commands directly into a cmd window then the "Demo" plot window shows. But not from the c program.
I fixed it and made a video (on my channel). Also i made it update as code variables get updated for interactive debug.
Here's the changes video: ruclips.net/video/hVzFQljGZZE/видео.html
why didn't you close any of the file pointer?
Can we do it into codeblock
your code no work in windows using zinjal
thanks alot
where can i find another useful commands?
There is a PDF in the GNUPLOT website