[Matplotlib-users] easy_setup and matplotlib

2009-12-26 Thread projetmbc
Hello, I've tried, on Python 2.6 Mac O$, to install directly matpltolib with easy_install. I've not successed. Is-it possible ? Best regards. Christophe. -- This SF.Net email is sponsored by the Verizon Developer

Re: [Matplotlib-users] Strange issue when using Matplotlib with PyQt4

2009-07-19 Thread projetmbc
Lukas Hetzenecker a écrit : I tried to embed a Matplotlib FigureCanvas into a QTabWidget. But at the first start of my script - the main.py in the attatched example - the widget in the Tab is incorrectly sized. If I embed the FigureCanvas in a QTabWidget the widget is to big, but if I put

[Matplotlib-users] Draw a rectangle with a transparent hole

2009-06-06 Thread projetmbc
Hello, I would like to draw a rectangle and then to cut a disc wich is in the rectangle. Is it possible ? Christophe -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the

Re: [Matplotlib-users] matplotlib and qtdesigner

2009-06-04 Thread projetmbc
Christophe Dupre a écrit : I've been developping an application using PyQT and matplotlib for a while now, and instead of coding the GUI, I'd like to make use of QT designer. Hello, I'm interested by your code or simple parts of it wich show intercation between PyQt and matplotilib. Best

Re: [Matplotlib-users] GSoC: TeX rendering engine

2009-04-27 Thread projetmbc
If it becomes easy to have formulas with Python then it would be used. That's sure. You can't say that C++ is better. I prefer Python, you work with C++, so why only a C++ version rather than a Python one ? Christophe. Kasper Peeters a écrit : Since the user base for a TeX typesetting

Re: [Matplotlib-users] GSoC: TeX rendering engine

2009-04-27 Thread projetmbc
You're right. I've misunderstood your message. Christophe Kasper Peeters a écrit : If it becomes easy to have formulas with Python then it would be used. That's sure. You can't say that C++ is better. I didn't mean to say that, sorry if I gave the wrong impression. I simply meant to

Re: [Matplotlib-users] GSoC: TeX rendering engine

2009-04-21 Thread projetmbc
That's could be cool but this needs to have access to the size of the final picture of the formula and the location of the baseline of the text. With this, it's easy to put formulas in a web page. Christophe. Are there already any more concrete ideas on how this will be realised technically,

Re: [Matplotlib-users] How to get the coordinates (picker)

2009-03-24 Thread projetmbc
I hope to see the project on the web. I'm very intersting by simple examples using mpl with PyQt. Christophe I got some good tips on how to do this from examples/event_handling/pick_event_demo.py Thanks!! It works just fine :). IDL is dead. Qt4 python and numpy/scipy/numpy are great

Re: [Matplotlib-users] How to get the coordinates (picker)

2009-03-24 Thread projetmbc
I hope to see the project on the web. I'm very intersting by simple examples using mpl with PyQt. Christophe I got some good tips on how to do this from examples/event_handling/pick_event_demo.py Thanks!! It works just fine :). IDL is dead. Qt4 python and numpy/scipy/numpy are

[Matplotlib-users] Draging Points and Graph

2009-01-31 Thread projetmbc
Title: Flashmail Hello, I would like to drag points and graphs of functions with the mouse. Is there anexample somewhere of this kind of functionnality? Christophe. -- This SF.net email is sponsored by: SourcForge

Re: [Matplotlib-users] Draging Points and Graph

2009-01-31 Thread projetmbc
On Sat, Jan 31, 2009 at 5:03 AM, projet...@club-internet.fr wrote: Hello, I would like to drag points and graphs of functions with the mouse. Is there an example somewhere of this kind of functionnality ? Take a look at the event handling tutorial -- it includes a draggable rectangle

[Matplotlib-users] Draging Points linked to lines.

2009-01-31 Thread projetmbc
On Sat, Jan 31, 2009 at 5:03 AM, projet...@club-internet.fr wrote: Hello, I would like to drag points and graphs of functions with the mouse. Is there an example somewhere of this kind of functionnality ? Take a look at the event handling tutorial -- it includes a draggable rectangle

Re: [Matplotlib-users] Ploting f(x;y)=0

2009-01-29 Thread projetmbc
On Jan 28, 2009, at 8:26 AM, projet...@club-internet.fr wrote: I'm looking a solution for ploting relation like f(x;y)=0. I usually just contour the function over the region. E.g., import numpy as np import matplotlib.pyplot as plt x, y = mgrid[-10:10:50j, -10:10:50j] f = x**3 * y -

[Matplotlib-users] Ploting inequalities like x**3+y**2=3

2009-01-29 Thread projetmbc
hello, I would like to know if there is a way to draw something like x**3+y**2=3. If there is not a direct way to do that, I would like to know if it could be possible to subclass the method that plots the contours. Best regards. Christophe.

[Matplotlib-users] Plot only inside a disc

2009-01-29 Thread projetmbc
Hello, I would like to make a kind of magnifying glass. So I need to have a piece of a graph and I would like it to have the form of a disc rather than of a box. So is-it possible to only draw in a disc (I'm searching for a fast way to do that) ? Best regards. Christophe.

Re: [Matplotlib-users] Plot only inside a disc

2009-01-29 Thread projetmbc
Title: Flashmail Thanks, your example works but what I must do so to plot for example y=cos x ? I'm a very beginner. Christophe. Message d'origine Date: Thu, 29 Jan 2009 09:34:11 -0600 Sujet: Re: [Matplotlib-users] Plot only inside a disc De: John Hunter A: projet...@club-internet.fr

Re: [Matplotlib-users] Plot only inside a disc

2009-01-29 Thread projetmbc
Thanks, your example works but what I must do so to plot for example y=cos x ? I'm a very beginner. line, = ax.plot(x, np.cos(x)) patch = patches.Circle((300,300), radius=100) line.set_clip_path(patch) Everything in the matplotlib figure is an Artist (lines, images, text, rectangles)

[Matplotlib-users] Ploting f(x;y)=0

2009-01-28 Thread projetmbc
Title: Flashmail Hello, I'm looking a solution for ploting relation like f(x;y)=0. Best regards. Christophe. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story.

Re: [Matplotlib-users] Vertical alignment of a text

2009-01-16 Thread projetmbc
Title: Flashmail Thanks, that's work well. Regards. C. I presume that you're only interested in the math formula, and not in any other graphical functionality of MPL. You may use mathtext module directly in that case. from matplotlib.mathtext import MathTextParser p =

Re: [Matplotlib-users] Color Map.

2009-01-16 Thread projetmbc
Title: Flashmail Thanks, that's look great. Regards. C. Unfortunately, I don't use Mayavi and therefore don't have any easy examples to offer. I guess you might find such things in the user guide or Cookbook. http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/

Re: [Matplotlib-users] Figure with pyQt

2009-01-16 Thread projetmbc
That's great. I'm a real newbie with mpl and I would like to know how to change figure after a PyQt-Event. That's must be simple but I don't see how to do this. My idea would be for example to show different kinds of draw like for example the sin function and another function. The users just

Re: [Matplotlib-users] Vertical alignment of a text

2009-01-15 Thread projetmbc
Title: Flashmail Dimension of a text in mpl is renderer-dependent in general. Each renderer has "get_text_width_height_descent" method which returns width, height, and descent of the given text. If you're only interested in latex-rendered text, you may use the get_text_width_height_descent()

[Matplotlib-users] Figure with pyQt

2009-01-15 Thread projetmbc
Hello, I would like to see the following example http://matplotlib.sourceforge.net/examples/pylab_examples/ellipse_demo.ht ml using the 2nd one http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_qt 4.html . In fact, I don't undrestand how to add the figure to the screen (I'm

Re: [Matplotlib-users] matplotlib and PyQt

2009-01-15 Thread projetmbc
Title: Flashmail Simson Garfinkel wrote: Why do you want to use PyQt and not wxwidgets? maybe because the Qt license changed ? That's a reason for me to be interested in the answer. cheers, Stef Here something that could interest you. Christophe Dear Qt User: Nokia is pleased to

Re: [Matplotlib-users] Figure with pyQt

2009-01-15 Thread projetmbc
Hello, I would like to see the following example http://matplotlib.sourceforge.net/examples/pylab_examples/ellipse_demo. ht mlhttp://matplotlib.sourceforge.net/examples/pylab_examples/ellipse_de mo.htmlusing the 2nd one

Re: [Matplotlib-users] matplotlib and PyQt

2009-01-15 Thread projetmbc
Message d'origine Date: Thu, 15 Jan 2009 13:05:21 -0600 Sujet: Re: [Matplotlib-users] matplotlib and PyQt De: John Hunter A: projet...@club-internet.fr, Paul Ivanov Copie à: matplotlib-users@lists.sourceforge.net On Wed, Jan 14, 2009 at 11:28 AM, John Hunter jdh2...@gmail.com wrote:

Re: [Matplotlib-users] Vertical alignment of a text

2009-01-15 Thread projetmbc
Indeed I would also use mpl to have png of formulas so as to put them in a HTML page. C. va=baseline does not work? -JJ On Thu, Jan 15, 2009 at 3:05 AM, projet...@club-internet.fr wrote: Dimension of a text in mpl is renderer-dependent in general. Each renderer has

[Matplotlib-users] matplotlib and PyQt

2009-01-14 Thread projetmbc
Hello, I'm searching for informations about using matplotlib interactively with PyQt. I would like for example to move line with the mouse. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants