#16679: Plot the triangulation of a disk associated to a sine-Gordon Y-system
-------------------------------------+-------------------------------------
       Reporter:  etn40ff            |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.6
      Component:  combinatorics      |   Resolution:
       Keywords:  Y-systems,         |    Merged in:
  cluster algebras, triangulations   |    Reviewers:
        Authors:  Salvatore Stella   |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  f699370fd73dde0e66958c41534ca9544fd09132
  public/ticket/16679                |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by etn40ff):

 I assume you are talking about the parametric_plot in lines 519-524 and
 542-546
 (the other does not plot arcs).

 If I replace them with sage.plot.arc.arc I then do not know how to plot
 the gray
 triangular regions. Right now, in lines 572-576 I get a list of points out
 of
 three 'parametric_plot arcs' and then make a polygon from this list.
 Unfortunately I do not know how to get points from the output of
 sage.plot.arc.arc, nor if it is possible to shade a region not bounded by
 line
 segments.

 Few considerations: sage.plot.arc.arc is extremely more efficient than the
 workaround with parametric_plot precisely because it does not have to
 compute
 points. Luckily the number of arcs that this routine plots is not big
 enough for
 this to be a (big) issue. Moreover, as you suggested, it would be nice to
 use
 the hyperbolic plot facilities already in sage but this would mean
 implementing
 two different logics (one for the unpunctured disk and one for the
 punctured
 disk) because the punctured disk, being a cover of the UHP, is not
 implemented
 as a hyperbolic model. I am not sure this would make the code more
 readable.

 Any suggestion on how to address this?

--
Ticket URL: <http://trac.sagemath.org/ticket/16679#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to