Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #707
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | sfeam <sfeam@users.sourceforge.net> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Plot a geographical map with gradient color |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | Fri, 25 Nov 2011 14:31:41 -0800 |
| Organization | gnuplot development team |
| Lines | 23 |
| Message-ID | <jap5ek$qrn$2@dont-email.me> (permalink) |
| References | <d88336ee-b650-4091-a183-8d652a6dec55@y12g2000vba.googlegroups.com> |
| Reply-To | sfeam@users.sourceforge.net |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| Injection-Date | Fri, 25 Nov 2011 22:39:16 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="3mhAfh4CeAIeL3OKnPexDA"; logging-data="27511"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cCb3zRx4fsXhHJc4bNsKD" |
| User-Agent | KNode/4.4.9 |
| Cancel-Lock | sha1:70r1XAImYlVmB+Qk6YbWPe2EM7E= |
| Xref | x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:707 |
Followups directed to: comp.graphics.apps.gnuplot
Show key headers only | View raw
Gerard Sookahet wrote:
> Hello,
>
> I plot a geographical map with state boundaries from coordinates data
> file :
>
> plot 'map.dat' u 1:2 w l, \
> 'map.dat' u 3:4 w l, \
> 'map.dat' u 5:6 w l, \
> 'map.dat' u 7:8 w l, \
> [....]
>
> If values are associated to states (polygons), is there a way to color
> them with a gradient color palette ?
> A kind of choropleth map (http://en.wikipedia.org/wiki/
> Choropleth_map).
Maybe
set palette ... (pick a gradient scheme you like)
plot 'map.dat' using 1:2 w filledcurves lt palette fraction <val1>,
'' u 3:4 w filledcurves lt palette fraction <val2>,
...
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
Plot a geographical map with gradient color Gerard Sookahet <gersoo@gmail.com> - 2011-11-25 09:24 -0800 Re: Plot a geographical map with gradient color sfeam <sfeam@users.sourceforge.net> - 2011-11-25 14:31 -0800
csiph-web