[Matplotlib-users] Creating custom rectangle

2008-10-19 Thread bwgoudey
I'm looking to create a type of rectangle that draws with a cross from corner to corner, all as a single class type. To do this, I've created a subtype of the rectange class, that records what the current axis is and tries to draw two lines to it in the draw function. When displayting the graph, i

[Matplotlib-users] finding the intersection of 2 rectangles

2008-10-19 Thread Mathew Yeates
Is there an easy way to find the locations in rectangle1 that are covered by rectangle2? I couldn't find this anywhere. Mathew - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Li