-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving graphics in diagnostics plots #6
Comments
I'm almost done with the proxy-location-overlay function. Do you have the hex values for the colors of the proxy markers? |
I have the svg color names, which python understands. I'll send you the code snippet in a few.
One improvement we could make is that some of my markers are not unique. I think matplotlib's vocabulary is a bit larger than Matlab's, so we can make them unique in python.
J
|
I've made a script which overlays proxy locations on top of a map, using Basemap. It plots only the proxies which were included in a given reanalysis. Here's the result: The script is flexible. The black border can be removed and markers can be resized or made transparent. All proxies can be plotted, or only proxies assimilated in a given year. Also, if a less noticeable overlay is desired, proxies can be plotted with a uniform marker (e.g. small dots of the same color). Corals and sclerosponges are grouped together in the LMR code, so they're grouped together here. I've also added an "other" category to make sure that no proxies slip through the cracks. Any suggestions? If not, I'll push this to github. If people are using something other than Basemap, a modified version will probably need to be created. |
Two thumbs up! Can you demonstrate the flexible features with a few more maps? They all seem very useful.
Small point: Is there any way to lighten up the legend? I never understood why MPL puts 3 symbols where one would suffice, but I don't know how easy that is to customize. If too much work, forget it.
Another useful graphical device is for the color of the proxy symbols to reflect how far back they reach (see attached figure from a pre-Ocean2k coral compilation I had made ages ago). In that case I suggest using the Magma or Plasma colormaps to display this continuum (warm colors = recent).
This will all be super useful in trying to understand our results.
[X]
Julien Emile-Geay - Associate Professor || University of Southern California
Department of Earth Sciences & Center for Applied Mathematical Sciences
3651 Trousdale Parkway, ZHS 275. Los Angeles, CA 90089 - 0740
Tel: (213) 740 2945<tel://(213)%20740%202945> | USC<http://climdyn.usc.edu/> | LinkedEarth<https://urldefense.proofpoint.com/v2/url?u=http-3A__linked.earth&d=DgMFAg&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=sm7R-KWGS-qL7K-XLvSPqQ&m=OdmkXoaQMaVPmzAAdR2vjmSD8TxR1jRfosOKThmT5BI&s=DYialCdatO_E8LiPTdW3Nr-I68M_Xudoebt9mHN-tpw&e=> | ORCID<https://urldefense.proofpoint.com/v2/url?u=http-3A__orcid.org_0000-2D0001-2D5920-2D4751&d=DgMFAg&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=sm7R-KWGS-qL7K-XLvSPqQ&m=OdmkXoaQMaVPmzAAdR2vjmSD8TxR1jRfosOKThmT5BI&s=n7sqHexywnF9scp3VA8wCApM11C6jCy7OEDyGMJ9V6k&e=> | Twitter<https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_el-5Fnino-5Fwaves&d=DgMFAg&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=sm7R-KWGS-qL7K-XLvSPqQ&m=OdmkXoaQMaVPmzAAdR2vjmSD8TxR1jRfosOKThmT5BI&s=HvF9H6dxxSzRgDMozbTJwARSHS1TA-_-rbEWWk5Gr0Y&e=>
On May 17, 2017 at 14:05:58, Michael Erb ([email protected]<mailto:[email protected]>) wrote:
I've made a script which overlays proxy locations on top of a map, using Basemap. It plots only the proxies which were included in a given reanalysis. Here's the result:
[temperature_map_lmr_all_1916_1995_hadcrut_krig_gaussianized_proxies_april2017]<https://urldefense.proofpoint.com/v2/url?u=https-3A__cloud.githubusercontent.com_assets_15681231_26176024_8c7f45d6-2D3b09-2D11e7-2D86f5-2D47297b4a5fda.png&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=sm7R-KWGS-qL7K-XLvSPqQ&m=jqZDaJ3-UxhKqXIQdnc768Dn-B9Y_DIDiB3Jb5bURdk&s=508Li6Ivnom514JhvUSqutPHKfY-6WNq1RIzk5xQNMY&e=>
The script is flexible. The black border can be removed and markers can be resized or made transparent. All proxies can be plotted, or only proxies assimilated in a given year. Also, if a less noticeable overlay is desired, proxies can be plotted with a uniform marker (e.g. small dots of the same color). Corals and sclerosponges are grouped together in the LMR code, so they're grouped together here. I've also added an "other" category to make sure that no proxies slip through the cracks. Any suggestions? If not, I'll push this to github. If people are using something other than Basemap, a modified version will probably need to be created.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_frodre_LMR_issues_6-23issuecomment-2D302231588&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=sm7R-KWGS-qL7K-XLvSPqQ&m=jqZDaJ3-UxhKqXIQdnc768Dn-B9Y_DIDiB3Jb5bURdk&s=Mykkft9qjpsrqCh2AU3jisJ8SnXe1t2HzPtMCNQe060&e=>, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ANH23-2DX2urCffSoNe6PD05kouoOO45-5Frks5r62EzgaJpZM4NdM-5FW&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=sm7R-KWGS-qL7K-XLvSPqQ&m=jqZDaJ3-UxhKqXIQdnc768Dn-B9Y_DIDiB3Jb5bURdk&s=detpD-hyeHYyc0VNpFDPVsnTRlWvKqbRxRrGq7i0IPg&e=>.
|
The text was updated successfully, but these errors were encountered: