Borrar filtros
Borrar filtros

How can i extract coordinates of point from matlab figure ?

2 visualizaciones (últimos 30 días)
Hello everyone !
i have this code , i want to extract the coordinates of all points constructing the curve.
Xu=linspace(0,60,60);
Yu=linspace(0,10,60);
xlabel('temps(min)')
ylabel('X(km)')
figure()
plot(Xu,Yu)

Respuesta aceptada

Image Analyst
Image Analyst el 19 de Ag. de 2022
Yc = interp1(X, Y, Xc);

Más respuestas (1)

Matt J
Matt J el 19 de Ag. de 2022
You already have the point data from your code: Xu,Yu.

Categorías

Más información sobre Graphics Object Identification en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by