aboutsummaryrefslogtreecommitdiff
path: root/ac2dc_linear.gnuplot
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2024-06-03 07:23:35 -0500
committerjvech <jmvalenciae@unal.edu.co>2024-06-03 07:23:35 -0500
commit51b4499cab4ae4faa83e5a5e468ee99ff18b41f5 (patch)
tree1f08457910a86d654d7a1e962a2f88f44eca4c11 /ac2dc_linear.gnuplot
init: ac2dc linear converter simulated
Diffstat (limited to 'ac2dc_linear.gnuplot')
-rw-r--r--ac2dc_linear.gnuplot13
1 files changed, 13 insertions, 0 deletions
diff --git a/ac2dc_linear.gnuplot b/ac2dc_linear.gnuplot
new file mode 100644
index 0000000..2058a1b
--- /dev/null
+++ b/ac2dc_linear.gnuplot
@@ -0,0 +1,13 @@
+set terminal pngcairo linewidth 1.5
+set output 'results/voltages.png'
+
+unset border
+set zeroaxis ls -1
+set grid
+set key outside
+
+set xlabel 'time (s)'
+set ylabel 'Voltage (V)'
+plot [0:0.035] 'results/voltages.raw' using 1:2 with lines title 'v_{T}', \
+ 'results/voltages.raw' using 3:4 with lines title 'v_{F}', \
+ 'results/voltages.raw' using 5:6 with lines title 'v_{o}'
Feel free to download, copy and edit any repo