meatball1982 发表于 2016-7-25 23:57:20

豆粑粑 一个图,两个子图,两个colormap

两个subplot
两个子图,两个不同的colormap

clear all
clc

=peaks(30);

=peaks(40);


h=gcf;
set(h,'position',);

sp1=subplot(2,1,1)
surf(x1,y1,z1,'edgecolor','none')
colormap(sp1,'cool')

sp2=subplot(2,1,2)
surf(x2,y2,z2,'edgecolor','none')
colormap(sp2,'hot')

页: [1]
查看完整版本: 豆粑粑 一个图,两个子图,两个colormap