Hello, does anyone know if its possible to change the colour of a plot created by improfile?

 Akzeptierte Antwort

Setsuna Yuuki.
Setsuna Yuuki. am 2 Dez. 2020
Bearbeitet: Setsuna Yuuki. am 2 Dez. 2020

0 Stimmen

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()

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020b

Tags

Gefragt:

am 2 Dez. 2020

Kommentiert:

am 3 Dez. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by