Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1980 > unrolled thread
| Started by | tobiasweh@gmail.com |
|---|---|
| First post | 2013-08-19 13:55 -0700 |
| Last post | 2013-08-22 16:14 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Don’t write coors outside yrange to table tobiasweh@gmail.com - 2013-08-19 13:55 -0700
Re: Don’t write coors outside yrange to table Karl <mail.kfr@gmx.net> - 2013-08-20 09:22 +0200
Re: Don’t write coors outside yrange to table tobiasweh@gmail.com - 2013-08-22 05:16 -0700
Re: Don’t write coors outside yrange to table Karl <mail.kfr@gmx.net> - 2013-08-22 16:14 +0200
| From | tobiasweh@gmail.com |
|---|---|
| Date | 2013-08-19 13:55 -0700 |
| Subject | Don’t write coors outside yrange to table |
| Message-ID | <f50d2f39-6c59-46da-a33a-d22fc3a2ac22@googlegroups.com> |
Hi, I wonder if it is possible to writ only the values that are inside the xrange and the grange to a table. I know that gnuplot writs an i or an o in the last column of the table but I need a table with only i rows. Is that possible. This is a little script creating a table with i and o rows: set table "test.txt" set xrange[0:10] set yrange[0:5] plot x Kind regards Tobi PS: I’m calling gnuplot via TikZ form inside LaTeX, so a gnulot external script won’T help that much.
[toc] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2013-08-20 09:22 +0200 |
| Message-ID | <kuv5fh$c2o$1@news.rz.uni-karlsruhe.de> |
| In reply to | #1980 |
Am 19.08.2013 22:55, schrieb tobiasweh@gmail.com: > Hi, > > I wonder if it is possible to writ only the values that are inside the xrange and the grange to a table. I know that gnuplot writs an i or an o in the last column of the table but I need a table with only i rows. Is that possible. > > This is a little script creating a table with i and o rows: > > set table "test.txt" > set xrange[0:10] > set yrange[0:5] > plot x > > Kind regards > Tobi > > PS: I’m calling gnuplot via TikZ form inside LaTeX, so a gnulot external script won’T help that much. > No. Would be nice to have, though : http://sourceforge.net/p/gnuplot/feature-requests/341/ You could try to exclude the unwanted values with "every", if you know where they are in your dataset, ie. if your dataset was linear in x. Karl
[toc] | [prev] | [next] | [standalone]
| From | tobiasweh@gmail.com |
|---|---|
| Date | 2013-08-22 05:16 -0700 |
| Message-ID | <9c4ca681-fe6d-4342-83f6-ceaf3369a2bd@googlegroups.com> |
| In reply to | #1981 |
Thanks. My o values are all at the beginning of the table, then only i values follow. Could you explain what I can do with “every”?
[toc] | [prev] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2013-08-22 16:14 +0200 |
| Message-ID | <kv56cd$npp$1@news.rz.uni-karlsruhe.de> |
| In reply to | #1990 |
Am 22.08.2013 14:16, schrieb tobiasweh@gmail.com: > Thanks. My o values are all at the beginning of the table, then only i values follow. Could you explain what I can do with “every”? > If the "i" values start in row, say, 5, then you do plot "" every ::5 see "help every" If you don´t know where they start, you can find out with this: stat "test.txt" us (stringcolumn(3) eq "o"?$0:0) plot "" every ::STATS_index_max+1
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web