Sidhi Ip Practical Graphs-1
Sidhi Ip Practical Graphs-1
PRACTICAL FILE
ON
SUBMITTED BY:
CBSE ROLL NO :
CLASS : XII
PROGRAM 17
WAP to create a bar chart from numpy, analyse and plot appropriate charts with title and
legend ().
CODE
OUTPUT
27
PROGRAM 18
WAP to Create Bar chart from the given data of Dataframe:
CODE
OUTPUT
28
PROGRAM 19
WAP to create multi line chart on common plot where three data range plotted on same
chart. The data range(s) to be plotted are:
data=[[5,25,45,20],[8,1,29,27],[9,29,27,39]]
CODE
OUTPUT
29
PROGRAM 20
WAP to create a histogram for following:
A survey gathers heights and weight of 50 participates and recorded the participants age as:-
Ages=[40,56,46,58,79,70,67,46,32,91,92,93,47,95,69,69,56,50,30,9,29,29,0,31,21,14,18,16,1
8,76,68,69,78,81,71,91,71,01,69,78,77,54,59,59,41,51,48,49,76,10]
CODE
OUTPUT
30
PROGRAM 21
Write a python program to plot a histogram for the following given data:
CODE
OUTPUT
31