Ask Your Question
0

How to make a boxplot in Sage?

asked 2012-05-24 00:22:03 -0500

paldepind gravatar image

How do you make a boxplot in Sage given a dataset?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2012-05-24 06:11:45 -0500

Jason Grout gravatar image

updated 2012-05-24 06:26:48 -0500

Here are some examples. 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.

edit flag offensive delete link more
1

answered 2012-05-24 10:59:07 -0500

kcrisman gravatar image

Not 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()
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-05-24 00:22:03 -0500

Seen: 750 times

Last updated: May 24 '12