I am writing a program that receives graph data from a graph (JPEG). The vertical axis is logarithmic. I successfully made a program that understands the horizontal and vertical axes as linear (not logarithmic), see the code below:

%matplotlib inline from PIL import Image from scipy import * from pylab import * im = array(Image.open('fig1.jpg')) hh = im.shape[0] ww = im.shape[2] imshow(im) print(im[100,0,:]) Col = array([255,0,0])
I do not know how to change it in order to understand the logarithmic axis. Please help me.
source share