Print a value on a plot
Ältere Kommentare anzeigen
I am measuring and ploting the 10 to 90% risetime of a pulse. I need to put the value of the risetime on the plot. Below is my code. The value I need to print on the plot is RTC
for k1 = 1:2
RTC=risetime(xcr,tcr);% "risetime(x,t)" is the 10 to 90% risetime of the closed circuit pulse.
end
figure('DefaultAxesFontSize',4);%create a figure 10 for the closed circuit rise time plot
grid on;
risetime(xcr,tcr);
xlim([-0.01e-7, 0.015e-6]);
ylabel('Voltage (kV)')
xlim([2.9*1e-7 3.5*1e-7]);% center the rise time wave
legend('Closed (loaded) circuit 10 to 90% Rise Time');
Antworten (1)
Davide Masiello
am 23 Mär. 2022
Bearbeitet: Davide Masiello
am 23 Mär. 2022
0 Stimmen
I'd recommend taking a look at this
2 Kommentare
BP
am 23 Mär. 2022
Davide Masiello
am 24 Mär. 2022
Change it like this
text(3.1e-7,32,s);
Kategorien
Mehr zu Electrical Block Libraries 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!