Python
import matplotlib.pyplot as plt # Extracted project properties properties = { "R_DS_ON@5.5VGS": 29.77, "R_DS_ON@8.5VGS": 26.4, "R_DS_ON@2.5VGS": 40, "R_DS_ON@7VGS": 27.92, "R_DS_ON@6VGS": 29.1, "R_DS_ON@9.5VGS": 25.5, "R_DS_ON@7.5VGS": 27.26, "R_DS_ON@10VGS": 25, "R_DS_ON@8VGS": 26.87, "R_DS_ON@4.5VGS": 32, "R_DS_ON@9VGS": 26, "R_DS_ON@3VGS": 36.67, "R_DS_ON@2VGS": 52.1, "R_DS_ON@4VGS": 32.87, "R_DS_ON@5VGS": 30.48, "R_DS_ON@6.5VGS": 28.47, "R_DS_ON@3.5VGS": 34.05 } # Extract VGS values and corresponding R_DS_ON values vgs = [] r_ds_on = [] for key, value in properties.items(): vgs_value = float(key.split('@')[1].replace('VGS', '')) vgs.append(vgs_value) r_ds_on.append(value) # Plotting the results plt.figure(figsize=(10, 6)) plt.plot(vgs, r_ds_on, marker='o', linestyle='-', color='b') plt.title('$R_{DS\_ON}$ vs. $V_{GS}$') plt.xlabel('$V_{GS}$ (V)') plt.ylabel('$R_{DS\_ON}$ (m$\Omega$)') plt.grid(True) plt.show()
Python
import matplotlib.pyplot as plt # Extracted project properties properties = { "R_DS_ON@5.5VGS": 29.77, "R_DS_ON@8.5VGS": 26.4, "R_DS_ON@2.5VGS": 40, "R_DS_ON@7VGS": 27.92, "R_DS_ON@6VGS": 29.1, "R_DS_ON@9.5VGS": 25.5, "R_DS_ON@7.5VGS": 27.26, "R_DS_ON@10VGS": 25, "R_DS_ON@8VGS": 26.87, "R_DS_ON@4.5VGS": 32, "R_DS_ON@9VGS": 26, "R_DS_ON@3VGS": 36.67, "R_DS_ON@2VGS": 52.1, "R_DS_ON@4VGS": 32.87, "R_DS_ON@5VGS": 30.48, "R_DS_ON@6.5VGS": 28.47, "R_DS_ON@3.5VGS": 34.05 } # Extract VGS values and corresponding R_DS_ON values vgs = [] r_ds_on = [] for key, value in properties.items(): vgs_value = float(key.split('@')[1].replace('VGS', '')) vgs.append(vgs_value) r_ds_on.append(value) # Plotting the results plt.figure(figsize=(10, 6)) plt.plot(vgs, r_ds_on, marker='o', linestyle='-', color='b') plt.title('R_DS_ON vs. V_GS') plt.xlabel('V_GS (V)') plt.ylabel('R_DS_ON (mΩ)') plt.grid(True) plt.show()
commentFileId-fb8344260cfcae6799936fcc62d1dfeb4bd3b169961594644a65be4f9ba6a2ff.png
1
Python
import matplotlib.pyplot as plt # Extracted project properties properties = { "R_DS_ON@5.5VGS": 29.77, "R_DS_ON@8.5VGS": 26.4, "R_DS_ON@2.5VGS": 40, "R_DS_ON@7VGS": 27.92, "R_DS_ON@6VGS": 29.1, "R_DS_ON@9.5VGS": 25.5, "R_DS_ON@7.5VGS": 27.26, "R_DS_ON@10VGS": 25, "R_DS_ON@8VGS": 26.87, "R_DS_ON@4.5VGS": 32, "R_DS_ON@9VGS": 26, "R_DS_ON@3VGS": 36.67, "R_DS_ON@2VGS": 52.1, "R_DS_ON@4VGS": 32.87, "R_DS_ON@5VGS": 30.48, "R_DS_ON@6.5VGS": 28.47, "R_DS_ON@3.5VGS": 34.05 } # Extract VGS values and corresponding R_DS_ON values vgs = [] r_ds_on = [] for key, value in properties.items(): vgs_value = float(key.split('@')[1].replace('VGS', '')) vgs.append(vgs_value) r_ds_on.append(value) # Plotting the results as a scatter plot plt.figure(figsize=(10, 6)) plt.scatter(vgs, r_ds_on, color='b') plt.title('R_DS_ON vs. V_GS') plt.xlabel('V_GS (V)') plt.ylabel('R_DS_ON (mΩ)') plt.grid(True) plt.show()
Matplotlib is building the font cache; this may take a moment. commentFileId-f53a415cc3a289cbccb3ae5ef8e203a1c2e7a59a175cad4e4794cf7899ceeb44.png
1
jbreidfjord-dev
copilot
commentFileId-9d1b86c61552ef45e145f275a8a883d3ff212be18b22bad5a00df5cca3148879.png
1