nothing show up when plotting with pcolor in 2D

9 views (last 30 days)
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,

Accepted Answer

Kelly Kearney
Kelly Kearney on 29 Mar 2014
The syntax is fine, so it should work. Possibly OpenGL issues? Try:
figure;
pcolor(X,Y,Z);
set(gcf, 'renderer', 'zbuffer');
  7 Comments
Kelly Kearney
Kelly Kearney on 4 Apr 2014
Once again, "something wrong" is a difficult problem to solve without any details as to your data or calling syntax or what you see or how it differs from what you want.

Sign in to comment.

More Answers (0)

Categories

Find more on Contour Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!