Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3066

Filledcurves fails with datafile instead of function

Path csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ingo Thies <ingo.thies@gmx.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Filledcurves fails with datafile instead of function
Date Tue, 01 Sep 2015 17:27:58 +0200
Lines 33
Message-ID <d4lufqFs5hhU1@mid.individual.net> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace individual.net LkXe1cQLmmgERlB20a3SRg6UDXLOS8IB0WklhN4kysmCktvuzV
Cancel-Lock sha1:b717MpqZbyxx7v/JDNxJ/U++aos=
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Xref csiph.com comp.graphics.apps.gnuplot:3066

Show key headers only | View raw


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 | NextNext in thread | Find similar


Thread

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