Please help, I was trying to show different graphs with different colors for the improfile, everything that I tried doesn't work, is this even possible? Thank you
1 次查看(过去 30 天)
显示 更早的评论
I1 = imread([pathname,filename]);
I1 = imrotate(I1,270);
figure;
I2 = imcrop(I1,[1075 174 1000 1649]);
imshow(I2)
hold on
plot([346 884], [566 566],'r-','linewidth',0.1);
plot([884 386], [783 783],'y-','linewidth',0.1);
plot([661 888], [1027 1027],'b-','linewidth',0.1);
x = [346 884];
y = [566 566];
x1 = [386 884];
y1 = [783 783];
x2 = [661 888];
y2 = [1027 1027];
figure;
hold on
improfile(I2,x,y),grid on;
improfile(I2,x1,y1);
improfile(I2,x2,y2);
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!