I'm very beginner in python and I have the following data and I need to plot time vs data
// input string is read from a file
data.append(np.fromstring(
inputstring,
dtype=[('time', '<f8'),
('data', '<f8', (sublen, ))]))
newdata = np.zeros((len(data),),
dtype=[('time', '<f8'),
('data', '<f8', (sublen, ))])
newdata[:] = data
How would I plot newdata time vs data