How can i extract coordinates of point from matlab figure ?

1 view (last 30 days)
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)

Accepted Answer

Image Analyst
Image Analyst on 19 Aug 2022
Yc = interp1(X, Y, Xc);

More Answers (1)

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

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!