Visualize Data in C\C++ with gnuplot in windows

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 22

  • @annyciamonteiro6146
    @annyciamonteiro6146 Год назад

    It worked, thank you. Only had to change parameter "-persistent" to "-persist".

  • @armandash9753
    @armandash9753 3 года назад +2

    I have received a project and this was very helpful. Thanks a lot.

  • @Pompicz
    @Pompicz 2 года назад

    Thank you! I spent like 3 days searching for instructions but couldnt find anything understandable

  • @ДмитрийСимакин-ь2л
    @ДмитрийСимакин-ь2л 9 месяцев назад

    Thanks a lot, appreciate your style of explanation!

  • @sorooshn8438
    @sorooshn8438 2 года назад

    Man, honestly... Thank you! You saved a lot of time for me.

  • @TheRainHarvester
    @TheRainHarvester 2 года назад +1

    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.

  • @brunouribe8987
    @brunouribe8987 3 года назад +1

    Pretty useful video for both linux and windows thanks!

  • @davidpayne6709
    @davidpayne6709 3 года назад +1

    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.

    • @oxyscbw1690
      @oxyscbw1690  3 года назад

      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.

    • @davidpayne6709
      @davidpayne6709 3 года назад

      @@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
      }").

  • @sankhanilnayek9345
    @sankhanilnayek9345 2 года назад

    Very well explained. Thanks for taking the time.

  • @1996smashing
    @1996smashing Год назад

    Great video, really helped. Thanks

  • @TheRainHarvester
    @TheRainHarvester 2 года назад

    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.

    • @TheRainHarvester
      @TheRainHarvester 2 года назад

      I fixed it and made a video (on my channel). Also i made it update as code variables get updated for interactive debug.

    • @TheRainHarvester
      @TheRainHarvester 2 года назад

      Here's the changes video: ruclips.net/video/hVzFQljGZZE/видео.html

  • @MesbahSalekeen
    @MesbahSalekeen 2 года назад

    why didn't you close any of the file pointer?

  • @siddhantpatil3578
    @siddhantpatil3578 2 года назад

    Can we do it into codeblock

  • @TheLurleenGamespro
    @TheLurleenGamespro Год назад

    your code no work in windows using zinjal

  • @xnightmare5776
    @xnightmare5776 3 года назад

    thanks alot
    where can i find another useful commands?

    • @SLguitarGuy
      @SLguitarGuy 3 года назад +2

      There is a PDF in the GNUPLOT website