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


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

Variable fill color for polygons when using "filledcurves closed"

X-Received by 10.107.21.65 with SMTP id 62mr11949918iov.7.1515555835957; Tue, 09 Jan 2018 19:43:55 -0800 (PST)
X-Received by 10.157.78.7 with SMTP id p7mr319713otf.5.1515555835824; Tue, 09 Jan 2018 19:43:55 -0800 (PST)
Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!g80no2197437itg.0!news-out.google.com!b73ni7207ita.0!nntp.google.com!i6no2201927itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Tue, 9 Jan 2018 19:43:55 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=157.82.146.26; posting-account=RsC8jQoAAACzVFV1e-v1rKa8kHl_BUUU
NNTP-Posting-Host 157.82.146.26
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <7b902302-835d-46a6-bd9a-171afd215668@googlegroups.com> (permalink)
Subject Variable fill color for polygons when using "filledcurves closed"
From Hua Tong <tonghuagg@gmail.com>
Injection-Date Wed, 10 Jan 2018 03:43:55 +0000
Content-Type text/plain; charset="UTF-8"
Lines 19
Xref csiph.com comp.graphics.apps.gnuplot:3853

Show key headers only | View raw


I want to plot polygons with filled color according to some variable defined, e.g., in third column.
In short, the data format is as below:
0.16658205E+02 0.29610505E+02 0.13685260E+01 1
0.15732364E+02 0.29916967E+02 0.13685260E+01 1
0.15111388E+02 0.28956940E+02 0.13685260E+01 1
0.16658205E+02 0.29610505E+02 0.13685260E+01 1

0.12330652E+02 0.32410390E+02 0.13104752E+01 2
0.11806368E+02 0.31577728E+02 0.13104752E+01 2
0.12629825E+02 0.30750973E+02 0.13104752E+01 2
0.12330652E+02 0.32410390E+02 0.13104752E+01 2
......
The command that I use is as below:
p "data" u 1:2:3 w filledcurves closed fillcolor palette
What I get is that the edge of each polygon is colored according to the third column, but not the filled color.

I searched and found this https://sourceforge.net/p/gnuplot/feature-requests/411/, where someone seemed to have the same problem but solution is not clear. 

I'd be grateful if anyone knows that trick.
Thanks in advance.

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Variable fill color for polygons when using "filledcurves closed" Hua Tong <tonghuagg@gmail.com> - 2018-01-09 19:43 -0800
  Re: Variable fill color for polygons when using "filledcurves closed" Karl Ratzsch <mail.kfr@gmx.net> - 2018-01-10 09:11 +0100
    Re: Variable fill color for polygons when using "filledcurves closed" Ethan A Merritt <EAMerritt@gmail.com> - 2018-01-10 08:36 -0800
      Re: Variable fill color for polygons when using "filledcurves closed" Ethan Merritt <sfeam@users.sf.net> - 2018-01-10 18:10 +0000

csiph-web