> 2009/8/20 Daniel Platz :
> The setting of the new ticklabels works now. But the first label is
> attached to the second tick. I tried to adapt the clim range by using
> the vmin and vmax option of pcolor but it did not help.
Does this help?
http://matplotlib.sourceforge.net/examples/pylab_examp
Justin Findlay wrote:
> I'm trying to find a way to embed matplotlib graphs in LaTeX
> documents. Ideally a solution would involve converting MPL's output
> to TikZ in order to get native rendering of the graphics and text.
> This seems like the "Right Way" to go, unfortunately, my classes start
>
On Thu, Aug 20, 2009 at 3:56 PM, John Hunter wrote:
> What's wrong with including the ps/eps output in your latex docs, or
> the pdf output for your pdflatex docs? That's what most people do.
> You can enable the "usetex" option if you want tex to render the text
The difference is subtle. By hav
On Thu, Aug 20, 2009 at 4:08 PM, Justin Findlay wrote:
> I'm trying to find a way to embed matplotlib graphs in LaTeX
> documents. Ideally a solution would involve converting MPL's output
> to TikZ in order to get native rendering of the graphics and text.
> This seems like the "Right Way" to go,
I'm trying to find a way to embed matplotlib graphs in LaTeX
documents. Ideally a solution would involve converting MPL's output
to TikZ in order to get native rendering of the graphics and text.
This seems like the "Right Way" to go, unfortunately, my classes start
on Monday, and I'm neither pyth
The setting of the new ticklabels works now. But the first label is
attached to the second tick. I tried to adapt the clim range by using
the vmin and vmax option of pcolor but it did not help.
I also still have the problem that the changes are only performed on the
last two subplots (in one lo
Hey everyone,
I cannot seem to get pylab to display a plot using WXAgg. For some reason,
the datapath that I set in my matplotlibrc and confirmed by checking
rcParams['datapath'] is not being passed correctly to wx. Instead, it
attempts to find the data (button images like subplots.png, etc.)
Daniel Platz writes:
> t = cb4.ax.get_xticklabels()
> for j in t:
> j.set_text(r'$\pi$')
> j.set_fontsize(10)
> j.set_family('serif')
Try cb4.ax.set_xticklabels([r'$-\pi$', ...]); draw()
> Another problem is that I want to adjust the fontsize of the colorbar
> tickl
Hello,
I would like to have some custom ticklabels on a colorbar. In detail, I
want the four labels '-\pi', -\pi/2', '0', \pi/2', \pi'. I tried to set
manually each text object obtained from cb.ax.get_xticklabels():
t = cb4.ax.get_xticklabels()
for j in t:
j.set_text(r'$\pi$')
On Thu, Aug 20, 2009 at 11:00 AM, DEMOLISHOR! the Demolishor <
destrooo...@gmail.com> wrote:
> Hello all,
> I suppose this is a newbie question, but why do I get these three
> horizontal grid lines when I add text to my plot? I've tried repeating the
> call to pyplot.grid() but that doesn't affe
Hello all,
I suppose this is a newbie question, but why do I get these three
horizontal grid lines when I add text to my plot? I've tried repeating the
call to pyplot.grid() but that doesn't affect anything...
#!/usr/bin/env python
from matplotlib import pyplot
from scipy import randn
mu, sigm
Hi,
ok meanwhile I found out that this is a typical beginners error, sorry.
Nevertheless, using ion(), and ioff() together with draw() works fine.
What I didn't find out up to now was the funtion
ginput(n=1, timeout=30, show_clicks=True)
which prevents me from killing the window after ever
On Thu, Aug 20, 2009 at 9:56 AM, George Nurser wrote:
> Michiel,
> I'm on Mac OS X 10.5. My version of Python is 2.5.2, also from python.org.
> Presumably the new matplotlib does compile with 2.6.2 on 10.5?
It does -- I compiled the mpl OSX binaries using python 2.6.2 (from
src) from python.org on
Michiel,
I'm on Mac OS X 10.5. My version of Python is 2.5.2, also from python.org.
Presumably the new matplotlib does compile with 2.6.2 on 10.5?
I'm a bit reluctant to install 2.6.2 now, since we'll be moving to
10.6 ASAP here for the Exchange compatibility, and I guess I'll be
want to reinstall
Michael Fitzgerald writes:
> Can anyone confirm this bug? I have added it to the sourceforge
> tracker, ID 2832896.
> https://sourceforge.net/tracker/?func=detail&aid=2832896&group_id=80706&atid=560720
I can see it but haven't been able to make time to investigate yet.
--
Jouni K. Seppänen
ht
Michiel de Hoon writes:
> Are you on Mac OS X 10.5 or are you on an earlier version? The error
> message you're seeing indicates that MAC_OS_X_VERSION_10_5 is defined,
> suggesting that you are on Mac OS X 10.5. But then it should be aware
> of CTFontRef ... Did you change anything in your Python
I tested with TKAgg and WXAgg. I just bought macbook and I'm newbie yet. Do
I need to set something special for the multiple show()s?
Thanks,
-Dae-Won
On Thu, Aug 20, 2009 at 10:01 AM, Michiel de Hoon wrote:
> Whether or not you can do multiple show()s depends on which backend you
> use. For ex
Are you on Mac OS X 10.5 or are you on an earlier version? The error message
you're seeing indicates that MAC_OS_X_VERSION_10_5 is defined, suggesting that
you are on Mac OS X 10.5. But then it should be aware of CTFontRef ... Did you
change anything in your Python setup?
--Michiel.
--- On Wed
John,
Thanks for the information. The solution worked so, I can now do a mouse
over over lines from either axes and have a nice little tooltip, etc. I
found that if I change the zorder of the axis right after attempting to
"pick" on the mouse event, it fails, but it's fine for my needs to just
t
Whether or not you can do multiple show()s depends on which backend you use.
For example, the Mac OS X native backend has no problems with the multiple
show()s in your example. Which backend were you using? While matplotlib does
not support multiple show()s in general, there may be a simple solu
I think I needed to create an "axes". This seems to have solved my problem.
a = f.add_subplot(111)
map = Basemap(projection='ortho',
lat_0=34.0,
lon_0=-117.3,
resolution='l',
area_thresh=1000,
ax=a)
Marc Desmarais
Long Beach,
21 matches
Mail list logo