Hi,
How difficult would be to extend the Rectangle class so besides its permimeter
it draws lines showing halfs or thirds of the width and height? I use rectangle
to mark the locations of moving objects in sequences of images, and such lines
would make the job easier.
Thanks,
Jorge
It depends on your mileage.
However, a patch in matplotlib usually means a closed path. If you add
additional lines, you need to be careful not to mess the filling of
the rectangle.
I guess it would better to simply use separate artists for additional
lines you want. You may create a container artist for patches and
lines if you want.
Regards,
-JJ
ยทยทยท
On Tue, Dec 1, 2009 at 8:48 AM, Jorge Scandaliaris <jorgesmbox-ml@...1664...> wrote:
How difficult would be to extend the Rectangle class so besides its permimeter
it draws lines showing halfs or thirds of the width and height?