Alan G Isaac wrote:
> Jason Grout wrote:
>> The other problem is a more serious problem for me: how do 
>> I shorten the line so that it goes between the boundaries 
>> of the circle instead of the centers, especially when the 
>> circles are constructed in a scatter plot. 
> 
> Some years back I briefly tried to think about arrows and
> I found it trickier than expected.  Note that some famous
> software clearly does arrows wrong.  (E.g., gnuplot, at
> least last I checked.)
> 
> Example: you have decided that you want to draw to the edge
> of a point, but a) is that right and b) can it be reasonably
> implemented?
> 
> a) One might well argue in many applications that the arrow
> tip should go to the center of the circle.

I'm sure there are lots of applications where this is true.  My specific 
problem domain is drawing graphs, exactly as graphviz. Often there is a 
label inside the circle.  Drawing to the edge of the circle is the 
standard way of doing it, so a) is yes, it is the right thing to do.

Things like flowcharts are another example of wanting to do this.


> 
> b) I'm not sure.


Thanks; at least this is validating the amount of time I already spent 
thinking about this and trying to get it to work.


> 
> But surely somebody out there will offer some great clues.
> Perhaps along the line of graphviz:
> http://www.graphviz.org/Gallery/directed/fsm.html
> 
> Really this is not an answer to your questions ...

Thanks for your comments.  I think I'll post up another post asking some 
more specific questions, along the lines of what I think might work if I 
can figure out what matplotlib is thinking.

Jason


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to