[Matplotlib-users] 3d plotting without ticklabels

2010-06-11 Thread Ola Skavhaug
Hi, I'm trying to remove the xtickmarks and ytickmarks from a 3d plot, without any success. The example I experiment with is the following: from mpl_toolkits.mplot3d import axes3d import matplotlib.pyplot as plt fig = plt.figure() ax = axes3d.Axes3D(fig) X, Y, Z = axes3d.get_test_data(0.05)

[Matplotlib-users] color in plot3d

2010-06-11 Thread Pablo Angulo
Hello! I wonder if there is a way to make 3d plots specifying arbitrary colors, instead of having the color be a function of the height. I was able to achieve this making minimal changes to the plot_surface method of Axes3D, adding as an optional keyword argument a function *cfun* which

[Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread Jeff Perry
When I run the following, I get gibberish for the math symbols: ),?, instead of alph's, beta's, ..., etc. I believe I have all the correct fonts installed: stix, computer modern. I have tex and latex installed. Any suggestions? I am running FC12. Thanks, Jeff 1 import numpy as np 2

Re: [Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread Michael Droettboom
Can you set the rcParam 'verbose.level' to 'debug-annoying' and send us the output? What version of matplotlib? Which backend? Mike On 06/10/2010 04:03 PM, Jeff Perry wrote: When I run the following, I get gibberish for the math symbols: ),?, instead of alph's, beta's, ..., etc. I believe

Re: [Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread John Hunter
On Fri, Jun 11, 2010 at 7:50 AM, Michael Droettboom md...@stsci.edu wrote: Can you set the rcParam 'verbose.level' to 'debug-annoying' and send us the output? What version of matplotlib?  Which backend? You may also want to clear your fonts and tex cache rm -rf ~/.matplotlib/font*.cache

Re: [Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread Jeff Perry
I found that setting mathtext.fontset : stix fixed the problem. Here is the debug-annoying output when mathtext.fontset is not set: ./plotlut2.py lut2.txt figure 1a matplotlib data path /usr/lib64/python2.6/site-packages/matplotlib/mpl-data loaded rc file /home/jsp/.matplotlib/matplotlibrc

Re: [Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread Michael Droettboom
The problem here is that it isn't finding the STIX fonts in the matplotlib distribution, but from system locations -- and it's actually not finding all of them, only some. How did you install matplotlib? Did you try John's suggestion of clearing the font caches? Do you see any STIX ttf fonts

[Matplotlib-users] Problem applying transformation to artist.

2010-06-11 Thread Jack Liddle
Hello all. I'm trying to apply a transformation (Affine2D) to a text artist. For some reason the artist doesn't show up in the plot. I have a simple code here which demonstrates the problem. Any ideas what I'm doing wrong? Thanks Jack Liddle from numpy import * import matplotlib.pyplot as

Re: [Matplotlib-users] 3d plotting without ticklabels

2010-06-11 Thread Benjamin Root
Ola, Just to make sure, have you tried ax.set_xticks([])? Ben Root On Fri, Jun 11, 2010 at 3:05 AM, Ola Skavhaug skavh...@simula.no wrote: Hi, I'm trying to remove the xtickmarks and ytickmarks from a 3d plot, without any success. The example I experiment with is the following: from

[Matplotlib-users] which interpolation type is used by contour() ?

2010-06-11 Thread Oz Nahum
Hi Everyone, I'd like to know, what is the underline mechanism that connects the points of my gridded data when I use contour(). Can I control this mechanism ? Maybe I missed it in the documentation, but it's not clear to me. Thanks in advance, -- Oz Nahum Graduate Student Zentrum für

[Matplotlib-users] Build failure of SVN8415 on Solaris 10 SPARC

2010-06-11 Thread Dr. David Kirkby
The latest stable (0.99.3) matplotlib builds ok on Solaris 10 03/05 on SPARC. However, your latest trunc release has some useful fixes, so it was downloaded by a fellow Sage devloper. However, when I try to build this version on a Sun Blade 1000 running Solaris 10 03/05, it presents a problem:

Re: [Matplotlib-users] Build failure of SVN8415 on Solaris 10 SPARC

2010-06-11 Thread Eric Firing
On 06/11/2010 10:54 AM, Dr. David Kirkby wrote: The latest stable (0.99.3) matplotlib builds ok on Solaris 10 03/05 on SPARC. However, your latest trunc release has some useful fixes, so it was downloaded by a fellow Sage devloper. However, when I try to build this version on a Sun Blade 1000

Re: [Matplotlib-users] Build failure of SVN8415 on Solaris 10 SPARC

2010-06-11 Thread Dr. David Kirkby
On 06/11/10 10:28 PM, Eric Firing wrote: On 06/11/2010 10:54 AM, Dr. David Kirkby wrote: The latest stable (0.99.3) matplotlib builds ok on Solaris 10 03/05 on SPARC. However, your latest trunc release has some useful fixes, so it was downloaded by a fellow Sage devloper. However, when I

Re: [Matplotlib-users] Build failure of SVN8415 on Solaris 10 SPARC

2010-06-11 Thread Eric Firing
On 06/11/2010 03:24 PM, Dr. David Kirkby wrote: On 06/11/10 10:28 PM, Eric Firing wrote: On 06/11/2010 10:54 AM, Dr. David Kirkby wrote: The latest stable (0.99.3) matplotlib builds ok on Solaris 10 03/05 on SPARC. However, your latest trunc release has some useful fixes, so it was