Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #903
| From | Gudrun <bestenborstel@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Plotting a range accorrding to given numbers |
| Date | 2012-02-03 15:59 +0000 |
| Organization | albasani.net |
| Message-ID | <jgh08u$7m4$1@news.albasani.net> (permalink) |
| References | <jg98if$kbi$1@news.albasani.net> <9or4tsFmgjU2@mid.dfncis.de> |
Dear Hans-Bernhard, sorry for my mis-explanation. x is the second column in the example below, y the third. The first column is the index. I just want to plot x-column, y-column, and error-column with the help of the index-column. Let's say index_1=2 (second line) and index_2=4 (last line). Is there a command to plot x(index_1..index2) vs. y(index_1..index_2), meaning that the following is only plotted: x y 2 10 3 20 4 30 Is this now by any chance better explained? Sorry. Thank you for your help. G. Am 31.01.12 21:31, schrieb Hans-Bernhard Bröker: > On 31.01.2012 18:31, Gudrun wrote: >> Dear all >> >> Let's assume you have data given in such a form >> x y yerr >> 1 2 12 1 >> 2 10 10 1 >> 3 20 13 2 >> 4 30 14 1 >> >> The first column is basically the counter/index for all other columns. >> Can I tell gnuplot somehow to plot x(1:3), meaning plotting points 1 to >> 3 for columns x and also for y and yerr? I don't want to take care about >> the values, I would like to assign this by index. > > You're not being terribly clear, but it seems like you might be > searching for 'help every', particularly > > plot 'file' every ::0::2 >
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
Plotting a range accorrding to given numbers Gudrun <bestenborstel@gmail.com> - 2012-01-31 17:31 +0000
Re: Plotting a range accorrding to given numbers Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-01-31 22:31 +0100
Re: Plotting a range accorrding to given numbers Gudrun <bestenborstel@gmail.com> - 2012-02-03 15:59 +0000
Re: Plotting a range accorrding to given numbers Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-02-04 18:43 +0100
Re: Plotting a range accorrding to given numbers Gudrun <bestenborstel@gmail.com> - 2012-02-06 12:07 +0000
Re: Plotting a range accorrding to given numbers Hermann Peifer <peifer@gmx.eu> - 2012-02-09 05:43 +0100
csiph-web