Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3066
| From | Ingo Thies <ingo.thies@gmx.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Filledcurves fails with datafile instead of function |
| Date | 2015-09-01 17:27 +0200 |
| Message-ID | <d4lufqFs5hhU1@mid.individual.net> (permalink) |
Dear all,
since the update from 5.0.0 to 5.0.1 (Mac OS-X 10.10, Fink) plotting
with filledcurves fails with data file while it continues to work with
functions. Maybe there is a trick which I didn't recognize yet.
Sample script:
f(x)=-(x-5.)**2+6 # some function giving an arc-like curve
set xrange [0:10]
set yrange [0:7]
## Works with function
plot f(x) notitle w filledcurves below y=7. lc rgb "blue",\
f(x) t 'f(x)' w l lc rgb "#ff0000"
pause -1
##fails with data
plot 'test.dat' u 1:2 notitle w filledcurves below y=7. lc rgb "blue",\
'test.dat' t 'file' w l lc rgb "#ff0000"
Let test.dat contain this peak-like data points
0. 0.
2. 1.
4. 4.
6. 6.
8. 3.
10. 0.
Best wishes,
Ingo
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Filledcurves fails with datafile instead of function Ingo Thies <ingo.thies@gmx.de> - 2015-09-01 17:27 +0200
Re: Filledcurves fails with datafile instead of function Karl Ratzsch <mail.kfr@gmx.net> - 2015-09-01 20:11 +0200
Re: Filledcurves fails with datafile instead of function Ingo Thies <ingo.thies@gmx.de> - 2015-09-01 20:32 +0200
Re: Filledcurves fails with datafile instead of function Karl Ratzsch <mail.kfr@gmx.net> - 2015-09-02 13:15 +0200
csiph-web