How can i extract coordinates of point from matlab figure ?

2 次查看(过去 30 天)
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)

采纳的回答

Image Analyst
Image Analyst 2022-8-19
Yc = interp1(X, Y, Xc);

更多回答(1 个)

Matt J
Matt J 2022-8-19
You already have the point data from your code: Xu,Yu.

类别

Help CenterFile Exchange 中查找有关 Graphics Object Identification 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by