Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 0.00 -10.742
- 1.00 -17.75391
- 4.00 -19.62891
- 20.00 -20.7641
- 23.00 -34.2300
- 50.00 -50.000
- 65.88 -22.5000
- 78.00 -30.000
- 86.00 -37.7900
- 90.00 -45.00000
- 0.00 -10.742
- 1.00 -17.75391
- 4.00 -19.62891
- 20.00 -20.7641
- 23.00 -34.2300
- 50.00 -50.000
- 65.88 -22.5000
- 78.00 -30.000
- 86.00 -37.7900
- 90.00 -45.00000
- import matplotlib.pyplot as plt
- import sys
- import numpy as np
- from matplotlib import style
- fileName=input("Enter Input File Name: ")
- f1=open(fileName,'r')
- style.use('ggplot')
- x1,y1=np.loadtxt(fileName,unpack=True, usecols=(0,1));
- plt.plot(x1,y1,'r')
- plt.plot
- plt.title('example1')
- plt.xlabel('Time')
- plt.ylabel('Values')
- plt.grid(True,color='k')
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement