Thank you Scott,
Some how I am not getting the trick of the
rect = [0.1, 0.1, 0.8, 0.8]
I tried
rect1= [0.1,0.1,.4,.4]
and rect2=[.4,.4,.8,.8]
but did not work
Sudheer
***
Sudheer Joseph
Indian National Centre for Ocean Information
On 2013-04-04, at 10:51 AM, Derek Thomas wrote:
> ...screen capture of the display...
>
Derek,
I just tried Phil's version of the code on my Mac (MP 1.2.0), and I
see exactly the same problem as in your grab.tiff. This is using the
default TkAgg backend.
I happen to have built MP 1.2.0 wi
Sadly no :( I want the day of the month that I'm processing *OR* the
last day. The worst case for this is obviously the 31st of each month.
The rrule code I've given provides exactly that. When transferred to
mpl that doesn't work.
On 04/04/2013 17:31, Phil Elson wrote:
> Hi Mark,
>
> Than
I get a different result.
On Thu, Apr 4, 2013 at 9:25 AM, Phil Elson wrote:
> Hi Derek,
>
> What are we looking at here?
>
> The following code:
>
> import matplotlib.pyplot as plt
> import matplotlib.transforms as mtrans
> import numpy as np
>
> plt.figure()
> ax = plt.subplot(111)
> base_tran
Hi Mark,
Thanks for persevering :-)
What is it you want to achieve? Is it that you just want the last day of
each month as the located value?
Changing your locator to:
ax.xaxis.set_major_locator(MonthLocator(bymonthday = -1))
Seems to do the trick for me (I've never looked at the mpl date magi
Hi Derek,
What are we looking at here?
The following code:
import matplotlib.pyplot as plt
import matplotlib.transforms as mtrans
import numpy as np
plt.figure()
ax = plt.subplot(111)
base_trans = ax.transData
mtx = np.array([[1,1,0],
[0,1,0],
[0,0,1]])
tr = mtra
On 01/04/2013 14:48, Mark Lawrence wrote:
> On 29/03/2013 15:49, Mark Lawrence wrote:
>> Hi all,
>>
>>From http://labix.org/python-dateutil
>>
>> "To generate a rrule for the use case of "a date on the specified day of
>> the month, unless it is beyond the end of month, in which case it will
>>
I posted a related question on stackoverflow
(http://stackoverflow.com/questions/15815862/apply-affine-transform-to-quiver-in-python-matplotlib)
but I've produced a simple enough example with strange results that I
think it merits attention here. I'm trying to apply affine transforms
to quiver and
On 4 April 2013 06:45, Sudheer Joseph wrote:
> Below is a sample script I got from windrose pack. I would like to
> place 2 windroses side by side
...
>
> from windrose import WindroseAxes
> from matplotlib import pyplot as plt
...
> def new_axes():
> fig = plt.figure(figsize=(8, 8)