Carol Leger wrote:
> Hi folks,
>
> I have encountered a problem using colorbar and set_under with a color
> map that has only 32 colors. The downward arrow is not filled with the
> correct color. If 64 colors are used, the arrow is filled correctly. I
> actually want 8 colors.
>
> The test
On Jan 13, 2008 7:26 PM, Christopher Fonnesbeck <[EMAIL PROTECTED]> wrote:
> On some OSX systems, pylab is failing on importing pylab because of
> lack of GTK. This appears to be a bug; if the system doesnt have gtk,
> it should simply not import that backend to begin with.
matplotlib does not do
On Jan 4, 2008 4:33 PM, Mephisto <[EMAIL PROTECTED]> wrote:
>
> For some simple but effective Python code you can use to create a mask
> similar to that provided by the Matlab roipoly function, see
> http://www.ariel.com.au/a/python-point-int-poly.html
> http://www.ariel.com.au/a/python-point-int-p
On Jan 2, 2008 10:25 PM, Aitor Gonzalez <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have some two sets of data with their x- and y-coordinates, (x1, y1) and
> (x2, y2). I want to plot these curves as a parametric plot:
> #
> from numpy import *
> from pylab import *
>
> t = arange ( 0.0 , pi/2 ,
On some OSX systems, pylab is failing on importing pylab because of
lack of GTK. This appears to be a bug; if the system doesnt have gtk,
it should simply not import that backend to begin with.
>>> from matplotlib import pylab
Traceback (most recent call last):
File "", line 1, in
File "
Hi all,
I am unable to use the TkAgg backend on opensuse linux 10.2 or 10.3?
The standard examples
embedded_in_tk.py
embedded_in_tk2.py
end up with a segmentation fault. In debugger, the following message is
reported
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0
For some simple but effective Python code you can use to create a mask
similar to that provided by the Matlab roipoly function, see
http://www.ariel.com.au/a/python-point-int-poly.html
http://www.ariel.com.au/a/python-point-int-poly.html . The code seems to be
quite effective.
Venkat Ramanan wr
Hi,
I have some two sets of data with their x- and y-coordinates, (x1, y1) and
(x2, y2). I want to plot these curves as a parametric plot:
#
from numpy import *
from pylab import *
t = arange (0.0 , pi/2 , 0.05)
x1= cos(t)
y1 = -sin(t)
x2 = -1+2/pi*t
y2 = -2/pi*t
# plotted as a normal pl
Hi folks,
I have encountered a problem using colorbar and set_under with a color
map that has only 32 colors. The downward arrow is not filled with the
correct color. If 64 colors are used, the arrow is filled correctly. I
actually want 8 colors.
The test code is essentially image_masked.py
Setting ps.useafm = True while ps.fonttype = 42 allows illustrator to
open the eps files again and gives me back text editing capability, but
I don't have any control over the typeface anymore, it just defaults to
Helvetica.
Jordan
--
On Jan 15, 2008 7:46 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
> Ah -- just thought of something else.
>
> If I adjust simple_plot_fps.py to have 100,000 data points rather than
> 1,000 I see something that starts to match with what you're seeing:
>
> GtkAgg:
> wallclock: 4.23297405243
> us
On Jan 16, 2008 1:03 PM, Kevin Christman <[EMAIL PROTECTED]> wrote:
>
> I'm new to matplotlib. Currently the x-axis shows numbers from 0 to 1.
> I would like it to show it in percent notation (e.g. 0% to 100%).
> How do I do this in matplotlib?
You can either multiply your x data by 100 (where
Thanks Eric! Here is corrected code that works:
import matplotlib
from datetime import *
import time
from pylab import *
def toOrd(strDate):
return datetime(*time.strptime(strDate,"%m/%d/%y")[0:5]).toordinal()
def main():
startDate = toOrd("05/24/05")
endDate =
John Harrison wrote:
> bump. please...?
>
> Begin forwarded message:
>>
>> I have some code that produces a series of graphs of data over time.
>> For the most part it works well, but for certain combinations of dates
>> the two plots do not line up, due to the width of the bars in the
>> fir
I'm new to matplotlib. Currently the x-axis shows numbers from 0 to 1.
I would like it to show it in percent notation (e.g. 0% to 100%).
How do I do this in matplotlib?
Thanks,
Kevin
Be a better f
bump. please...?
Begin forwarded message:
I have some code that produces a series of graphs of data over
time. For the most part it works well, but for certain
combinations of dates the two plots do not line up, due to the
width of the bars in the first subplot. What is the best way fo
Hi,
I want to display the values of some variable (namely, alpha, beta, gamma,
delta) on a plot, and making a legend like
"$ \alpha=%G, \ \bet=%G, \ \gamma=%G, \ \delta=%G $" % values is not very
readable.
Is there away to make multiline mathtext ?
thanks
BL
---
On Wednesday 16 January 2008 01:02:04 pm Thorsten Kranz wrote:
> Hi list!
>
> I have another question, which hopefully is not that hard. I want to
> control the distance of the ticklabels from the axiy. How can I do this?
> Maybe by one of the rc-Parameters?
Yes, see the (x,y)tick.(major,minor).pa
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Matplotlib-users maili
Hi list!
I have another question, which hopefully is not that hard. I want to control
the distance of the ticklabels from the axiy. How can I do this? Maybe by
one of the rc-Parameters?
Thanks in advance,
Thorsten
-
This SF.
Ok... I'm running python 2.5 on winxp. I recently upgraded from
matplotlib 88ish to 91.1, and now the font embedding in eps files no
longer works for me: all fonts end up as paths when I open an eps file
in illustrator, and I can't do any font editing like I could before I
upgraded. I found a
Michael Droettboom wrote:
> It's sort of a pygtk issue -- it
> would have to be rewritten to take numpy arrays
not quite -- it would have to be re-written to use the array interface,
which is different, as that can be done without requiring numpy, or its
headers.
> which is probably
> unlike
On Wednesday 16 January 2008 08:22:45 am Michael Droettboom wrote:
> I'm having an enormous sense of deja vu...
>
> There was a very similar bug filed here,
> http://sourceforge.net/tracker/index.php?func=detail&aid=1757315&group_id=8
>0706&atid=560720
I think it is identical, I overlooked the ori
Hi MAtthias,
yes, I can confirm this behavior. This is what I get as well. But the
solution is easy: just get rid of th line
cb.ax.yaxis.set_major_formatter(formatter)
We don't need it anymore and it messes it all up. Without it, it should
work.
Greetings,
Thorsten
2008/1/11, Matthias Michler
I'm having an enormous sense of deja vu...
There was a very similar bug filed here,
http://sourceforge.net/tracker/index.php?func=detail&aid=1757315&group_id=80706&atid=560720
which I thought I had resolved in revision 4197 (which would have made
it into all of the 0.91.x releases).
My fix the
Thanks. I think that's actually unrelated to your patch -- but is new
since 0.91.2. Fixed in SVN r4872.
Thanks for your help,
Mike
Paul Novak wrote:
> The patch for legends works except for LineCollection. For any call to
> legend(), I get the errors below,
>
> Paul
>
> Traceback (most rece
Dear all,
I wrote an application allowing to display an imshow image in one part of a Tk
GUI and the corresponding colorbar in another part. This allows me to work on
the image with more freedom. My problem is then to save the result which
implies getting the 2 axes into another figure. I've be
27 matches
Mail list logo