#6162: [with patch, positive review] plot_histogram improvments
----------------------+-----------------------------------------------------
 Reporter:  wdj       |       Owner:  was           
     Type:  defect    |      Status:  new           
 Priority:  minor     |   Milestone:  sage-4.1      
Component:  graphics  |    Keywords:  plot histogram
 Reviewer:  cswiercz  |      Author:  Nick Alexander
   Merged:            |  
----------------------+-----------------------------------------------------

Comment(by cswiercz):

 Using your example, I'm just curious is there's any difference between the
 following two plots: (aside from the default red indexing below each bar
 in the plot)

 {{{
 sage: J = [ZZ(n) for n in range(10)]
 sage: A = [RR(gauss(0,1)) for n in range(10)]
 sage: s = IndexedSequence(A,J)
 sage: s.plot_histogram()
 sage: bar_chart(s.list())
 }}}

 The only difference I can see is bar placement. (The indexing set easily
 allows you to place the bars in {{{IndexedSequence().plot_histogram()}}}
 wherever you like.) I'm sure that there's a lot of application for kind of
 plot with an indexed set.

 I tested the functionality of your code and, from my observations, it
 works great! Therefore, I give it a positive review. I just wanted a
 little bit of clarification on what kind of information the
 {{{plot_histogram()}}} method was actually presenting.

 Sorry if my questions caused too much of a problem.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6162#comment:12>
Sage <http://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