DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
matplotlib plot in second axis
fig
,
ax
=
plt
.
subplots
(
)
ax
.
plot
(
y1
)
ax2
=
ax
.
twinx
(
)
ax2
.
plot
(
y2
)
plt
.
show
(
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#matplotlib
#plot
#axis
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit