#15011: adding support for RIF and CIF in list_plot
----------------------------+-------------------------------------
    Reporter:  dkrenn       |            Owner:
        Type:  enhancement  |           Status:  new
    Priority:  minor        |        Milestone:  sage-5.12
   Component:  graphics     |         Keywords:  list_plot cif rif
   Merged in:               |          Authors:
   Reviewers:               |  Report Upstream:  N/A
 Work issues:               |           Branch:
Dependencies:               |         Stopgaps:
----------------------------+-------------------------------------
 It is not possible to plot {{{CIF}}}- and {{{RIF}}}-Elements with
 {{{list_plot}}}, e.g.
 the command
 {{{
 list_plot([CIF(RIF(1/k, 1/k), RIF(-k, k)) for k in [1..10]])
 }}}
 gives
 {{{
 Traceback (click to the left of this block for traceback)
 ...
 TypeError: unable to coerce to a ComplexNumber: <type
 'sage.rings.complex_interval.ComplexIntervalFieldElement'>
 }}}
 Similarly,
 {{{
 list_plot([(k, RIF(-k, k)) for k in [1..10]])
 }}}
 should be possible.

 It seems, that #8535 implemented a {{{plot}}-routine, e.g.
 {{{
 sum(plot(CIF(RIF(1/k, 1/k), RIF(-k, k))) for k in [1..10])
 }}}
 works, so making {{{list_plot}}} work should not be too difficult.

--
Ticket URL: <http://trac.sagemath.org/ticket/15011>
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/groups/opt_out.


Reply via email to