Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

subplots

fig, (ax1, ax2,ax3,ax4,ax5) = plt.subplots(1,5)

# Whatever you want your values to be:-
ax1.plot([1,2,3,4,5], [1,2,3,4,10], 'go')
ax2.plot([1,2,3,4,5], [2,3,4,5,11], 'b*') 


#X labels:-

ax1.set_xlabel('whatever you want')  
ax2.set_xlabel('whatever you want')
ax3.set_xlabel('whatever you want')
ax4.set_xlabel('whatever you want')
ax5.set_xlabel('whatever you want')
#You can do same with Y axis
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #subplots
ADD COMMENT
Topic
Name
6+3 =