Please take a look at the backend_gtk.py if you're going to customize
the toolbar.
fig.canvas.toolbar is derived from gtk.Toolbar. So, you can customize
it as you do for any gtk.Toolbar.
I guess something like below is similar to DeleteToolByPos in wx. I
just grabbed it by doing dir on the toolba
Unfortunately, there is no simple way, as MPL does not support gradient yet.
There is a hard way though, that you create a gradient image by
yourself and clip it with the appropriate path.
I guess, the easiest way for a normal user is to export the figure as
the SVG format and put some gradient usi
As one of who never used Sage, I don't think I'll be any help here.
Anyhow, can you tell us what kind of backed is used by default in the
two environment? I mean the type of the canvas that is initially
created.
It seems to be some dpi issue, but MPL supposed to handle this correctly.
I guess it a
http://matplotlib.sourceforge.net/examples/pylab_examples/barchart_demo.html
While the example uses "text", "annotate" is more useful for
fine-tuning the location of texts.
-JJ
On Fri, Oct 2, 2009 at 8:26 AM, marcog wrote:
>
> Hi there
>
> I am plotting a bar graph and would like to label the
What you need to do is to share a normalizer among different surface
plots (this is not just for surface plot, but for all (as far as I
know) color representation that uses colormaps). Note that "norm" can
also be a keyword argument.
Regards,
-JJ
Z1 = 5*np.sin(R)
s1 = ax.plot_surface(X, Y, Z1,
Try changing the line
from matplotlib.toolkits.basemap import Basemap
to
from mpl_toolkits.basemap import Basemap
- Christoph
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer
Hi all,
Here's what I get:
File "F:\demo.py", line 34, in
from matplotlib.toolkits.basemap import Basemap
ImportError: No module named toolkits.basemap
I'm on a brand new python 2.6 install on windows. I then installed numpy 1.3
for 2.6, matplotlib .99.1 for 2.6, then basemap .99.4 for 2.6,
You are welcome. My response to your 2nd question is still unknown, also I
have another question. Anyone knows how to achieve that?
Thanks.
2- I would like to have a grid not only for 10^2, 10^3, 10^4, 10^5 ... but
> also for the minor axis ticks. is it possible ?
>
You can use plt.yticks() to g
Thanks Gökhan. It helped.
--
View this message in context:
http://www.nabble.com/loglog-plot-tp25448633p25729540.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
--
Come build with us! The Blac
Hi there,
I'm currently trying to have my own navigation toolbar by deleting some
unuseful buttons.
Solutions given as follows is working for wxpython but not for pygtk since
DeleteToolByPos cannot be found :
http://www.nabble.com/Navigation-toolbar-w-o-subplot-configuration-button-td18747977.h
Dear Buz,
You could try with the MacOSX native backend:
>>> import matplotlib
>>> matplotlib.use("MacOSX")
>>> from pylab import *
>>> text(0.2,0.2,"some text",fontname='Times-Roman')
>>> text(0.2,0.7,"some other text",fontname='Helvetica')
I'm not sure if the MacOSX native backend is included i
Il giorno 30 set 09, alle ore 17.01, Jouni K. Seppänen ha scritto:
> If you do
>
> matplotlib.rcParams['text.latex.preamble'] = [r'\usepackage
> {lucidabr}']
>
> does it start working?
I eventually managed to get it work; thanks for your help !
For the record:
'text.latex.preamb
12 matches
Mail list logo