Python:为轴分配不同的值

时间:2018-06-21 00:12:42

标签: scale axis

我有一个从1到30缩放的图。我想将其切换为每1增量具有40微米。因此从1-1200总计,不​​更改情节。请帮我修改代码。 Graph is shown in scale from 1-30

d_map = np.reshape(peaks1,(30,30))#square 30x30,具体取决于您为SERS运行的编码

i_map = np.reshape(pos,(30,30))

print(len(peaks))

print(len(ind))

len(d_map)

figure(figsize =(10,10))

子图(1,3,1)

imshow(d_map_1200,cmap ='YlOrRd')

colorbar()

0 个答案:

没有答案