[Matplotlib-users] find the projected distance between two curves

2009-02-19 Thread G. Allegri
Hello list, I'm completely new to matplotlib and I'm not a computer scientist (not a good starting point!) but I need to solve a geometric/graphical problem. I've been asked to find a method, in Python, to find the distance between a 2D polynomial curve, derived from least squares interpolation on

[Matplotlib-users] Polar bars and matplotlib 0.98.5

2009-02-19 Thread Laurent Mychkine
hi, I'm using polar bars to plot windroses. Since the 0.98.5 version i have some issues with the plots. The 0° bar is not displayed in the good way. This bar is located between -0.26 radian and 0.26 radian but it is printed counterclockwise. It was working perfectly with matplotlib version

Re: [Matplotlib-users] Venn diagrams

2009-02-19 Thread Jason Grout
Ian Harry wrote: Hi all, Is there any simple way in matplotlib, or in any other python library, to make a simple Venn diagram, I want to show three events and their intersections? I have tried googling for any hints but didn't find anything. You can use Sage (http://www.sagemath.org or

[Matplotlib-users] errors when plotting random vectors

2009-02-19 Thread per freem
hi all, i'm trying to do something extremely simple, namely print a scatter plot of two random arrays: import matplotlib.plt as plt from numpy.random import * x = rand(1,10) scatter(x, x) this fails with the error: ValueError: Offsets array must be Nx2 what is happening here? are arrays

[Matplotlib-users] making points cross in simple plots

2009-02-19 Thread per freem
hi all, when plotting a simple scatter plot in matlab, points that overlap will cross in each other -- if i plot scatter(randn(1,1000),randn(1,1000)) then no point will be fully on top of the other -- if they overlap, then their edges will cross and they will look like tiny venn diagrams. in

Re: [Matplotlib-users] errors when plotting random vectors

2009-02-19 Thread Eric Firing
per freem wrote: hi all, i'm trying to do something extremely simple, namely print a scatter plot of two random arrays: import matplotlib.plt as plt from numpy.random import * x = rand(1,10) scatter(x, x) this fails with the error: ValueError: Offsets array must be Nx2 what

Re: [Matplotlib-users] making points cross in simple plots

2009-02-19 Thread Eric Firing
per freem wrote: hi all, when plotting a simple scatter plot in matlab, points that overlap will cross in each other -- if i plot scatter(randn(1,1000),randn(1,1000)) then no point will be fully on top of the other -- if they overlap, then their edges will cross and they will look

Re: [Matplotlib-users] find the projected distance between two curves

2009-02-19 Thread Andrew Straw
G. Allegri wrote: Hello list, I'm completely new to matplotlib and I'm not a computer scientist (not a good starting point!) but I need to solve a geometric/graphical problem. I've been asked to find a method, in Python, to find the distance between a 2D polynomial curve, derived from least