Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3854
| Path | csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Karl Ratzsch <mail.kfr@gmx.net> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Variable fill color for polygons when using "filledcurves closed" |
| Date | Wed, 10 Jan 2018 09:11:56 +0100 |
| Organization | solani.org |
| Lines | 42 |
| Message-ID | <p34hsd$c0d$1@solani.org> (permalink) |
| References | <7b902302-835d-46a6-bd9a-171afd215668@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | solani.org 1515571917 12301 eJwFwYEBwDAEBMCVpPiPcSj2HyF3rjj4aXCYry9iVEqUlCzLymHHGUSg0yQaF5v2FSh6vR8ZrhDb (10 Jan 2018 08:11:57 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Wed, 10 Jan 2018 08:11:57 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
| Content-Language | de-DE-1901 |
| In-Reply-To | <7b902302-835d-46a6-bd9a-171afd215668@googlegroups.com> |
| Cancel-Lock | sha1:4oldRyWAft/U8+YTVl1PWDePJl4= |
| X-User-ID | eJwNx8EBwCAIA8CVMEIi4xQp+4/Q3u9ic/HKGfSYGNOfVlK9YWAbzlvTuarxQObjuMozUrH4AQ0lELA= |
| X-NNTP-Posting-Host | eJwNyckRwCAMBLCWQrxHXA4G3H8J4acZMTS0DFFgsxv0uUpgh4t1+GDPCrzz1sjObzlNRFqtHxRwEGk= |
| Xref | csiph.com comp.graphics.apps.gnuplot:3854 |
Show key headers only | View raw
Am 10.01.2018 um 04:43 schrieb Hua Tong: > 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: > What I get is that the edge of each polygon is colored according to the third column, but not the filled color. (gnuplot version? following is done with 5.2pl2) Hm, the following fills the polygons with the demanded colour alright. The last polygon breaks open if you remove the empty line behind it. Looks like a separate bug to me. =========== $dat << EOD 1 1 10 1 2 10 2 2 10 2 1 10 3 1 20 3 2 20 4 2 20 4 1 20 1 3 40 1 4 40 2 4 40 2 3 40 EOD #set yr [20:35] #plot $dat u 1:2:3 w filledcurves closed fillcolor palette plot $dat u 1:2:3 w filledcurves closed palette # does the same ============ If you uncomment the yr setting, the filling becomes monochrome, however. Seems "palette" and "filledcurves" don't agree on how to use the value in the third column. All in all, also after trying to find it in the help, i think this is not really supposed to work.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
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