Question
python matplotlib pcolormesh plot from x,y,z data I have a set if images with dimensions 1200 x 1600 pixels and two txt file with 1200
python matplotlib pcolormesh plot from x,y,z data
I have a set if images with dimensions 1200 x 1600 pixels and two txt file with 1200 y values and 1600 x values.
txt file1: pixel#, x 0, 2.34 1, 5.6 . . . 1200, 3.45
txt file2: pixel#, y 0, 1.45
1, 6.46 .
. .
1600, 2.55
I am trying to find a way to combine my images with the data and using the pcolormesh function to create a heatmap. My number of images would be in x axis, the x values of the txtfile 1 in y axis and finally the y values of the txtfile 2 in z axis. I am expecting a heatmap with dimension 1200x1600.
I am confused on how to proceed after uploading the images and the two txtfiles on my notebook.
Thank you in advance
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started