006.【Python Basics】 Check Results with a Graph

📈 See the Results Visually with Python

Calculation results become
clear at a glance when shown as a graph.

Here, we
visualize the V–I characteristic using a graph.


✅ What You Can Do


⚡ Demo: Plotting the V–I Characteristic

import numpy as np
import matplotlib.pyplot as plt

R = 100.0

I = np.linspace(0, 0.05, 50)
V = R * I

plt.plot(I, V)
plt.xlabel("Current I [A]")
plt.ylabel("Voltage V [V]")
plt.title("V–I Characteristic (Ohm's Law)")
plt.grid(True)

plt.show()

▶ Running Example

python_basic_02


📄 Notes from README

A README.md file is included in the folder,
which explains only:

python_basic_03


💡 Key Points


📝 Summary

This is enough for Python basics.