|
From: Thomas S. <t.s...@fz...> - 2010-01-29 19:29:54
|
use the 'sprintf()' function or put an empty string in front: "".i."/namefile" warpino wrote: > > Hi all, > > I want to plot some files with the same name located in some progressively > number folders (i.e.: 1, 2, 3, 4 ...) all at the same path level. So, > starting from the parent directory I do a > > plot for[i=1:4] i."/namefile" u 1:3 w linespoints > > but then I get: > > internal error : STRING operator applied to non-STRING type > > Is there a way to solve this? It is a bit strange, cause if I have some > progressively numbered files, instead: namefile1, namfile2, namfile3, and > so forth, I can do - from the directory where files are: > > plot for[i=1:3] "namefile".i u 1:3 w linesp > > and get the result I want. Do you have any idea? > > Thanks, > > N. > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/automatic-iteration-plot---folder-name-tp27376189p27376860.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |