From: Mahmood N. <nt_...@ya...> - 2013-09-04 05:20:33
|
I think awk is faster than strcol. Is that right? Regards, Mahmood ________________________________ From: Leo Butler <l_b...@us...> To: BBands <bb...@gm...> Cc: gnu...@li... Sent: Wednesday, September 4, 2013 12:53 AM Subject: Re: [Gnuplot-info] ploting if a special character exist in the line Another way is to use the string operator: stringcolumn(3) or the shorthand strcol(3). I should have seen that to start with. Thanks, I wasn't aware of this. So you would use plot "data.txt" u 1:(strcol($3) eq 'M' ? $2 : 1/0) Leo ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ gnuplot-info mailing list gnu...@li... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |