On Fri, Jul 17, 2009 at 7:02 PM, John [H2O] wrote:
>
> I have a script looping through and plotting 100's of figures. It runs fine,
> but after the first few plots, the loop considerably slows down and the
> memory usage keeps going up.
>
> The script is quite complicated, so can't really paste it
I have a script looping through and plotting 100's of figures. It runs fine,
but after the first few plots, the loop considerably slows down and the
memory usage keeps going up.
The script is quite complicated, so can't really paste it here, but I am
trying to pass figure instances around and I
hi all,
i am plotting two distinct lines, one of the format '-o' the other of the
format '-s' -- i.e. one line with circular markers the other with a square
marker. when i add a legend to the figure, it gives a legend that looks like
this:
o---o label of circular marker line
s---s label of squa
Hi Jouni,
Jouni K. Seppänen wrote:
>
> How about axhline?
>
Yes! That's what I wanted. Thanks.
>> The eps doesn't get filled with the correct colors, and the pdf and
>> the svg don't work at all.
>
> But there is a pdf file at
>
> https://jstrube.web.cern.ch/jstrube/matplotlib_testcase/l
That's great, thanks.
-Original Message-
From: Jae-Joon Lee [mailto:lee.j.j...@gmail.com]
Sent: Fri 17/07/2009 15:33
To: Christophe Dupre
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Annotation on an axis
Drawing box around a text is quite easy.
http://mat
I'm not an expert on this issue, and I never used Russian language.
But here is my experience with unicode in matplotlib.
Matplotlib's own font rendering engine (based on truetype) does
support unicode rendering. But I don't think there is any support for
things like a fontset. And, as far as you
Drawing box around a text is quite easy.
http://matplotlib.sourceforge.net/examples/pylab_examples/fancytextbox_demo.html
To place a text in a way like ticklabels, you need to use blended transform.
The short example may give you some starting point.
-JJ
from matplotlib.transforms import blen
Jan Strube writes:
> The png roughly looks like I would expect (although I can't figure out
> how to plot a straight black horizontal line at y=0. pylab.plot
> doesn't seem to do what I want)
How about axhline?
> The eps doesn't get filled with the correct colors, and the pdf and
> the svg don'
per freem writes:
> then the horizontal line appears ON TOP of the other two lines -- i want it
> to be the opposite, i want the horizontal line to be in the background. how
> can i do this?
Use the zorder keyword.
http://matplotlib.sourceforge.net/examples/pylab_examples/zorder_demo.html
--
The early registration deadline for SciPy 2009 has been extended
until Wednesday, July 22, 2009. Please register (
http://conference.scipy.org/to_register )
by this date to take advantage of the reduced early registration rate.
Since we just announced the conference schedule, I was asked to
provid
Johann Rohwer wrote:
> After upgrading to the latest Mandriva Linux I can no longer compile
> Matplotlib. The following error occurs:
>
>
> In file included from src/backend_agg.cpp:37:
> src/swig_runtime.h: In function 'void SWIG_Python_AddErrorMsg(const
> char*)':
> src/swig_r
hi all,
i am plotting several lines together in a plot. i'd like some of the lines
to be "behind" the other ones -- i.e., when the two lines intersect, i want
the most recently plotted line to be on top of the previously plotted lines.
in general, this is true but it seems to be violated by plt.a
2009/7/17 Alexander Bruy
> Hi, list!
>
> I have a problem with embedding matplotlib in Qt based GUI. I read manual
> and look at
> example "embedding_in_qt4.py". I create GUI with QtDesigner. For matplotlib
> plot I create
> a QWidget. Then in runtime I embed a matplotlib plot im my GUI, into thi
Hi, list!
I want to use Russian or Ukrainian language in text within matplotlib plot.
There is solution, which I know - it is possible when text rendered with
external LaTeX:
from matplotlib import rc
rc('font',**{'family':'serif'})
rc('text', usetex=True)
rc('text.latex',unicode=True)
rc('text
Hello,
I am trying to add some annotations onto an axis as shown in the attached
picture.
Is that do-able? If yes, any pointers on how to achieve this are welcome.
Thanks,
Christophe
<>--
Enter the BlackBerry Developer
Please post a simple, standalone script that reproduces your problem,
so that we can track down what is causing the problem. I don't think
there has been any report of a similar issue (but not sure). As far as
I know, autofmt_xdata only adjusts the alignment and rotation of the
ticklabels and does
On Wed, Jul 15, 2009 at 3:23 PM, Louise
Loudermilk wrote:
> Hi. I am trying to output multiple 2D graphs (subplots) in one figure
> (using pylab) for each time-step that the python code runs - basically an
> interactive graphs. We use the 'ion()' and 'imshow()' functions for this.
> I have many g
To change the legend font size, you may change the "legend.fontsize"
in rcParams.
The change will be global. If you want to change the font size of some
particular legend, use the appropriate font property as the "prop"
keyword.
http://matplotlib.sourceforge.net/api/pyplot_api.html?highlight=legen
On Thu, Jul 16, 2009 at 10:49 PM, per freem wrote:
> hi all,
>
> suppose i have am plotting several lines using 'plot', some are dashed
> (using '--') and some are ordinary solid lines. i am plotting several solid
> and several dashed lines, all in different colors, as in:
>
> for n in num_lines:
>
"imshow" sets aspect=1 unless you changed your rcparams.
Unless aspect="auto", the axes position changes during the drawing time.
call imshow with aspect="auto"
or use set_aspect method.
http://matplotlib.sourceforge.net/api/axes_api.html?highlight=aspect#matplotlib.axes.Axes.set_aspect
Regards
Are you trying to run your script without opening a gui window?
If yes, "interacitve" is not what you want.
http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-web-application-server
Anyhow, I had similar experience that some Tk application failed to
open over ssh connection. An
John [H2O] wrote:
>
>
> My $DISPLAY variable does change from time to time, but as I have it set
> to interactive, why should this matter?
>
>
I wanted to explain a little further. I have it set to interactive(False)
sorry if there is confusion in my above statement.
The reason my DISPLAY v
Hello,
I am trying to run a plotting script. I have my imports as such:
from matplotlib import interactive
interactive(False)
import matplotlib.pyplot as plt
But I am getting this error repeatedly:
fig=figure(1,figsize=(8,6))
File "/usr/lib/python2.6/dist-packages/matplotlib/pyplot.py", l
Hello
I have a little problem.
On figure I have 2 Axes created by
fig = plt.figure(figsize = (16, 10), facecolor='w')
ax1 = fig.add_axes([0, 0, 1, 0.1])
ax2 = fig.add_axes([0.1, 0.19, 0.8, 0.72], autoscale_on=True)
There are some text and images on it:
...
drawing
Hello
I have a little problem.
On figure I have 2 Axes created by
fig = plt.figure(figsize = (16, 10), facecolor='w')
ax1 = fig.add_axes([0, 0, 1, 0.1])
ax2 = fig.add_axes([0.1, 0.19, 0.8, 0.72], autoscale_on=True)
There are some text and images on it:
...
draw
Hello
I have a little problem.
On figure I have 2 Axes created by
fig = plt.figure(figsize = (16, 10), facecolor='w')
ax1 = fig.add_axes([0, 0, 1, 0.1])
ax2 = fig.add_axes([0.1, 0.19, 0.8, 0.72], autoscale_on=True)
There are some text and images on it:
...
draw
After upgrading to the latest Mandriva Linux I can no longer compile
Matplotlib. The following error occurs:
In file included from src/backend_agg.cpp:37:
src/swig_runtime.h: In function 'void SWIG_Python_AddErrorMsg(const
char*)':
src/swig_runtime.h:859: error: format not a str
27 matches
Mail list logo