|
From: bsmile <dev...@gm...> - 2009-01-30 19:33:49
|
I have a data file with thousands of blocks of data, I can use plot 'file' u 2:3 index 1:1 to plot say the 1st block of data, I need to continuously plot the 2nd, 3rd .... of data on the same figure, cleaning the previous one when drawing the present one, till it reaches the end of the file. Between two plots, there should be an adjustable delay so as to give some visual effect. This is very helpful for me to track the evolution of the process. Meanwhile, if this animation could be saved as say .gif file, it would be great! I don't know whether it is possible to realize in gnuplot. Thanks for sharing your advices .. -- View this message in context: http://www.nabble.com/special-plot-need----continuously-plot-2D-graphs-from-one-data-file-tp21754123p21754123.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-01-30 21:17:15
|
you could use the 'reread' command: http://www.gnuplot.info/docs/node151.html bsmile wrote: > > I have a data file with thousands of blocks of data, I can use plot 'file' > u 2:3 index 1:1 to plot say the 1st block of data, I need to continuously > plot the 2nd, 3rd .... of data on the same figure, cleaning the previous > one when drawing the present one, till it reaches the end of the file. > Between two plots, there should be an adjustable delay so as to give some > visual effect. This is very helpful for me to track the evolution of the > process. Meanwhile, if this animation could be saved as say .gif file, it > would be great! I don't know whether it is possible to realize in gnuplot. > Thanks for sharing your advices .. > -- View this message in context: http://www.nabble.com/special-plot-need----continuously-plot-2D-graphs-from-one-data-file-tp21754123p21755782.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Jon <dev...@gm...> - 2009-01-31 02:59:13
|
Thanks so much! this is very promising and I will definite have a try. By the way, how about generating the sequence of plots into .gif file, or animated file On Fri, Jan 30, 2009 at 4:17 PM, Thomas Sefzick <t.s...@fz...>wrote: > > you could use the 'reread' command: > http://www.gnuplot.info/docs/node151.html > > > bsmile wrote: > > > > I have a data file with thousands of blocks of data, I can use plot > 'file' > > u 2:3 index 1:1 to plot say the 1st block of data, I need to continuously > > plot the 2nd, 3rd .... of data on the same figure, cleaning the previous > > one when drawing the present one, till it reaches the end of the file. > > Between two plots, there should be an adjustable delay so as to give some > > visual effect. This is very helpful for me to track the evolution of the > > process. Meanwhile, if this animation could be saved as say .gif file, it > > would be great! I don't know whether it is possible to realize in > gnuplot. > > Thanks for sharing your advices .. > > > > -- > View this message in context: > http://www.nabble.com/special-plot-need----continuously-plot-2D-graphs-from-one-data-file-tp21754123p21755782.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Jon <dev...@gm...> - 2009-01-31 05:01:58
|
Thanks, it works perfectly! On Fri, Jan 30, 2009 at 4:17 PM, Thomas Sefzick <t.s...@fz...>wrote: > > you could use the 'reread' command: > http://www.gnuplot.info/docs/node151.html > > > bsmile wrote: > > > > I have a data file with thousands of blocks of data, I can use plot > 'file' > > u 2:3 index 1:1 to plot say the 1st block of data, I need to continuously > > plot the 2nd, 3rd .... of data on the same figure, cleaning the previous > > one when drawing the present one, till it reaches the end of the file. > > Between two plots, there should be an adjustable delay so as to give some > > visual effect. This is very helpful for me to track the evolution of the > > process. Meanwhile, if this animation could be saved as say .gif file, it > > would be great! I don't know whether it is possible to realize in > gnuplot. > > Thanks for sharing your advices .. > > > > -- > View this message in context: > http://www.nabble.com/special-plot-need----continuously-plot-2D-graphs-from-one-data-file-tp21754123p21755782.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Thomas S. <t.s...@fz...> - 2009-01-31 10:43:27
|
either with gnuplot 'animate' option for the 'gif' terminal http://www.gnuplot.info/docs/node378.html or - if your gd library doesn't support this - externally with e.g. 'gifsicle': set term gif set out "| gifsicle -m -o out.gif -d 100 --multifile -" # do all the plot commands plot ... plot ... # at the end close the sequence set out bsmile wrote: > > Thanks so much! this is very promising and I will definite have a try. > > By the way, how about generating the sequence of plots into .gif file, or > animated file > > On Fri, Jan 30, 2009 at 4:17 PM, Thomas Sefzick > <t.s...@fz...>wrote: > >> >> you could use the 'reread' command: >> http://www.gnuplot.info/docs/node151.html >> >> >> bsmile wrote: >> > >> > I have a data file with thousands of blocks of data, I can use plot >> 'file' >> > u 2:3 index 1:1 to plot say the 1st block of data, I need to >> continuously >> > plot the 2nd, 3rd .... of data on the same figure, cleaning the >> previous >> > one when drawing the present one, till it reaches the end of the file. >> > Between two plots, there should be an adjustable delay so as to give >> some >> > visual effect. This is very helpful for me to track the evolution of >> the >> > process. Meanwhile, if this animation could be saved as say .gif file, >> it >> > would be great! I don't know whether it is possible to realize in >> gnuplot. >> > Thanks for sharing your advices .. >> > >> >> -- >> View this message in context: >> http://www.nabble.com/special-plot-need----continuously-plot-2D-graphs-from-one-data-file-tp21754123p21755782.html >> Sent from the Gnuplot - User mailing list archive at Nabble.com. >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> SourcForge Community >> SourceForge wants to tell your story. >> http://p.sf.net/sfu/sf-spreadtheword >> _______________________________________________ >> Gnuplot-info mailing list >> Gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/special-plot-need----continuously-plot-2D-graphs-from-one-data-file-tp21754123p21762001.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Jon <dev...@gm...> - 2009-01-31 18:21:01
|
Thanks so much! Thomas, it is so powerful, I like it much more now! On Sat, Jan 31, 2009 at 5:43 AM, Thomas Sefzick <t.s...@fz...>wrote: > > either with gnuplot 'animate' option for the 'gif' terminal > > http://www.gnuplot.info/docs/node378.html > > or - if your gd library doesn't support this - externally > with e.g. 'gifsicle': > > set term gif > set out "| gifsicle -m -o out.gif -d 100 --multifile -" > # do all the plot commands > plot ... > plot ... > # at the end close the sequence > set out > > > bsmile wrote: > > > > Thanks so much! this is very promising and I will definite have a try. > > > > By the way, how about generating the sequence of plots into .gif file, or > > animated file > > > > On Fri, Jan 30, 2009 at 4:17 PM, Thomas Sefzick > > <t.s...@fz...>wrote: > > > >> > >> you could use the 'reread' command: > >> http://www.gnuplot.info/docs/node151.html > >> > >> > >> bsmile wrote: > >> > > >> > I have a data file with thousands of blocks of data, I can use plot > >> 'file' > >> > u 2:3 index 1:1 to plot say the 1st block of data, I need to > >> continuously > >> > plot the 2nd, 3rd .... of data on the same figure, cleaning the > >> previous > >> > one when drawing the present one, till it reaches the end of the file. > >> > Between two plots, there should be an adjustable delay so as to give > >> some > >> > visual effect. This is very helpful for me to track the evolution of > >> the > >> > process. Meanwhile, if this animation could be saved as say .gif file, > >> it > >> > would be great! I don't know whether it is possible to realize in > >> gnuplot. > >> > Thanks for sharing your advices .. > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/special-plot-need----continuously-plot-2D-graphs-from-one-data-file-tp21754123p21755782.html > >> Sent from the Gnuplot - User mailing list archive at Nabble.com. > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> This SF.net email is sponsored by: > >> SourcForge Community > >> SourceForge wants to tell your story. > >> http://p.sf.net/sfu/sf-spreadtheword > >> _______________________________________________ > >> Gnuplot-info mailing list > >> Gnu...@li... > >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > >> > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by: > > SourcForge Community > > SourceForge wants to tell your story. > > http://p.sf.net/sfu/sf-spreadtheword > > _______________________________________________ > > Gnuplot-info mailing list > > Gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > > > > -- > View this message in context: > http://www.nabble.com/special-plot-need----continuously-plot-2D-graphs-from-one-data-file-tp21754123p21762001.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |