On 4 April 2013 06:45, Sudheer Joseph <sudheer.jos...@yahoo.com> 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), dpi=80, facecolor='w', edgecolor='w')
>     rect = [0.1, 0.1, 0.8, 0.8]
>     ax = WindroseAxes(fig, rect, axisbg='w')
>     fig.add_axes(ax)
>     return ax

I'm not familiar with the windrose package, but it looks like the rect
parameter to WindroseAxes specifies the size of the generated axes in
figure co-ordinates (see
http://matplotlib.org/api/figure_api.html?highlight=add_axes#matplotlib.figure.Figure.add_axes).
You should be able to pass in a different list of co-ordinates for
each WindroseAxes to get side-by-side axes on the same figure...

Cheers,
Scott

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to