Daniel Fetchinson wrote:
[...]
> Yes, this would be really useful. For the moment I'll just turn off
> all axis, I managed to do that. By the way is it possible to just turn
> off the axis and not the tick labels?
In your example below you could try
graph.set_frame_on(False)
That will leave the ti
Thanks for Eric Firing's reply to me.The solution is:
colorbar(im, extend='both', shrink=0.8,format='%0.1f%%',ticks=locator)
The double % in the format string makes it print a single %, and when
given a format string, the format kwarg automatically hands it off to a
FormatStrFormatter.
--
Vi
I work matplotlib on wxpython, python2.5.
It is wonderful that the following code work faster than canvas.draw().
canvas.restore_region(background)
##Updata three lines and draw it.
line.set_data(x,y)
ax.draw_artist(line)
> > I'm a total beginner to matplotlib so please forgive me if this is
> > standard stuff. I've read through the user guide, tutorial, searched
> > all over the place but couldn't figure it out on my own.
> >
> > Normally, matplotlib puts the graph in a box, left y axis, bottom x
> > axis, right y
Daniel Fetchinson wrote:
> I'm a total beginner to matplotlib so please forgive me if this is
> standard stuff. I've read through the user guide, tutorial, searched
> all over the place but couldn't figure it out on my own.
>
> Normally, matplotlib puts the graph in a box, left y axis, bottom x
>
I'm a total beginner to matplotlib so please forgive me if this is
standard stuff. I've read through the user guide, tutorial, searched
all over the place but couldn't figure it out on my own.
Normally, matplotlib puts the graph in a box, left y axis, bottom x
axis, right y axis, top x axis. What
Hi Manuel,
On Fri, Apr 18, 2008 at 8:49 AM, Manuel Metz wrote:
>
> Andrea Gavana wrote:
> > Hi All,
> >
> > I was wondering about custom markers in the scatter method, and I
> > thought to ask here for some suggestions.
> > Basically, I have 3 variables to show, which are oil, gas and water
> >
Fernando,
Your example works as you describe on recent matplotlib versions. I
suspect you are using an old one. The preferred way of handling missing
points in numpy, and therefore in matplotlib and pylab, however, is via
masked arrays.
import pylab
import numpy as np
from numpy import ma
a =
When I increase the xlabel fontsize, it overlaps with the tick label.
How can I adjust the distance between tick label and xlable (or ylabel)?
Please help me.
--
Yong-Duk Jin
-
This SF.net email is sponsored by the 2008 JavaO
Dear sourceforge community,
I come from a Matlab environment so I am used to plotting matrices that
contain NaN elements. This is very useful because in some cases one doesn't
have data for the entire matrix. If one tries plotting the data, the NaN
elements won't be plotted.
Is there a similar el
Hi everybody,
Is there a function in matplotlib for hexagonal binning of scatter plots? Here
are some examples of what I am looking for:
http://faculty.washington.edu/tlumley/survey/greyhexbin.png
http://www.spss.com/research/wilkinson/nViZn/hexbin.gif
http://addictedtor.free.fr/graphiques/75x
Hello,
Firstly I would like to thank the developers of the matplotlib for providing
an excellant tool.
I have managed to get some code up and running. Due to the nature of the
data I would like to have two legends
I would like them positioned within the plot on the 'upper left' and 'upper
centre'
Vsevolod Kovalenko wrote:
> Dear matplotlib
>
> I have a newbie question (I am new to python, migrating from Matlab). Just
> like the subject suggests, I need to display an image X stored in a matrix
> (well, a 2D numpy array in fact) versus the coordinates specified by arrays
> x and y. Further,
13 matches
Mail list logo