Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41123
| X-Received | by 10.224.18.132 with SMTP id w4mr11276411qaa.1.1363097180854; Tue, 12 Mar 2013 07:06:20 -0700 (PDT) |
|---|---|
| X-Received | by 10.49.84.167 with SMTP id a7mr1148436qez.11.1363097180739; Tue, 12 Mar 2013 07:06:20 -0700 (PDT) |
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!dd2no1902415qab.0!news-out.google.com!o5ni743qas.0!nntp.google.com!dd2no1902412qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Tue, 12 Mar 2013 07:06:20 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=199.212.7.70; posting-account=EHFeiwoAAACO-1KFiLRCWterUQPi9CGC |
| NNTP-Posting-Host | 199.212.7.70 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <6e531e68-8f57-437e-9ce9-71cfe5e4e73f@googlegroups.com> (permalink) |
| Subject | Matplotlib Slider Widget and changing colorbar threshold |
| From | kevin.khan27@gmail.com |
| Injection-Date | Tue, 12 Mar 2013 14:06:20 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-Received-Bytes | 2150 |
| Xref | csiph.com comp.lang.python:41123 |
Show key headers only | View raw
I am currently trying to work on a program that will allow the user to display their dataset in the form of a colormap and through the use of sliders, it will also allow the user to adjust the threshold of the colormap and thus update the colormap accordingly. The best to describe this would be through the use of a picture: ![enter image description here][1] [1]: http://i.stack.imgur.com/1T9Qp.png This image shows how the colorbar should look before (the image on the left) and after (the image on the right) the adjustment. As the threshold values of the colrobar are changed, the colormap would be updated accordingly. Now I am mainly using matplotlib and I found that matplotlib does support some widgets, such as a slider. However the area I need help in is devising a piece of code which will update the colorbar and colormap (like the way shown in the picture above) when the slider is adjusted. I was wondering if anyone has done this before and might have a piece of code they would be willing to share and might have pointers as to how this can be achieved.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Matplotlib Slider Widget and changing colorbar threshold kevin.khan27@gmail.com - 2013-03-12 07:06 -0700 Re: Matplotlib Slider Widget and changing colorbar threshold matt.newville@gmail.com - 2013-03-13 03:46 -0700
csiph-web