#6162: [with patch, needs work] 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 wdj):
I don't know why you expect your example to look like a bell curve.
In any case, there are too many points for plot_histogram to work with
your example. Try
{{{
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: P = s.plot_histogram()
sage: show(P)
}}}
Regarding your suggestion to use , I get:
{{{
sage: import finance.timeseries.TimeSeries
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
....
}}}
Can you be more specific?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6162#comment:10>
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
-~----------~----~----~----~------~----~------~--~---