MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   【求助】图片上画矢量 (https://www.labfans.com/bbs/showthread.php?t=1376)

taotaofu 2008-02-08 23:21

【求助】图片上画矢量
 
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


所有时间均为北京时间。现在的时间是 13:30

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.