Improfile changing colour of plot

3 次查看(过去 30 天)
Hello, does anyone know if its possible to change the colour of a plot created by improfile?

采纳的回答

Setsuna Yuuki.
Setsuna Yuuki. 2020-12-2
编辑:Setsuna Yuuki. 2020-12-2
You can try:
%Example Mathwork
I = imread('liftingbody.png');
x = [19 427 416 77];
y = [96 462 37 33];
[a,b,c] = improfile(I,x,y);
%I added this lines
figure
plot3(b,a,c,'r')
view(45,45)
Original
with plot3()

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by