From: Allin C. <cot...@wf...> - 2020-03-04 01:05:53
|
On Tue, 3 Mar 2020, Ethan A Merritt wrote: > On Tuesday, 3 March 2020 14:30:40 PST Allin Cottrell wrote: >> This question has been posed before (a few years back) but I'm >> hoping someone may be able to point me to the state-of-the-art, >> if there is such. >> >> I'd like to be able to produce via gnuplot a map of (for example) >> the USA showing the states colored by median income, or PM2.5 >> particulate emissions, or whatever. >> >> I understand that the starting point would be a suitable US states >> shapefile (I know where I can get that), which would have to be >> translated to a format (resembling world.dat, I suppose) that can be >> understood by gnuplot. I have some notion of how that might be done. >> >> The next issue would be to get gnuplot to colorize specified areas >> of the map according to the values of some additional data. >> Unfortunately I have little notion of how to do that. > > The development version of gnuplot supports > > splot <data> with polygons Thanks Ethan, and also Dima in this thread. This sounds promising! Right now I'm not sure when I'll find time to pursue this in depth, but I'm definitely interested and will push it when I can. Allin Cottrell |