Re: [Matplotlib-users] hide labels

2011-02-06 Thread Paul Ivanov
Francesco Montesano, on 2011-02-04 17:01, wrote: Dear all again, I've tried to play with it again, but I couldn't find a solution for the problem. For clarity I report an example of what each of the subplots looks like: Hi Francesco, thanks for the clarification, here are two ways to get

[Matplotlib-users] Py2exe missing buttons icons on navigation toolbar

2011-02-06 Thread Tom van der Hoeven
Hello, I have a simple program ---graf.py-- import matplotlib.pyplot as plt plt.plot([1,2,3,8,0,9,1,10,5]) plt.ylabel('some numbers') plt.show() -- If I look to a matplotlib figures on my screen using the exe made with

Re: [Matplotlib-users] hide labels

2011-02-06 Thread Jae-Joon Lee
For an interactive use, you may use callbacks to update the visibility of ticks automatically. Regards, -JJ import matplotlib.transforms as mtransforms def update_yticks(ax): axis = ax.yaxis interval = axis.get_view_interval() # get visible ticks myticks = [t for t in

Re: [Matplotlib-users] Py2exe missing buttons icons on navigation toolbar

2011-02-06 Thread Sebastian Voigt
Hello Tom, I encountered the same problem recently. The toolbar icons are a mix of png and svg images. The png images are displayed properly while the svg icons are not shown. This is a problem with PyQt. I found a proposal on the web, where you should add the line import PyQt4.QtXml

[Matplotlib-users] Getting the set of point actually plotted (from Sage)

2011-02-06 Thread Laurent
Hello all ! I'm sorry if my question is not clear, but I do not know ho to produce a simple example. I'm plotting the graph of an implicit given function (say x^2+y^2=3) using Sage. What I know it that 1. when I ask sage to plot implicit_plot( f==3,(x,-5,5),(y,-5,5) ), Sage computes

Re: [Matplotlib-users] Py2exe missing buttons icons on navigation toolbar

2011-02-06 Thread Tom van der Hoeven
Dear Sebastian, Your solution is simple, well described and it works with minimal effort Thank you so much! I hope the Matplotlib devellopers will take some action. Tom Op 6-2-2011 13:16, Sebastian Voigt schreef: Hello Tom, I encountered the same problem recently. The toolbar icons are a mix

Re: [Matplotlib-users] Getting the set of point actually plotted (from Sage)

2011-02-06 Thread Fabrice Silva
Le dimanche 06 février 2011 à 14:29 +0100, Laurent a écrit : If it can help, I have the following in a Sage terminal : sage: var('x,y') sage: F=implicit_plot(x**2+y**2==2,(x,-5,5),(y,-5,5),plot_points=100) sage: F.matplotlib() matplotlib.figure.Figure object at 0xbfb60ac sage:

Re: [Matplotlib-users] Getting the set of point actually plotted (from Sage)

2011-02-06 Thread Laurent
Your data are embedded in a Line2d object which is itself a child of an Axes, itself child of the figure. Try: Fig = F.matplotlib() ax = Fig.get_axes()[0] # to get the first (and maybe only) subplot line = ax.get_axes()[0] xdata = line.get_xdata() ydata = line.get_ydata() There is

Re: [Matplotlib-users] Multiple mplot3d figures: new plots display over old ones?

2011-02-06 Thread Benjamin Root
On Sat, Feb 5, 2011 at 10:54 PM, Paul Leopardi paul.leopa...@iinet.net.auwrote: Hi all, I'm having trouble using multiple figures with mplot3d. Once each new figure is plotted, the plots from new figure is also displayed in all of the old figures. For example, once the plot for figure 2 has

[Matplotlib-users] Bug in `dviread.py'

2011-02-06 Thread Michael Anselmi
Hello all, I believe I have found a bug in matplotlib's `dviread.py' file. I am running Ubuntu 10.10 x86_64 and Sage 4.6.1, which includes matplotlib 1.0.0. Also I have TeX Live 2010 installed (full install from the web installer). It is important to note that the issue to be described *does