Hi,
Here is a piece of code I recently used for plotting 2 different
legends. This is not the most sexy code in the world but it works.
#axis and legend
axis([-0.1, 3.1, 0, 1], font)
xlabel(r'\textrm{relative error}', font)
ylabel(r'\textrm{cdf}', font)
rc('legend', numpoints=1)
leg1 =
Hello again,
I'm really sorry for not having written for such a long time, but I've
been on vacation.
I've been trying to figure out what is happening with the import pylab
thing and why it makes the rounding to my data. I've found that the
problem might be related with some conflict between
Dear list -
David Kaplan added a very cool new feature to add labels to a contour plots
manually.
Check out the ginput_manual_clabel.py example.
I posted a question about this before, because I couldn't figure out how to
end the manual selection of label positions.
The doc string (and the
Hi all,
I am trying to automatically adjust margins with the SVG backend.
The FAQ example :
http://matplotlib.sourceforge.net/doc/html/faq/howto_faq.html#how-do-i-automatically-make-room-for-my-tick-labels
only works with GUI backends.
May it come from get_window_extent() call ?
How could I
I am trying to draw some text inside of a rectangle. The text can be longer
than the rectangle, so I would like to wrap the text. I doubt MPL has this
kind of functionality built in, so I am expecting to write it myself.
I think I read somewhere that it is not possible to get the length of
I'm not sure if this is a matplotlib issue or what, but all of a sudden I
was not able to do gca() or gcf() correctly.
A simple command-line on pyshell (using wxAgg backend) went like this:
import pylab
pylab.plot([1,2,1]) # figure pops up
pylab.gca().clear(); pylab.show() # nothing happens
Morning all!
I have some data (basically weather data) that I want to create some
nice graphics (mainly PR type images) out of. My initial idea is to
generate meshes from the data and import them into povray (ray tracing
utility). Now matplotlib easily generates contours, is there a utility
out
Jack Sankey wrote:
I'm not sure if this is a matplotlib issue or what, but all of a sudden
I was not able to do gca() or gcf() correctly.
A simple command-line on pyshell (using wxAgg backend) went like this:
I'm not familiar with pyshell, but evidently it is turning interactive
mode on,
On Thu, Aug 21, 2008 at 2:36 PM, Scott Collis [EMAIL PROTECTED] wrote:
Morning all!
I have some data (basically weather data) that I want to create some nice
graphics (mainly PR type images) out of. My initial idea is to generate
meshes from the data and import them into povray (ray tracing
I want to draw some text and have it clipped by another rectangle I draw. The
text should only display inside the box. I have some sample code that seems
like it should work, but obviously there is something wrong because the text
does not display at all. Any help?
import matplotlib.pyplot
While I don't know much about how callbacks work in matplotlib,
looking at the source code of figure.draw() method, it seems that
call_back functions connected with the draw_event are called after a
figure is drawn. Therefore, you need a second draw. My guess is that
this second draw is somehow
On Thursday 21 August 2008 17:36:50 Eric Firing wrote:
Jack Sankey wrote:
pylab.gcf().clear(); pylab.show() # nothing happens
With interactive mode off, in a script, show() should never be called
more than once; it should be the last plot-related line of the script.
I thought we supported
On Thu, Aug 21, 2008 at 4:58 PM, Darren Dale [EMAIL PROTECTED] wrote:
On Thursday 21 August 2008 17:36:50 Eric Firing wrote: Jack Sankey wrote:
pylab.gcf().clear(); pylab.show() # nothing happens
With interactive mode off, in a script, show() should never be called
more than once; it
13 matches
Mail list logo