Computer Science > Presentation > Using matplotlib, you are to create the following 4 graphs.

Using matplotlib, you are to create the following 4 graphs.

a)Line graph import pandas as pd import matplotlib.pyplot as plt df=pd.read_csv("weather_report.csv") plt.plot(df.temperature, df.pressure, "r--") plt.title("Plotting of temperature and pressure v/s date ") plt.xlabel("date") plt.ylabel("Temperature n Pressure") plt.show() 2) Histogram import ... pandas as pd #import numpy as np import matplotlib.pyplot as plt df=pd.read_csv("weather.csv") plt.hist(df.Precipitation,bins=10) plt.title("Analysis of Precipitation vs days") plt.xlabel("No of days") plt.show() 3.Scatterplot [Show More]

Preview: 2 out of 6 pages
loader

Generating document previews ...

Purchase the document to get the full access instantly

Trusted by 100,000+ Students
100% Money Back Guarantee
Immediately available after payment
Document Details

Price:

$8.84


Pages:

6 pages

Rating:


Add to cart
366
0
Published By

master papers profile

master papers
Joined: 3 years ago
Papers sold: 261


Send message
Written for

Category:

Presentation

Course:

Computer Science

Last updated at :

1 year ago

Language
English

0 Reviews

What people say about us