MATLAB Answers

How can I use pcolor for cell array

1 view (last 30 days)
Farshid Daryabor
Farshid Daryabor on 9 Apr 2020
Commented: Walter Roberson on 9 Apr 2020
I really appriceiate help me to plot attached file for cell format. Thanks in advance.
figure
pcolor(datenum(Time),-PRES,TEMP);shading flat;colorbar
set(gca,'Color',[0.5 0.5 0.5]);
colormap(jet)
  3 Comments
Walter Roberson
Walter Roberson on 9 Apr 2020
You could probably use something like that, but your cell arrays have 358 entries, and you have a figure() call there, so you would end up making 358 figures. Is that what you wanted?

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!