#5438: [with patch, positive review] Incorrect documentation and/or 
functionality
in plot filling
----------------------+-----------------------------------------------------
 Reporter:  kcrisman  |       Owner:  kcrisman  
     Type:  defect    |      Status:  assigned  
 Priority:  minor     |   Milestone:  sage-3.4.2
Component:  graphics  |    Keywords:  plot fill 
----------------------+-----------------------------------------------------

Comment(by mvngu):

 After applying the patch '''trac_5438.patch''', both of the following
 commands
 {{{
 plot(sin(x), xmin=-2*pi, xmax=2*pi, fill="0.5")
 }}}
 and
 {{{
 plot(sin(x), xmin=-2*pi, xmax=2*pi, fill=0.5)
 }}}
 produce the same looking plot. Notice that in the first command, the value
 for the fill option is the string {{{"0.5"}}}. In the second command, the
 value for the fill option is the number {{{0.5}}}. So for the fill option,
 if its value is a number given as a string, then the string is parsed for
 its numeric value. Is that intended?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5438#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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