On Thu, Oct 9, 2014 at 5:05 AM, Christophe Bal <[email protected]> wrote:
> Indeed, I was hoping a magic  histogram(datas) .

This has come up dozens of times over the year.    Somebody should
just make a top-level histogram command in Sage, which
options/functionality like [1].  The problem is that in 2006 when Alex
Clemesha decided to sit down and "implement math friendly 2d graphics"
he didn't get to histogram (though he did a massive amount of other
stuff), and for some reason most work after that has been
polishing/refactoring/improving the things he did do, rather than
adding new functions he missed.

For now, I think stats.TimeSeries(...) is the easiest way to make a
Sage-friendly 2d histogram.  It certainly scales up to large input, at
least.

[1] http://reference.wolfram.com/language/ref/Histogram.html

>
> C.
>
>
> Le jeudi 9 octobre 2014 13:59:46 UTC+2, Harald Schilly a écrit :
>>
>> On Thu, Oct 9, 2014 at 12:39 PM, Christophe Bal <[email protected]> wrote:
>> > I would like to plot an histogram. Does matplotlib be the only way ?
>>
>> Your question is very general, you can use R (hist, ggplot' hist),
>> Python (matplotlib (what's wrong with it?), pandas, ggplot) and Sage.
>> There are probably even more options, e.g. numpy/scipy also has
>> histogram routines.
>>
>> What type of data is it?
>>
>> -- harald
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-cloud" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-cloud/bdd7e6f4-2243-4450-857f-c78577c603a2%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" 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-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to