gnuplot Tutorial 4: Animated gifs and STATS (statistical summary)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

ความคิดเห็น • 21

  • @timmattack
    @timmattack 9 หลายเดือนก่อน

    Still working today !!
    For an algorithme class projetct, i have to search for the shortest path in a graph of n points.
    Anyway, here comes the moment where you want to display your result, and with my friend we were like "It could be so great if you could display the points you take one by one".
    Thanks to this tutorial, i know how to organize my file, and what commands to use to create a *maginficient* gif that shows the path point by point xdd
    Thank you so much for your tutorial !!

  • @dintomonjoy1747
    @dintomonjoy1747 3 ปีที่แล้ว

    really cool... Thank you for uploading this video...

  • @РассадинАлександр-к6к
    @РассадинАлександр-к6к 2 ปีที่แล้ว

    Thank you. Useful video!

  • @MrRollinmusic
    @MrRollinmusic 3 ปีที่แล้ว

    thanks a lot!
    I really appreciate your video :D

  • @denisgouvealadeira6597
    @denisgouvealadeira6597 4 ปีที่แล้ว +1

    Great tutorial! Thank you!

  • @HardcoreMusik
    @HardcoreMusik 4 ปีที่แล้ว

    At 4:55 you modify the date file. But i don´t want this. So is there a way to plot only things that i want ? My LOG file have date time and data in onle line. In your example i oly want the temperature at day 01 and 02 a clock

  • @Quarkee
    @Quarkee 4 ปีที่แล้ว +1

    Hi. Sorry to bother but can you do this with a variable instead? like instead of the y moving, it's a variable like a that has to change over time, to create an animation?
    As an example: Let's say I want to animate a wave function going like this:
    (am*sin(sqrt((x-xo)**2+(y+yo)**2)*f+an))+(am*sin(sqrt((x+xo)**2+(y+yo)**2)*f+an))
    where the only flexible variable is an that moves from 0 to 6.28. (I just recently started and has no idea how any of this works)
    [Edit: Nvm I figured it out. Just had to add y into the f(x, i*0.1) to make it f(x,y,i*0.1) and set f(x,y,an)=[equation] thus making an the changing variable. But thank you so much for this video. Extremely helpful]

  • @furter189
    @furter189 4 ปีที่แล้ว +1

    Is there any way of keeping the xrange intact, and show a function like it was been drawn point by point with each frame?

  • @punitnagpure6291
    @punitnagpure6291 4 ปีที่แล้ว

    You explain well , I did same as you explain but don't get any output from gnu please help me

  • @ZohanSyahFatomi
    @ZohanSyahFatomi 5 ปีที่แล้ว +1

    I have question, assume that i have 3 coordinate which always change with a time. Is this possible to make that 3-dimention (x(t),y(t),z(t)) dynamics motion film in gnuplot? in 1 graphich

    • @MathAndPhysics
      @MathAndPhysics  5 ปีที่แล้ว +1

      Plotting one or more points in 3d can be done with the "splot" command. Try "splot "data.dat" u 1:2:3". Chaining 3d plots together in a gif should just work like the 2d case. Make sure your datafile has 3 columns, use the splot command and follow the tutorial for everything else and I think the result should be what you want.

  • @ZohanSyahFatomi
    @ZohanSyahFatomi 5 ปีที่แล้ว

    nice video bro ...

  • @arnob2712
    @arnob2712 4 ปีที่แล้ว

    Thanks a lott!!

  • @danielvolinski8319
    @danielvolinski8319 5 ปีที่แล้ว

    Is there any way to manipulate the data from within gnuplot instead of doing it with other tools?
    Thanks.

  • @mahmoudsoliman8565
    @mahmoudsoliman8565 4 ปีที่แล้ว

    Please i have question regarding the software that you are using to open the txt or dat files i only have the notepad which is not very handy to edit the data

    • @olaflieser3812
      @olaflieser3812 3 ปีที่แล้ว

      There are many good ones available. I assume you use a windows machine (hence the question), there ist "notepad++", which has nice editing features for config and numbers files, and it is free as well. Other alternatives are available, and on any platform

  • @zavitsanospanos1794
    @zavitsanospanos1794 5 ปีที่แล้ว

    fucking great mate !

  • @alejandrodeharo9509
    @alejandrodeharo9509 4 ปีที่แล้ว

    help
    gnuplot> cd 'C:\gif'
    ^
    Can't change to this directory

    • @MathAndPhysics
      @MathAndPhysics  4 ปีที่แล้ว

      You probably don't have that folder on your PC. If you want to replicate the first example with the wave function just ignore this command. If you want to create a gif from a datafile that datafile has to be located in some directory, which we tell to gnuplot by the "cd" command (the directory C:\gif is where I put my datafile). I also explain this at the beginning of the first tutorial, you might want to take a look at that. Hope this helps.

    • @alejandrodeharo9509
      @alejandrodeharo9509 4 ปีที่แล้ว

      @@MathAndPhysics thanks men

  • @Poutoksereiseimaigw
    @Poutoksereiseimaigw 3 ปีที่แล้ว

    i get this warning and i dont know why
    warning: Skipping data file with no valid points