|
From: Matthieu B. <mat...@gm...> - 2012-03-26 12:26:16
|
Indeed, a little bit less simple, but the solution nonetheless. Thank you! 2012/3/26 Zachary Pincus <zac...@ya...> > > I'd like to display a scatter plot where the size for each element is > fixed. Currently, when I modify the size of the figure, the size of a > marker is fixed, and I would like it to be proportional to the window. > > I want this because the size of the marker indicates an extent, and I > would like it to confirm that the extents correctly cover the other points. > > If it's truly an extent, you might be better off drawing polygons of the > extent boundaries in the graph's coordinate system -- then things will > scale as you desire. This will require digging down a bit into the object > API -- make a new matplotlib.collections.PolyCollection (or > RegularPolyCollection), and add it to your axes with Axes.add_collection(). > > Zach > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Information System Engineer, Ph.D. Blog: http://matt.eifelle.com LinkedIn: http://www.linkedin.com/in/matthieubrucher |