#5603: make a .mix() method for Sage color objects
-------------------------+--------------------------------------------------
 Reporter:  jason        |         Owner:  was       
     Type:  enhancement  |        Status:  closed    
 Priority:  minor        |     Milestone:  sage-4.4.2
Component:  graphics     |    Resolution:  fixed     
 Keywords:               |        Author:            
 Upstream:  N/A          |      Reviewer:            
   Merged:               |   Work_issues:            
-------------------------+--------------------------------------------------
Changes (by mvngu):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Close as fixed:

 {{{
 [mv...@sage ~]$ sage
 ----------------------------------------------------------------------
 | Sage Version 4.4.1, Release Date: 2010-05-02                       |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 sage: b = sage.plot.colors.blue
 sage: r = sage.plot.colors.red
 sage: g = sage.plot.colors.green
 sage: b.blend(r)
 RGB color (0.5, 0.0, 0.5)
 sage: r.blend(b)
 RGB color (0.5, 0.0, 0.5)
 sage: r.blend(g)
 RGB color (0.5, 0.25098039215686274, 0.0)
 sage: g.blend(r)
 RGB color (0.5, 0.25098039215686274, 0.0)
 sage: g.blend(b)
 RGB color (0.0, 0.25098039215686274, 0.5)
 sage: b.blend(g)
 RGB color (0.0, 0.25098039215686274, 0.5)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5603#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to