|
From: Thomas S. <t.s...@fz...> - 2010-08-11 10:09:08
|
you need to store the t(1) value in a variable: plot 'timings' using 1:($0==0?v=$2:0 , v/$2) with linespoints michael bane wrote: > > Afternoon fellow GNUs! > > Maybe I've missed something, being a new convert to gnuplot, but I > wish to read in some data (NumOfCores,Seconds) and plot 2 graphs. The > first graph is Seconds (y-axis) against NumOfCores and I've managed. > However, the second graph is to plot the speed-up, defined on p cores > as t(1)/t(p) where t(p) is the time taken on p cores. I can't find the > correct syntax, eg I failed with > plot 'timings' using 1:($2[1]/$2) with linespoints > > Could somebody explain what I should be doing? > > Many thanks, > Michael > www.rcs.manchester.ac.uk > www.twitter.com/mkbane_mcr > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/how-to-plot-series-divided-by-element-of-series-tp29402930p29406773.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |