Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #447 > unrolled thread
| Started by | Ingo Thies <ingo.thies@gmx.de> |
|---|---|
| First post | 2011-07-18 09:25 +0200 |
| Last post | 2011-07-18 23:27 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Filledcurves with functions? Ingo Thies <ingo.thies@gmx.de> - 2011-07-18 09:25 +0200
Re: Filledcurves with functions? Ingo Thies <ingo.thies@gmx.de> - 2011-07-18 15:28 +0200
Re: Filledcurves with functions? sfeam <sfeam@users.sourceforge.net> - 2011-07-18 09:53 -0700
Re: Filledcurves with functions? Ingo Thies <ingo.thies@gmx.de> - 2011-07-18 23:27 +0200
| From | Ingo Thies <ingo.thies@gmx.de> |
|---|---|
| Date | 2011-07-18 09:25 +0200 |
| Subject | Filledcurves with functions? |
| Message-ID | <98i5fnFhe3U1@mid.individual.net> |
Hi, is there a way to use the filledcurves style with two functions (between them the curve is to be filled) instead of data files? gnuplot.pdf suggests that fill between two curves is only possible for two data sets, but this would be a quite strong restriction, since single-curve fill (i.e. between curve and axis) is possible even with functions. Another possibility would be the use of "set table", but this would require to write more than two data columns, and I cannot see how to do this. Plotting multiple datasets results in multiple data blocks rather than multiple y columns. Therefore, the only way I can see now is to invoke an external program or to manually edit the written table. Any hints? Ingo
[toc] | [next] | [standalone]
| From | Ingo Thies <ingo.thies@gmx.de> |
|---|---|
| Date | 2011-07-18 15:28 +0200 |
| Message-ID | <98iqnhFl5uU1@mid.individual.net> |
| In reply to | #447 |
I wrote: > Another possibility would be the use of "set table", but this would OK, works well with parametric splot, but still dirty compared to a direct fill between two functions. Since other scripts in the web are using table & parametric for plotting filledcurve functions, this indeed implies that there is currently no direct way. Best wishes, Ingo
[toc] | [prev] | [next] | [standalone]
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Date | 2011-07-18 09:53 -0700 |
| Message-ID | <j01odd$jj$1@dont-email.me> |
| In reply to | #447 |
Ingo Thies wrote: > Hi, > > is there a way to use the filledcurves style with two functions (between > them the curve is to be filled) instead of data files? gnuplot.pdf > suggests that fill between two curves is only possible for two data > sets, but this would be a quite strong restriction, since single-curve > fill (i.e. between curve and axis) is possible even with functions. set xrange [0:10] plot '+' using 1:(sin($1)):(cos($1)) with filledcurves See 'help special-filenames' > > Another possibility would be the use of "set table", but this would > require to write more than two data columns, and I cannot see how to do > this. Plotting multiple datasets results in multiple data blocks rather > than multiple y columns. > > Therefore, the only way I can see now is to invoke an external program > or to manually edit the written table. > > Any hints? > > Ingo
[toc] | [prev] | [next] | [standalone]
| From | Ingo Thies <ingo.thies@gmx.de> |
|---|---|
| Date | 2011-07-18 23:27 +0200 |
| Message-ID | <98jmpiFm2qU1@mid.individual.net> |
| In reply to | #449 |
Am 2011-07-18 18:53, schrieb sfeam: > set xrange [0:10] > plot '+' using 1:(sin($1)):(cos($1)) with filledcurves > > See 'help special-filenames' A thanks, I've never been fully aware of these special filenames (and others too, since the detour over parametric splot & table is being used by several scripts shown in the web). Best wishes, Ingo
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web