[Matplotlib-users] weird behaviour in ScalarMappable with ListedColormap

2013-05-03 Thread Yasin Selçuk Berber
Hi. i am using ListedColormap with ScalarMappable, to map data ranges, without using a norm. But i dont know if what i am doing is a good thing or not. Here's the snippet: -- from matplotlib import pyplot as plt from matplotlib i

[Matplotlib-users] strange behaviour or bad coding? color indices in colorbar and data doesnt match.

2012-08-09 Thread Yasin Selçuk Berber
close # one is color index 28. # RGB values ->>> 'data[1, :]=(21, 1, 167)' vs 'color index 28=(22, 2, 168)' # and even correctly indexed colors RGB values are off a little bit. pyplot.show() -- Yasin Selçuk Berber "Bismillah, her hayrın başıdır."

Re: [Matplotlib-users] how can i set a projection area larger than data's geographical coverage?

2012-06-15 Thread Yasin Selçuk Berber
Jeff: in the end, i decided to suspend this kind of approach to problem, but should give it a try in the future. thanks for suggestion. -Yasin 2012/6/14 Jeff Whitaker > On 6/14/12 7:52 AM, Yasin Selçuk Berber wrote: > > I want to set a projection area larger than data's geograp

[Matplotlib-users] how can i set a projection area larger than data's geographical coverage?

2012-06-14 Thread Yasin Selçuk Berber
t') plt.show() *code skipped* --- i fiddled with imshow's extent and clip_box keywords but since could not get it work. and googling for a serious amount of time didnt help either. Some posts on web mentioned bbox or set_autoscale_on related things but i cant seem to get it. Any ideas ? than

Re: [Matplotlib-users] how does imshow() represent numpy array with origin = "lower" keyword ?

2012-05-30 Thread Yasin Selçuk Berber
im getting that result. but just wanted to know, could "takes first row and put it most bottomthen take secondetc" expression be accepted as harmless or not. 2012/5/30 Tony Yu > > On Tue, May 29, 2012 at 5:31 AM, Yasin Selçuk Berber < > yasinber...@gmail.com>

[Matplotlib-users] how does imshow() represent numpy array with origin = "lower" keyword ?

2012-05-30 Thread Yasin Selçuk Berber
be clear, does imshow with "lower" keyword value; 1-takes first row of data and put it most bottom, 2-then take second row and put it one row upper from most bottom.etc ? Thanks. -- Yasin Selçuk Berber "