|
From: Thomas S. <t.s...@fz...> - 2009-02-06 15:55:59
|
it's a timing problem, with 'set term x11' nothing is plotted for 'a' (because 'a' is empty when '@a' is executed), a second '@a' typed in at the prompt results in a plot. the same applies to 'b'. Petr Mikulik wrote: > > There is a strange error happening with a not-yet-used variable: > > gnuplot> load 'bug.gp' > "bug.gp", line 4: warning: b is not a string variable > > where bug.gp: > > set macros > a='' > if (1) a="plot x"; @a > if (1) b="plot x*x"; @b > > --- > PM > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code > to > build responsive, highly engaging applications that combine the power of > local > resources and data with the reach of the web. Download the Adobe AIR SDK > and > Ajax docs to start building applications > today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > -- View this message in context: http://www.nabble.com/if-%281%29-b%3D%22plot-x*x%22--%40b-tp21871348p21875202.html Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |