|
From: Ethan A M. <merritt@u.washington.edu> - 2008-11-08 16:31:08
|
On Saturday 08 November 2008, m sutton wrote: > Hi all, > > I was trying to plot a single data file with multiple indexes. I > want to plot some indexes with lines and some with points. I tried > the following in a 4.3 CVS snapshot: > > list="points lines points" > plot for [j=1:3] 'data' with word(list,j) > > I thought the word() command would be expanded much like it does for > title. However it just results in an expecting error. > > Should the word() command be expanded in the above situation? If so, > would that be difficult to implement? There is still a fundamental difference between a keyword and a string value. Your failed command did get expanded, but the expanded form is equivalent to plot 'data' with "points", '' with "lines", ... which isn't a legal command. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |