|
From: Thomas S. <t.s...@fz...> - 2010-06-03 18:37:25
|
the proper gnuplot command is: splot "yourdatafilename" using 1:2:($3+$4*$5) and plotting if s==0: splot "yourdatafilename" using 1:2:($6==0 ? $3+$4*$5 : 1/0) Stijn Souffriau-3 wrote: > > Hi, > > I would like to use gnuplot to plot functions implicitly contained in a > large > data table. However extracting the function tuple values, placing them in > columns and specifying the gnuplot plot commands is proving to be very > tedious > work. > > The table is made out of records containing various field. The same fields > are > in the same column. Kind of like in a database. Each column has a symbolic > name. The table might then look something like: > x, y, f, g, u, s, t > record 1 | 1, 2, 3, 4, 5 0, 3 > record 2 | ... > .... > > What I would like is a program or language in which I can state something > like: > > "plot x : y : ( f + g * u ) (x,y) ", where f, g and u are functions of > (x,y). > > The program should then be able to form the proper gnuplot commands to > plot > this. > > Furthermore it would be nice if I could impose restrictions on the > function > domains like "plot ( f + g * u ) (x,y) WHERE s==0". > > Does anyone know of any software that can do this? > > Thanks for reading > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/function-data-extraction-tp28767807p28771388.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |