SourceForge logo
SourceForge logo
Menu

[matplotlib-devel] Size of scatter markers

From: Matt W. <ma...@ma...> - 2007年01月17日 04:34:14
I want to calculate the intersection of the edge of a marker with a line
running from the center to another marker. I want to do this in order to
decorate the intersection.
I'm using the following code(derived from some code in axes.py) to try
and "divine" the size:
 node_sz=sqrt(size*(ax.figure.dpi.get()/72.0))
This is not right. Clearly, I just don't have an idea what I'm doing
(when it comes to calculating the distance along a vector(the along a
vector part is easy) of the size of scatter marker). Anyway, who can
point me in the right direction would be my hero for atleast 2 or 3
hours.
-- 
Matt

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /