FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib.github.com/examples/widgets/multicursor.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
/
widgets
/
multicursor.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
170 lines (140 loc) · 9.1 KB
Breadcrumbs
matplotlib.github.com
/
examples
/
widgets
/
multicursor.html
Copy path
File metadata and controls
170 lines (140 loc) · 9.1 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
<!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
>
widgets example code: multicursor.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
="
widgets Examples
"
href
="
index.html
"
/>
<
link
rel
="
next
"
title
="
widgets example code: radio_buttons.py
"
href
="
radio_buttons.html
"
/>
<
link
rel
="
prev
"
title
="
widgets example code: menu.py
"
href
="
menu.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
="
radio_buttons.html
"
title
="
widgets example code: radio_buttons.py
"
accesskey
="
N
"
>
next
</
a
>
|
</
li
>
<
li
class
="
right
"
>
<
a
href
="
menu.html
"
title
="
widgets example code: menu.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
"
>
widgets Examples
</
a
>
»
</
li
>
</
ul
>
</
div
>
<
div
class
="
sphinxsidebar
"
>
<
div
class
="
sphinxsidebarwrapper
"
>
<
h4
>
Previous topic
</
h4
>
<
p
class
="
topless
"
>
<
a
href
="
menu.html
"
title
="
previous chapter
"
>
widgets example code: menu.py
</
a
>
</
p
>
<
h4
>
Next topic
</
h4
>
<
p
class
="
topless
"
>
<
a
href
="
radio_buttons.html
"
title
="
next chapter
"
>
widgets example code: radio_buttons.py
</
a
>
</
p
>
<
div
role
="
note
"
aria-label
="
source link
"
>
<
h3
>
This Page
</
h3
>
<
ul
class
="
this-page-menu
"
>
<
li
>
<
a
href
="
../../_sources/examples/widgets/multicursor.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
="
widgets-example-code-multicursor-py
"
>
<
span
id
="
widgets-multicursor
"
>
</
span
>
<
h1
>
widgets example code: multicursor.py
<
a
class
="
headerlink
"
href
="
#widgets-example-code-multicursor-py
"
title
="
Permalink to this headline
"
>
¶
</
a
>
</
h1
>
<
p
>
[
<
a
class
="
reference external
"
href
="
multicursor.py
"
>
source code
</
a
>
]
</
p
>
<
div
class
="
highlight-python
"
>
<
div
class
="
highlight
"
>
<
pre
>
<
span
class
="
kn
"
>
import
</
span
>
<
span
class
="
nn
"
>
numpy
</
span
>
<
span
class
="
kn
"
>
as
</
span
>
<
span
class
="
nn
"
>
np
</
span
>
<
span
class
="
kn
"
>
import
</
span
>
<
span
class
="
nn
"
>
matplotlib.pyplot
</
span
>
<
span
class
="
kn
"
>
as
</
span
>
<
span
class
="
nn
"
>
plt
</
span
>
<
span
class
="
kn
"
>
from
</
span
>
<
span
class
="
nn
"
>
matplotlib.widgets
</
span
>
<
span
class
="
kn
"
>
import
</
span
>
<
span
class
="
n
"
>
MultiCursor
</
span
>
<
span
class
="
n
"
>
t
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
np
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
arange
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mf
"
>
0.0
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mf
"
>
2.0
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
mf
"
>
0.01
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
s1
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
np
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
sin
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
2
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
n
"
>
np
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
pi
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
n
"
>
t
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
s2
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
np
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
sin
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
4
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
n
"
>
np
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
pi
</
span
>
<
span
class
="
o
"
>
*
</
span
>
<
span
class
="
n
"
>
t
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
fig
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
plt
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
figure
</
span
>
<
span
class
="
p
"
>
()
</
span
>
<
span
class
="
n
"
>
ax1
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
fig
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
add_subplot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
211
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
ax1
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
plot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
t
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
s1
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
ax2
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
fig
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
add_subplot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
mi
"
>
212
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
sharex
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
ax1
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
ax2
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
plot
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
t
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
s2
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
multi
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
n
"
>
MultiCursor
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
fig
</
span
>
<
span
class
="
o
"
>
.
</
span
>
<
span
class
="
n
"
>
canvas
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
p
"
>
(
</
span
>
<
span
class
="
n
"
>
ax1
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
ax2
</
span
>
<
span
class
="
p
"
>
),
</
span
>
<
span
class
="
n
"
>
color
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
s
"
>
'r'
</
span
>
<
span
class
="
p
"
>
,
</
span
>
<
span
class
="
n
"
>
lw
</
span
>
<
span
class
="
o
"
>
=
</
span
>
<
span
class
="
mi
"
>
1
</
span
>
<
span
class
="
p
"
>
)
</
span
>
<
span
class
="
n
"
>
plt
</
span
>
<
span
class
="
o
"
>
.
</
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