Borrar filtros
Borrar filtros

Improfile changing colour of plot

5 visualizaciones (últimos 30 días)
Jason
Jason el 2 de Dic. de 2020
Comentada: Jason el 3 de Dic. de 2020
Hello, does anyone know if its possible to change the colour of a plot created by improfile?

Respuesta aceptada

Setsuna Yuuki.
Setsuna Yuuki. el 2 de Dic. de 2020
Editada: Setsuna Yuuki. el 2 de Dic. de 2020
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()

Más respuestas (0)

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by