ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 24 May 2012 10:59:07 -0500How to make a boxplot in Sage?https://ask.sagemath.org/question/8998/how-to-make-a-boxplot-in-sage/How do you make a boxplot in Sage given a dataset?Thu, 24 May 2012 00:22:03 -0500https://ask.sagemath.org/question/8998/how-to-make-a-boxplot-in-sage/Answer by kcrisman for <p>How do you make a boxplot in Sage given a dataset?</p>
https://ask.sagemath.org/question/8998/how-to-make-a-boxplot-in-sage/?answer=13610#post-id-13610Not an answer! Just copying one of the examples linked in Jason's post in case sagenb gets too slow at times.
data1=[1,2,2,2,1,1,2,2,2,2,2,3,3,3,3,3,3,3,4,4,4,3,3,3,4,5,5,10]
data2=[5,4,4,4,4,3,3,3,3,3,3,3,3,3,2,2,2,2,5,5,5,5,5,6,6,6,6,6,6]
r.png()
r.boxplot(data1,data2)
r.dev_off() Thu, 24 May 2012 10:59:07 -0500https://ask.sagemath.org/question/8998/how-to-make-a-boxplot-in-sage/?answer=13610#post-id-13610Answer by Jason Grout for <p>How do you make a boxplot in Sage given a dataset?</p>
https://ask.sagemath.org/question/8998/how-to-make-a-boxplot-in-sage/?answer=13608#post-id-13608Here are some [examples](http://sagenb.org/pub/?typ=pub&search=boxplot). To find these, I went to sagenb.org, clicked on "Browse published worksheets", then in the search box in the upper right, typed "boxplot" and clicked the search button.Thu, 24 May 2012 06:11:45 -0500https://ask.sagemath.org/question/8998/how-to-make-a-boxplot-in-sage/?answer=13608#post-id-13608