Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

plt show 2 images

#subplot(r,c) provide the no. of rows and columns
f, axarr = plt.subplots(2,1) 

# use the created array to output your multiple images. In this case I have stacked 2 images vertically
axarr[0].imshow(img1)
axarr[1].imshow(np.log(img2))

plt.show()
 
PREVIOUS NEXT
Tagged: #plt #show #images
ADD COMMENT
Topic
Name
8+6 =