Tangent line on a curve. From a peak down the "unload curve" (in each case the bottom curve)
Ältere Kommentare anzeigen
Hi guys :)
I'm pretty confused how i can plot tanget lines onto my 3 curves.
my current plot looks like this:

Now i want to insert 3 tangent lines each starting at the 3 peaks and going down the bottom curves. Should look like this (cause i need the values "h_c"):

THANKS a lot for your help!!!
Current Code:
A_04 = readmatrix("AlCrMoN_04.xlsx"); % Excelfile consist of 2 columns with 41 rows
ersteSpalte04 = [A_04(:,1)];
zweiteSpalte04 = [A_04(:,2)];
A_13 = readmatrix("AlCrMoN_13.xlsx"); % Excelfile consist of 2 columns with 41 rows
ersteSpalte13 = [A_13(:,1)];
zweiteSpalte13 = [A_13(:,2)];
A_29 = readmatrix("AlCrMoN_29.xlsx"); % Excelfile consist of 2 columns with 41 rows
ersteSpalte29 = [A_29(:,1)];
zweiteSpalte29 = [A_29(:,2)];
%% Plots
figure("Name","load displacement");
hold on
grid on
plot(ersteSpalte04,zweiteSpalte04,"LineWidth",1.5,"DisplayName","AlCrMoN 04");
plot(ersteSpalte13,zweiteSpalte13,"LineWidth",1.5,"DisplayName","AlCrMoN 13");
plot(ersteSpalte29,zweiteSpalte29,"LineWidth",1.5,"DisplayName","AlCrMoN 29");
xlim([0 0.23])
xlabel("Eindringtiefe (ht) in µm"); ylabel("Kraft (P) in mN");
legend("show", "Location", "northwest");
hold off
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

