FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib.github.com/examples/pylab_examples/boxplot_demo.html at master · coid/matplotlib.github.com · GitHub
coid
/
matplotlib.github.com
Public
forked from
matplotlib/matplotlib.github.com
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib.github.com
/
examples
/
pylab_examples
/
boxplot_demo.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
238 lines (201 loc) · 16.3 KB
Breadcrumbs
matplotlib.github.com
/
examples
/
pylab_examples
/
boxplot_demo.html
Copy path
File metadata and controls
238 lines (201 loc) · 16.3 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<
html
xmlns
="
http://www.w3.org/1999/xhtml
"
>
<
head
>
<
meta
http-equiv
="
Content-Type
"
content
="
text/html; charset=utf-8
"
/>
<
title
>
pylab_examples example code: boxplot_demo.py — Matplotlib 1.4.2 documentation
</
title
>
<
link
rel
="
stylesheet
"
href
="
../../_static/mpl.css
"
type
="
text/css
"
/>
<
link
rel
="
stylesheet
"
href
="
../../_static/pygments.css
"
type
="
text/css
"
/>
<
script
type
="
text/javascript
"
>
var
DOCUMENTATION_OPTIONS
=
{
URL_ROOT
:
'../../'
,
VERSION
:
'1.4.2'
,
COLLAPSE_INDEX
:
false
,
FILE_SUFFIX
:
'.html'
,
HAS_SOURCE
:
true
}
;
</
script
>
<
script
type
="
text/javascript
"
src
="
../../_static/jquery.js
"
>
</
script
>
<
script
type
="
text/javascript
"
src
="
../../_static/underscore.js
"
>
</
script
>
<
script
type
="
text/javascript
"
src
="
../../_static/doctools.js
"
>
</
script
>
<
link
rel
="
search
"
type
="
application/opensearchdescription+xml
"
title
="
Search within Matplotlib 1.4.2 documentation
"
href
="
../../_static/opensearch.xml
"
/>
<
link
rel
="
top
"
title
="
Matplotlib 1.4.2 documentation
"
href
="
../../index.html
"
/>
<
link
rel
="
up
"
title
="
pylab_examples Examples
"
href
="
index.html
"
/>
<
link
rel
="
next
"
title
="
pylab_examples example code: boxplot_demo2.py
"
href
="
boxplot_demo2.html
"
/>
<
link
rel
="
prev
"
title
="
pylab_examples example code: barcode_demo.py
"
href
="
barcode_demo.html
"
/>
<
link
href
="
http://fonts.googleapis.com/css?family=Raleway
"
rel
="
stylesheet
"
type
="
text/css
"
>
</
head
>
<
body
>
<
link
rel
="
shortcut icon
"
href
="
/_static/favicon.ico
"
>
<!-- The "Fork me on github" ribbon -->
<
img
style
="
float: right; margin-bottom: -40px; top: 0; right: 0; border: 0;
"
src
="
https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png
"
usemap
="
#ribbonmap
"
/>
<
map
name
="
ribbonmap
"
>
<
area
shape
="
poly
"
coords
="
15,0,148,-1,148,135
"
href
="
https://github.com/matplotlib/matplotlib
"
title
="
Fork me on GitHub
"
/>
</
map
>
<
div
style
="
background-color: white; text-align: left; padding: 10px 10px 15px 15px
"
>
<
a
href
="
../../index.html
"
>
<
img
src
="
../../_static/logo2.png
"
border
="
0
"
alt
="
matplotlib
"
/>
</
a
>
</
div
>
<
div
class
="
related
"
>
<
h3
>
Navigation
</
h3
>
<
ul
>
<
li
class
="
right
"
style
="
margin-right: 10px
"
>
<
a
href
="
../../genindex.html
"
title
="
General Index
"
accesskey
="
I
"
>
index
</
a
>
</
li
>
<
li
class
="
right
"
>
<
a
href
="
../../py-modindex.html
"
title
="
Python Module Index
"
>
modules
</
a
>
|
</
li
>
<
li
class
="
right
"
>
<
a
href
="
boxplot_demo2.html
"
title
="
pylab_examples example code: boxplot_demo2.py
"
accesskey
="
N
"
>
next
</
a
>
|
</
li
>
<
li
class
="
right
"
>
<
a
href
="
barcode_demo.html
"
title
="
pylab_examples example code: barcode_demo.py
"
accesskey
="
P
"
>
previous
</
a
>
|
</
li
>
<
li
>
<
a
href
="
../../index.html
"
>
home
</
a
>
|
</
li
>
<
li
>
<
a
href
="
../index.html
"
>
examples
</
a
>
|
</
li
>
<
li
>
<
a
href
="
../../gallery.html
"
>
gallery
</
a
>
|
</
li
>
<
li
>
<
a
href
="
../../api/pyplot_summary.html
"
>
pyplot
</
a
>
|
</
li
>
<
li
>
<
a
href
="
../../contents.html
"
>
docs
</
a
>
»
</
li
>
<
li
>
<
a
href
="
../index.html
"
>
Matplotlib Examples
</
a
>
»
</
li
>
<
li
>
<
a
href
="
index.html
"
accesskey
="
U
"
>
pylab_examples Examples
</
a
>
»
</
li
>
</
ul
>
</
div
>
<
div
class
="
sphinxsidebar
"
>
<
div
class
="
sphinxsidebarwrapper
"
>
<
h4
>
Previous topic
</
h4
>
<
p
class
="
topless
"
>
<
a
href
="
barcode_demo.html
"
title
="
previous chapter
"
>
pylab_examples example code: barcode_demo.py
</
a
>
</
p
>
<
h4
>
Next topic
</
h4
>
<
p
class
="
topless
"
>
<
a
href
="
boxplot_demo2.html
"
title
="
next chapter
"
>
pylab_examples example code: boxplot_demo2.py
</
a
>
</
p
>
<
div
role
="
note
"
aria-label
="
source link
"
>
<
h3
>
This Page
</
h3
>
<
ul
class
="
this-page-menu
"
>
<
li
>
<
a
href
="
../../_sources/examples/pylab_examples/boxplot_demo.txt
"
rel
="
nofollow
"
>
Show Source
</
a
>
</
li
>
</
ul
>
</
div
>
<
div
id
="
searchbox
"
style
="
display: none
"
role
="
search
"
>
<
h3
>
Quick search
</
h3
>
<
form
class
="
search
"
action
="
../../search.html
"
method
="
get
"
>
<
input
type
="
text
"
name
="
q
"
/>
<
input
type
="
submit
"
value
="
Go
"
/>
<
input
type
="
hidden
"
name
="
check_keywords
"
value
="
yes
"
/>
<
input
type
="
hidden
"
name
="
area
"
value
="
default
"
/>
</
form
>
<
p
class
="
searchtip
"
style
="
font-size: 90%
"
>
Enter search terms or a module, class or function name.
</
p
>
</
div
>
<
script
type
="
text/javascript
"
>
$
(
'#searchbox'
)
.
show
(
0
)
;
</
script
>
</
div
>
</
div
>
<
div
class
="
document
"
>
<
div
class
="
documentwrapper
"
>
<
div
class
="
bodywrapper
"
>
<
div
class
="
body
"
>
<
div
class
="
section
"
id
="
pylab-examples-example-code-boxplot-demo-py
"
>
<
span
id
="
pylab-examples-boxplot-demo
"
>
</
span
>
<
h1
>
pylab_examples example code: boxplot_demo.py
<
a
class
="
headerlink
"
href
="
#pylab-examples-example-code-boxplot-demo-py
"
title
="
Permalink to this headline
"
>
¶
</
a
>
</
h1
>
<
p
>
(
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo.py
"
>
Source code
</
a
>
)
</
p
>
<
div
class
="
figure
"
id
="
id1
"
>
<
img
alt
="
../../_images/boxplot_demo_00.png
"
src
="
../../_images/boxplot_demo_00.png
"
/>
<
p
class
="
caption
"
>
<
span
class
="
caption-text
"
>
(
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_00.png
"
>
png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_00.hires.png
"
>
hires.png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_00.pdf
"
>
pdf
</
a
>
)
</
span
>
<
a
class
="
headerlink
"
href
="
#id1
"
title
="
Permalink to this image
"
>
¶
</
a
>
</
p
>
</
div
>
<
div
class
="
figure
"
id
="
id2
"
>
<
img
alt
="
../../_images/boxplot_demo_01.png
"
src
="
../../_images/boxplot_demo_01.png
"
/>
<
p
class
="
caption
"
>
<
span
class
="
caption-text
"
>
(
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_01.png
"
>
png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_01.hires.png
"
>
hires.png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_01.pdf
"
>
pdf
</
a
>
)
</
span
>
<
a
class
="
headerlink
"
href
="
#id2
"
title
="
Permalink to this image
"
>
¶
</
a
>
</
p
>
</
div
>
<
div
class
="
figure
"
id
="
id3
"
>
<
img
alt
="
../../_images/boxplot_demo_02.png
"
src
="
../../_images/boxplot_demo_02.png
"
/>
<
p
class
="
caption
"
>
<
span
class
="
caption-text
"
>
(
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_02.png
"
>
png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_02.hires.png
"
>
hires.png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_02.pdf
"
>
pdf
</
a
>
)
</
span
>
<
a
class
="
headerlink
"
href
="
#id3
"
title
="
Permalink to this image
"
>
¶
</
a
>
</
p
>
</
div
>
<
div
class
="
figure
"
id
="
id4
"
>
<
img
alt
="
../../_images/boxplot_demo_03.png
"
src
="
../../_images/boxplot_demo_03.png
"
/>
<
p
class
="
caption
"
>
<
span
class
="
caption-text
"
>
(
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_03.png
"
>
png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_03.hires.png
"
>
hires.png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_03.pdf
"
>
pdf
</
a
>
)
</
span
>
<
a
class
="
headerlink
"
href
="
#id4
"
title
="
Permalink to this image
"
>
¶
</
a
>
</
p
>
</
div
>
<
div
class
="
figure
"
id
="
id5
"
>
<
img
alt
="
../../_images/boxplot_demo_04.png
"
src
="
../../_images/boxplot_demo_04.png
"
/>
<
p
class
="
caption
"
>
<
span
class
="
caption-text
"
>
(
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_04.png
"
>
png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_04.hires.png
"
>
hires.png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_04.pdf
"
>
pdf
</
a
>
)
</
span
>
<
a
class
="
headerlink
"
href
="
#id5
"
title
="
Permalink to this image
"
>
¶
</
a
>
</
p
>
</
div
>
<
div
class
="
figure
"
id
="
id6
"
>
<
img
alt
="
../../_images/boxplot_demo_05.png
"
src
="
../../_images/boxplot_demo_05.png
"
/>
<
p
class
="
caption
"
>
<
span
class
="
caption-text
"
>
(
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_05.png
"
>
png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_05.hires.png
"
>
hires.png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_05.pdf
"
>
pdf
</
a
>
)
</
span
>
<
a
class
="
headerlink
"
href
="
#id6
"
title
="
Permalink to this image
"
>
¶
</
a
>
</
p
>
</
div
>
<
div
class
="
figure
"
id
="
id7
"
>
<
img
alt
="
../../_images/boxplot_demo_06.png
"
src
="
../../_images/boxplot_demo_06.png
"
/>
<
p
class
="
caption
"
>
<
span
class
="
caption-text
"
>
(
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_06.png
"
>
png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_06.hires.png
"
>
hires.png
</
a
>
,
<
a
class
="
reference external
"
href
="
../../mpl_examples/pylab_examples/boxplot_demo_06.pdf
"
>
pdf
</
a
>
)
</
span
>
<
a
class
="
headerlink
"
href
="
#id7
"
title
="
Permalink to this image
"
>
¶
</
a
>
</
p
>
</
div
>
<
div
class
="
highlight-python
"
>
<
div
class
="
highlight
"
>
<
pre
>
<
span
class
="
c
"
>
#!/usr/bin/python
</
span
>
<
span
class
="
c
"
>
#
</
span
>
<
span
class
="
c
"
>
# Example boxplot code
</
span
>
<
span
class
="
c
"
>
#
</
span
>
<
span
class
="
kn
"
>
from
</
span
>
<
span
class
="
nn
"
>
pylab
</
span
>
<
span
class
="
kn
"
>
import
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
c
"
>
# fake up some data
</
span
>
<
span
class
="
n
"
>
spread
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
rand
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
50
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
mi
"
>
100
</
span
>
<
span
class
="
n
"
>
center
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
ones
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
25
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
mi
"
>
50
</
span
>
<
span
class
="
n
"
>
flier_high
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
rand
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
10
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
mi
"
>
100
</
span
>
<
span
class
="
o
"
>
+
</
span
>
<
span
class
="
mi
"
>
100
</
span
>
<
span
class
="
n
"
>
flier_low
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
rand
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
10
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
o
"
>
-
</
span
>
<
span
class
="
mi
"
>
100
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
concatenate
</
span
>
<
span
class
="
p
"
>
((
</
span
>
<
span
class
="
n
"
>
spread
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
center
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
flier_high
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
flier_low
</
span
>
<
span
class
="
p
"
>
),
</
span
>
<
span
class
="
mi
"
>
0
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
c
"
>
# basic plot
</
span
>
<
span
class
="
n
"
>
boxplot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
c
"
>
# notched plot
</
span
>
<
span
class
="
n
"
>
figure
</
span
>
<
span
class
="
p
"
>
()
</
span
>
<
span
class
="
n
"
>
boxplot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mi
"
>
1
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
c
"
>
# change outlier point symbols
</
span
>
<
span
class
="
n
"
>
figure
</
span
>
<
span
class
="
p
"
>
()
</
span
>
<
span
class
="
n
"
>
boxplot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mi
"
>
0
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
s
"
>
'gD'
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
c
"
>
# don't show outlier points
</
span
>
<
span
class
="
n
"
>
figure
</
span
>
<
span
class
="
p
"
>
()
</
span
>
<
span
class
="
n
"
>
boxplot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mi
"
>
0
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
s
"
>
''
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
c
"
>
# horizontal boxes
</
span
>
<
span
class
="
n
"
>
figure
</
span
>
<
span
class
="
p
"
>
()
</
span
>
<
span
class
="
n
"
>
boxplot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mi
"
>
0
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
s
"
>
'rs'
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mi
"
>
0
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
c
"
>
# change whisker length
</
span
>
<
span
class
="
n
"
>
figure
</
span
>
<
span
class
="
p
"
>
()
</
span
>
<
span
class
="
n
"
>
boxplot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mi
"
>
0
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
s
"
>
'rs'
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mi
"
>
0
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mf
"
>
0.75
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
c
"
>
# fake up some more data
</
span
>
<
span
class
="
n
"
>
spread
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
rand
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
50
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
mi
"
>
100
</
span
>
<
span
class
="
n
"
>
center
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
ones
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
25
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
mi
"
>
40
</
span
>
<
span
class
="
n
"
>
flier_high
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
rand
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
10
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
mi
"
>
100
</
span
>
<
span
class
="
o
"
>
+
</
span
>
<
span
class
="
mi
"
>
100
</
span
>
<
span
class
="
n
"
>
flier_low
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
rand
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
10
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
o
"
>
-
</
span
>
<
span
class
="
mi
"
>
100
</
span
>
<
span
class
="
n
"
>
d2
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
concatenate
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
spread
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
center
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
flier_high
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
flier_low
</
span
>
<
span
class
="
p
"
>
),
</
span
>
<
span
class
="
mi
"
>
0
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
shape
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
o
"
>
-
</
span
>
<
span
class
="
mi
"
>
1
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mi
"
>
1
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
d2
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
shape
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
o
"
>
-
</
span
>
<
span
class
="
mi
"
>
1
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mi
"
>
1
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
c
"
>
#data = concatenate( (data, d2), 1 )
</
span
>
<
span
class
="
c
"
>
# Making a 2-D array only works if all the columns are the
</
span
>
<
span
class
="
c
"
>
# same length. If they are not, then use a list instead.
</
span
>
<
span
class
="
c
"
>
# This is actually more efficient because boxplot converts
</
span
>
<
span
class
="
c
"
>
# a 2-D array into a list of vectors internally anyway.
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
p
"
>
[
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
d2
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
d2
</
span
>
<
span
class
="
p
"
>
[::
</
span
>
<
span
class
="
mi
"
>
2
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mi
"
>
0
</
span
>
<
span
class
="
p
"
>
]]
</
span
>
<
span
class
="
c
"
>
# multiple box plots on one figure
</
span
>
<
span
class
="
n
"
>
figure
</
span
>
<
span
class
="
p
"
>
()
</
span
>
<
span
class
="
n
"
>
boxplot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
data
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
show
</
span
>
<
span
class
="
p
"
>
()
</
span
>
</
pre
>
</
div
>
</
div
>
<
p
>
Keywords: python, matplotlib, pylab, example, codex (see
<
a
class
="
reference internal
"
href
="
../../faq/howto_faq.html#how-to-search-examples
"
>
<
em
>
Search examples
</
em
>
</
a
>
)
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
class
="
clearer
"
>
</
div
>
</
div
>
<
div
class
="
footer
"
>
© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the matplotlib development team; 2012 - 2014 The matplotlib development team.
Last updated on Oct 25, 2014.
Created using
<
a
href
="
http://sphinx-doc.org/
"
>
Sphinx
</
a
>
1.3b2.
</
div
>
<
script
>
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
)
{
i
[
'GoogleAnalyticsObject'
]
=
r
;
i
[
r
]
=
i
[
r
]
||
function
(
)
{
(
i
[
r
]
.
q
=
i
[
r
]
.
q
||
[
]
)
.
push
(
arguments
)
}
,
i
[
r
]
.
l
=
1
*
new
Date
(
)
;
a
=
s
.
createElement
(
o
)
,
m
=
s
.
getElementsByTagName
(
o
)
[
0
]
;
a
.
async
=
1
;
a
.
src
=
g
;
m
.
parentNode
.
insertBefore
(
a
,
m
)
}
)
(
window
,
document
,
'script'
,
'//www.google-analytics.com/analytics.js'
,
'ga'
)
;
ga
(
'create'
,
'UA-55954603-1'
,
'auto'
)
;
ga
(
'send'
,
'pageview'
)
;
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL