Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

matplotlib subplots

# Example with 3 figures (more can be added)

fig, (fig1, fig2, fig3) = plt.subplots(1, 3)	# subplots(row, columns)

fig1.plot(x,y)
fig2.plot(x,y)
fig3.plot(x,y)

plt.show()
 
PREVIOUS NEXT
Tagged: #matplotlib #subplots
ADD COMMENT
Topic
Name
1+4 =