Answer the question
In order to leave comments, you need to log in
Why is PyPlot drawing bullshit?
Code like this:
import matplotlib.pyplot as plt
import numpy as np
A = [[i for i in line.split()] for line in open('1.TXT')] # Читаем данные
A = np.array(A) # Делаем их numpy типом
Wl, I = (A[:,0]) , (A[:,1]) # Мне нужны Wl (Как абсцисса, I, как ордината)
A = None # А это мне не нужно (такой странный способ импорта
# я давно использую. Лень переписывать
plt.plot(Wl, I) # Рисуем
plt.show()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question