MATLAB: Nothing show up when plotting with pcolor in 2D pcolorplot I want to plot with "pcolor" in matlab, my X is [1*3529], Y is [1*2540], my Z is [2540*3529], when I write the command pcolor(X,Y,Z) nothing show up, Why should it be like that? Thanks, Best Answer The syntax is fine, so it should work. Possibly OpenGL issues? Try:figure;pcolor(X,Y,Z);set(gcf, 'renderer', 'zbuffer'); Related SolutionsMATLAB: How to get a pcolor plot with equal no. of grids as that of a Z variable It is not possible with pcolor() without trouble. pcolor() uses surf() and surf creates faces from interpolating from the vertices, and so ends up with one fewer row and column of faces than in the original.image(Z);colormap(jet(9)) MATLAB: How to superpose several pcolor plots on same image Maybe you're having a problem because pcolor doesn't have the same number of "pixels" as what you passed in. See this code:pcolor(rand(3,5)); % Show 3 by 5 grid of pixels - NOT!Try these links to see how to overlay an image on another image.Steve's Image Processing BlogAnother link Related QuestionPcolor-plot move along the z-axis2つの画像を待機時間毎に繰り返し出力すると画像がちらつきます。対策を教えてください。
Best Answer