________________________________
From: Ryan May <rmay31@...>
To: sandric ionut <sandricionut@...>
Cc: Matplotlib <matplotlibusers@...>
Sent: Sunday, April 19, 2009 5:37:28 PM
Subject: Re: [Matplotlibusers] drawing lines an exact angles
On Sun, Apr 19, 2009 at 6:25 AM, sandric ionut <sandricionut@...> wrote:
Hello:
I am trying to create a drawing for slope stability analysis and I need to draw lines at certain angles with certain lengths and than to calculate the angle of the lines intersections. Is it possible to use matplotlib?
Thank you in advance
Matplotlib can plot the lines, but there's not anything inherent to the calculation of the angle of intersection. But if you represent the slopes as vectors, the angle of intersection can be found from the dot product of the vectors.
Ryan

Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
