On Fri, Jul 29, 2011 at 4:51 PM, Mátyás János <mjan...@gmail.com> wrote:

> Dear users,
>
> I would like to draw lines with fixed pixel thickness, for example 1,
> 2, or 3 pixels, which remains 1 pixel, even if I zoom in and out the
> graph in my interactive application. How can I do this with matplotlib?
>
> I tried to set linewidth to 1 on creating LineCollection, but this
> creates too thick lines. If I set it to 0.25 or 0.1, for example, then
> some lines on the screen are thin, but some line instances are
> simply missing (not visible), depending on the zoom.
>
>
> Thank you for your help,
>
> János
>
>
Janos,

This sounds like some bugs that may have been fixed at some point.  Which
version of matplotlib are you using, and which backend?

Ben Root
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to