On Tue, Sep 17, 2024 at 3:57 PM Nilesh Mishra
wrote:
> There is no output for this ?
>
> Import matplotlib.pyplot as plt
> Import Numpy as np
>
> Qi=np.linspace(0,20,5)
> QHc=["980","940","920","900","890"]
>
> # this pair should form and plotted
> # (0,980),(5,940),(10,920),(15,900),(20,890)
>
There is no output for this ?
Import matplotlib.pyplot as plt
Import Numpy as np
Qi=np.linspace(0,20,5)
QHc=["980","940","920","900","890"]
# this pair should form and plotted
# (0,980),(5,940),(10,920),(15,900),(20,890)
Plt.plot (Qi,QHc)
Plt.grid(True)
Plt.show()
On Mon, Sep 16, 2024, 11:45
2 matches
Mail list logo