Hi,I am trying to produce a set of plots using grispec. There should be an images shown in each of the axes (using imshow) except in one of the axes, where I want to show/plot some text. However, the text seems to be too long to be displayed in one line. Is there a way to print it in something like
On Fri, Nov 18, 2011 at 9:22 AM, brogi federico wrote:
> Hi,
>
> -my operating system is :
> Linux fede 2.6.32-34-generic #77-Ubuntu SMP Tue Sep 13 19:40:53 UTC 2011
> i686 GNU/Linux
>
> -matplotlib version
> 0.99.1.1
>
> - I obtained the matplotlib from Sourceforge site
>
> - my problem is the
Hi,
-my operating system is :Linux fede 2.6.32-34-generic #77-Ubuntu SMP Tue Sep 13
19:40:53 UTC 2011 i686 GNU/Linux
-matplotlib version0.99.1.1
- I obtained the matplotlib from Sourceforge site - my problem is the
following:
>>> from mpl_toolkits.basemap import Basemap Traceback (most recent c
Am 17.09.2011 18:49, schrieb Kurt Mueller:
> Am 17.09.2011 um 15:38 schrieb Jae-Joon Lee:
>> Thanks for reporting this.
>> I opened a pull request that I believe fixes this problem.
>> https://github.com/matplotlib/matplotlib/pull/472
> Thank you very much!
>> Please test this if you can.
> I hope
Am 17.09.2011 um 15:38 schrieb Jae-Joon Lee:
> Thanks for reporting this.
> I opened a pull request that I believe fixes this problem.
> https://github.com/matplotlib/matplotlib/pull/472
Thank you very much!
> Please test this if you can.
I hope next week.
> Depending on your need, you may wo
Thanks for reporting this.
I opened a pull request that I believe fixes this problem.
https://github.com/matplotlib/matplotlib/pull/472
Please test this if you can.
Depending on your need, you may work around this by calling all the
set_position method always after all the GridSpec.update call.
Hi,
In the following script, it seems to me,
that GridSpec does not work as expected.
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# adapted from http://matplotlib.sourceforge.net/users/gridspec.html
import matplotlib.pyplot as plt
from matplotli
On Thu, Aug 18, 2011 at 5:53 PM, mogliii wrote:
> 2) I want to make a shared y-axis label. I found this page:
> http://www.scipy.org/Cookbook/Matplotlib/Multiple_Subplots_with_One_Axis_Label
> But any additional axis I put before the gridspec axis is not shown in
> the end. Is there a special proc
On Fri, Aug 19, 2011 at 1:29 AM, mogliii wrote:
> Looking back I must say that
> http://matplotlib.sourceforge.net/api/gridspec_api.html#matplotlib.gridspec.GridSpecBase
> is not very helpful. And it is very counter-intuitive to the Axes
> dimension specification with location lower left and width
I could already answer one question by myself about the top margin in
gridspec.
'''1) I would like to reduce the top margin. For that I though I can do
something like this:
gs = gridspec.GridSpec(2, 1, width_ratios=[2,1])
- gs.update(bottom=0.2, left=0.2, hspace=0.05)
+ gs.update(bottom=0.2, left
Try this.
def get_indx(irow, icol):
return irow*4+icol
ax = plt.subplot(gs[get_indx(0,3):get_indx(3,3)])
With 1d slicing, the axes will occupy the rectangle defined by the
start and stop location.
For example,
gs[i:j]
will occupy the rectangular area between
gs[i] and gs[j-1].
Let me kno
On 10/25/2010 11:18 AM, Jae-Joon Lee wrote:
> On Mon, Oct 25, 2010 at 10:45 PM, Nikolaus Rath wrote:
>> So I have to instantiate GridSpec with a (rows, column), but when I
>> index the grid I have to use (column, row).
>>
>> Is there any reason for this counterintuitive behaviour?
>>
>
> This is
On Mon, Oct 25, 2010 at 10:45 PM, Nikolaus Rath wrote:
> So I have to instantiate GridSpec with a (rows, column), but when I
> index the grid I have to use (column, row).
>
> Is there any reason for this counterintuitive behaviour?
>
This is not an intended behavior but a bug which affects a grid
Hello,
I just noticed that in order to get a 3 row by 4 column grid, I have to
do
import matplotlib.pyplot as plt
from matplotlib.gridspec import GridSpec
def make_ticklabels_invisible(fig):
for i, ax in enumerate(fig.axes):
ax.text(0.5, 0.5, "ax%d" % (i+1), v
On Mon, Oct 25, 2010 at 3:14 AM, Nikolaus Rath wrote:
> I would like to create subplots with different sizes using the object
> oriented API. However, it seems that the subplot2grid() method exists
> only in pyplot, but not as a Figure instance method. Am I looking in the
> wrong place? How do I u
Hello,
I would like to create subplots with different sizes using the object
oriented API. However, it seems that the subplot2grid() method exists
only in pyplot, but not as a Figure instance method. Am I looking in the
wrong place? How do I use subplot2grid with an existing Figure object?
Thank
16 matches
Mail list logo