On Wed, Jan 14, 2009 at 8:03 AM, slabbe <sla...@gmail.com> wrote:
>
> In pstricks, I can draw a line using the 'linearc' argument :
>
> \psline[linewidth=2pt,linearc=.25](4,2)(0,1)(2,0)
>
> where linearc is defined as follows (taken from pstricks user guide) :
>
> linearc=dim (Default: 0pt)
>     The radius of arcs drawn at the corners of lines by the \psline
> and
>     \pspolygon graphics objects. dim should be positive.
>
> The following
>
> sage: line([(4,2),(0,1),(2,0)], linearc=.25)
>
> doesn't actually work, so how can I do the equivalent in sage ?

Probably implement a function that computes all the points on the arc,
then feeds that into line.

Then nicely document your function and contribute it to sage.

In short, "it's easy; implement it and send us a patch."

William

>
> Thank you,
>
> Sébastien Labbé
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to