[Matplotlib-users] axes and transData

2008-09-29 Thread Yves Revaz
Dear List, I would like to define a new second plot inside a first plot using the axes command. But I need the position and size do be defined not by the relative figure coordinates but by data coordinates. I have found the following trick : ax = gca() f = gcf() x,y = ax.transData.transform

Re: [Matplotlib-users] axes and transData

2008-09-29 Thread Jae-Joon Lee
Hi, As far as I know, the destination coordinate of trans* is a display (canvas) coordinate, not the normalized figure coordinate. It has a dimension of f.get_figwidth()*f.get_dpi(), f.get_figheight()*f.get_dpi(). For example, transFigure transforms the normalized figure coordinate to the display

[Matplotlib-users] Trouble installing matplotlib

2008-09-29 Thread Clement Justin Poh
Hi people, I'm new to unix, python and matplotlib. I've had trouble installing matplotlib. The machine I'm on is running solaris. I tried installing it on my friend's ubuntu box and it worked basically immediately. After some effort I managed to get it to compile and install on solaris. In pyt

[Matplotlib-users] how to change line colors of a boxplot

2008-09-29 Thread Steffen Wischmann
Hi, I searched the forum and the net but I cannot figure out how I can change the line colors for a boxplot (i.e., making all lines black such as medians, whiskers, boxlines, black). the only thing I accomplished is changing the color of all outliers, e.g., via: boxplot(X, sym='r+') Even set

Re: [Matplotlib-users] how to change line colors of a boxplot

2008-09-29 Thread Jouni K . Seppänen
Steffen Wischmann <[EMAIL PROTECTED]> writes: > I searched the forum and the net but I cannot figure out how I can > change the line colors for a boxplot (i.e., making all lines black such > as medians, whiskers, boxlines, black). Change them after plotting, using the returned dictionary: In [

[Matplotlib-users] absolute positioning of a subplot in a Figure

2008-09-29 Thread TP
Hi everybody, Below you will find a small script that plots the graph of a simple function. This code is aimed to be embedded in a GUI application. I set the subplot dimension with the b.set_position([]) command. The floats that are given to set_position() are percents relative to the Figure di

[Matplotlib-users] interpolation methods used by contourf

2008-09-29 Thread Tim Michelsen
Hello users and developers of matplot, I would like to ask what kind of interpoaltion method is used by pylab.countourf()? I suppose that it uses linear interpolation to derive the areas between the contour lines. Is that true? Kind regards, Timmie

Re: [Matplotlib-users] interpolation methods used by contourf

2008-09-29 Thread Eric Firing
Tim Michelsen wrote: > Hello users and developers of matplot, > I would like to ask what kind of interpoaltion method is used by > pylab.countourf()? > > I suppose that it uses linear interpolation to derive the areas between > the contour lines. > > Is that true? > > Kind regards, > Timmie Ti