|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
gnuplot script aideHI everybody, i try to doia script in order to plot all the data files that i have in a folder, i have an idea but it doesn't works i followed this article to do it http://article.gmane.org/gmane.comp.graphics.gnuplot.user/2245/match=plot+arguments #!/bin/bash for fname in *.txt ; do gnuplot << \EOF set term png color set out "$fname" set autoscale unset label set title "COMMUNICATIONS" plot '$fname. using :5 w impulses pause -1 EOF done this is the errro message that i have line 0: no data point found in specified file please does anybody help me thanks _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gnuplot-info mailing list Gnuplot-info@... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
|
Re: gnuplot script aide> ..
>set out "$fname" > .. > plot '$fname' using :5 w impulses > .. > this is the errro message that i have > line 0: no data point found in specified file maybe you should choose another filename for the output file, other than the name of the input file... actually you are overwriting the input file. |
|
|
|
|
|
Re: gnuplot script aide> Thanks for your answers but i have the same
> error message and i'm not overwriting the input file > > gnuplot> plot '$fname' using :5 w impulses > ^ > line 0: no data point found in specified file could you post one of your datafiles (or a few lines of it, if it's too large) as an example? |
|
|
Re: gnuplot script aideHi his is an example of my data file: 172.184.16.28.1248 172.184.18.130.1238 12935187 c8 1523 0 2.83 30.53 172.184.16.22.1230 172.184.18.118.1250 19439623 c8 280 0 2.29 5.59 172.184.16.67.1332 172.184.18.36.1336 2159070478 c8 3017 0 3.02 65.172 172.184.16.70.1226 172.184.18.12.1230 11603713 c8 47 0 1.97 0.90 172.184.16.13.1246 172.184.18.114.1254 38252043 c8 1419 0 2.65 28.51 172.184.16.16.1228 172.184.18.88.1238 2150660365 c8 3275 0 2.83 65.47 172.184.16.5.1232 172.184.18.43.1328 2183082516 c8 4961 0 2.96 99.37 172.184.16.138.1232 172.184.18.130.1240 2626056 c8 6127 0 2.73 130.07 172.184.16.131.1330 172.184.18.135.1240 2042626 c8 854 0 3.36 16.93 172.184.16.31.1234 172.184.18.132.1256 2157714700 c8 3041 0 2.36 60.80 172.184.16.32.1228 172.184.18.142.1244 2185821187 c8 8257 0 2.63 165.24 172.184.16.83.1336 172.184.18.50.1236 2158979849 c8 18153 0 2.70 363.20 172.184.16.99.1334 172.184.18.121.1338 2150050580 c8 1518 0 3.12 30.27 172.184.16.86.1334 172.184.18.70.1336 2168939271 c8 12788 0 2.86 255.90 172.184.16.5.1352 172.184.18.20.1340 21501722796 c8 17242 0 2.79 20.86 172.184.16.77.1242 172.184.18.138.1336 2150572811 c8 517 0 2.73 13.95 and this is my script #!/bin/bash filelist='ls -l *.txt' for fname in filelist ; do gnuplot << \EOF set term png color set out "$fname.png" set autoscale unset label set title "COMMUNICATIONS" plot '$fname' using :5 w impulses EOF done i think it doesn't care the "for" or the fname variable thanks ---------------------------------------- > Date: Sat, 31 May 2008 01:46:35 -0700 > From: t.sefzick@... > To: gnuplot-info@... > Subject: Re: [Gnuplot-info] gnuplot script aide > > >> Thanks for your answers but i have the same >> error message and i'm not overwriting the input file >> >> gnuplot> plot '$fname' using :5 w impulses >> ^ >> line 0: no data point found in specified file > > could you post one of your datafiles (or a few lines > of it, if it's too large) as an example? > > -- > View this message in context: http://www.nabble.com/gnuplot-script-aide-tp17559031p17573244.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gnuplot-info mailing list > Gnuplot-info@... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gnuplot-info mailing list Gnuplot-info@... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
|
Re: gnuplot script aidetry this script (works here without problems):
#!/bin/bash filelist=`ls -1 *.txt` for fname in $filelist ; do echo $fname gnuplot << EOF set term png set out "$fname.png" set autoscale unset label set title "COMMUNICATIONS" plot '$fname' using :5 w impulses EOF done |
|
|
Re: gnuplot script aideHi Miguel,
try this script, #!/bin/bash filelist=`ls *.txt` for fname in $filelist ; do gnuplot << EOF set term png
set out '$fname.png'
Find yourself the changes! ;)set autoscale unset label set title "COMMUNICATIONS" plot '$fname' using :5 w impulses EOF done Diego On Mon, Jun 2, 2008 at 10:15 AM, miguel olivares varela <klica_sk8@...> wrote:
-- Diego Villuendas Pellicero was here. But, where on hell is "here"? Here, "Here" is always here! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Gnuplot-info mailing list Gnuplot-info@... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
|
legend (how to make the sample curve shorter?)Hi there,
I would like to make shorter the line in the legend (the sample curve) how can I set that? thanks a lot, Julien ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Gnuplot-info mailing list Gnuplot-info@... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
|
ORTHOGRAPHIC projections vs perspectivesHi all!
Is it possible to specify if we wnat an orthigraphic projection of a 3d object (plot with splot) with Gnuplot? thanks very much if you have the info! Julien ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Gnuplot-info mailing list Gnuplot-info@... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
|
Re: ORTHOGRAPHIC projections vs perspectivesJulien Derr wrote:
> Is it possible to specify if we wnat an orthigraphic projection of a > 3d object (plot with splot) with Gnuplot? gnuplot is not a general-purpose 3D engine, it's a plotting program. As such, it always does parallel projection. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Gnuplot-info mailing list Gnuplot-info@... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
| Free embeddable forum powered by Nabble | Forum Help |