hi, everybody!
when I run my script, why there is no figure show up? I downloaded the demos
from matplotlib gallery and it didn't work either.
>>>
>>> x=np.arange(100)
>>> y=x**2+3*x-1
>>> pl.plot(x,y)
[]
>>> pl.show()
>>>
there is no error, no figure pop-up!
Thank you for any answer!
-
On Wed, Feb 22, 2012 at 12:10 AM, Yannick Copin
wrote:
> after iterating with Michael A. Rawlins over my previous attempt to code a
> Taylor diagram (see [1]), here's a new version of my code, along with an
> example plot. Maybe it could make its way into the gallery as an example of
> Floating Ax
On 3/26/12 12:49 PM, Christopher Graves wrote:
> On Sun, Mar 11, 2012 at 2:32 PM, Christopher Graves
> mailto:christoph.gra...@gmail.com>> wrote:
> Try this:
>
> from pylab import *
> from matplotlib.ticker import AutoMinorLocator
>
> clf()
> ax=subplot(111)
Just to clarify, both arrowstyle='simple' and arrowstyle='-|>' draw
arrows as patches. In your first example with arrowstyle='simple', the
arrow is drawn as filled patch without edges, i.e., linestyle is not
effective. arrowstyle="-|>" also uses a patch but no "fill", only
"stroke".
Regards,
-JJ
zorders are only meaningful among objects in a same axes.
An easy workaround is to move the legend in ax1 to ax2.
ax2.add_artist(leg1)
ax1.legend = None
Regards,
-JJ
On Thu, Mar 22, 2012 at 10:13 PM, David Verelst wrote:
> Hi All,
>
> I am plotting on two different y-axes: one on the
Hello,
I am programming using POO (object programming)
I cannot find a way to create a plot as an object
In concept, I would like to do something like
"""
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.figure import Figure
self.figure = Figure
Does someone maybe knows of a project that allows exporting MPL 3D plot
(mpl_toolkits.mplot3d.Axes3D) to 3D file format, like OBJ, 3DS, BLEND ...
any kind?
--
This SF email is sponsosred by:
Try Windows Azure free for 90 da
On 03/26/2012 04:36 PM, Martin Mokrejs wrote:
> Hi,
>I wondered why the matplotlib.font_manager.rcParams contains sometimes
> escaped minus signs in font names:
font_manager.rcParams['mathtext.sf']
> 'sans\\-serif'
font_manager.findfont('sans-serif')
> Traceback (most recent call last
Hi.
I want to install Matplotlib from source code on CentOS.
I've been using Matplotlib for a year.
But this is the first time for me to install CentOS by myself.
I installed CentOS 6.2 in basic install option.
Next, I installed NumPy and Matplotlib.
.matplotlibrc isn't set.
It looks successfull
Hi,
I wondered why the matplotlib.font_manager.rcParams contains sometimes
escaped minus signs in font names:
>>> font_manager.rcParams['mathtext.sf']
'sans\\-serif'
>>>
>>> font_manager.findfont('sans-serif')
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib64/python2.
On Sun, Mar 11, 2012 at 2:32 PM, Christopher Graves <
christoph.gra...@gmail.com> wrote:
> On Sun, Mar 11, 2012 at 2:06 PM, Mike Kaufman wrote:
>
>> On 3/11/12 8:14 AM, cgraves wrote:
>>
>>>
>>> Hi, here is an example script which places minor ticks with 2 per major
>>> tick
>>> (minor tick spaci
On Mon, Mar 26, 2012 at 8:26 AM, Matthieu Brucher <
matthieu.bruc...@gmail.com> wrote:
> Indeed, a little bit less simple, but the solution nonetheless.
>
> Thank you!
>
>
> 2012/3/26 Zachary Pincus
>
>> > I'd like to display a scatter plot where the size for each element is
>> fixed. Currently,
Indeed, a little bit less simple, but the solution nonetheless.
Thank you!
2012/3/26 Zachary Pincus
> > I'd like to display a scatter plot where the size for each element is
> fixed. Currently, when I modify the size of the figure, the size of a
> marker is fixed, and I would like it to be prop
> I'd like to display a scatter plot where the size for each element is fixed.
> Currently, when I modify the size of the figure, the size of a marker is
> fixed, and I would like it to be proportional to the window.
> I want this because the size of the marker indicates an extent, and I would
>
hi,
I'd like to display a scatter plot where the size for each element is
fixed. Currently, when I modify the size of the figure, the size of a
marker is fixed, and I would like it to be proportional to the window.
I want this because the size of the marker indicates an extent, and I would
like it
15 matches
Mail list logo