查看单个帖子
旧 2008-02-08, 23:21   #1
taotaofu
初级会员
 
注册日期: 2008-02-08
年龄: 42
帖子: 1
声望力: 0
taotaofu 正向着好的方向发展
默认 【求助】图片上画矢量

I want to draw vectors on the picture '1.tif', I use 'hold on' to do it, but unfortunately,I cannot get the results, does anyone know what is the problem?

我想在图片上画矢量,程序如下,不过遗憾的是不能实现,是不是我的图片读入有问题呢?请指教,谢谢!



I=imread('E:\velocity profile\T600\gas_liquid\0.8%(wt.)_SDS\1.tif');
hold on
quiver(a(:,1),a(:,2),a(:,3),a(:,4));
hold off
colormap copper
taotaofu 当前离线   回复时引用此帖