I have two raster file, i want to perform Scatter plot of those raster . I found one code that is written by Dan Patterson
from matplotlib import pyplot as plt
xs = [1,3,2,5,6,4] # Which fomart of data i have to give here?
ys = [3,2,1,5,3,2]
main_title ="My first graph"
plt.title(main_title, loc='center') #loc is either left, right or center
plt.tick_params(which='major', direction='in', length=6, width=2)
plt.tick_params(which='minor', direction='in', length=4, width=2)
Earlier Dan suggest to someone convert those raster to arrays. I followed the same but could not solve it. How to process tiff to array.
how do i execute two raster in X and Y axis. I have tiff images.