Matplotlib 12th IP
Matplotlib 12th IP
aesand
tnien þguidu ualsalion
e is
caa a
2D
th
makes weualualon can
Tite slali be
idniyeng
wndlntand uwiang
soma-machine dene Dala
wa miual
and þattuns Viealiualion
nliyau Matblotlib
Seabon
thathelb inand
aulomaaly Comhix mni
gephical
,xelalionahi
b þuBblum ke
e Usong
he nupuulaion
chas weual
plsttng
cHated anol nd
Slss fplot
pltahow C) pt flt eulls e
b libany ab,
xlabel plot to wlan
plot
(«, achae
a
in mapi
( n
Text") H enu the
matblotlib data fatt eti
cole, chaxt romalien
desid hy It
eth) alio
hulhs
It
plet..Each meanshat t w
datanad
to
show) plt
Gabh) ('New
vuable') ('Important glabelite peþett
nmbe Plat nunb) (Plot xlabel þlt
3 2 Label
duna'Second slot(«2,y2, hut
Importnt
vuasle
[,2,3]
Dne Secord
eft i4
Nw
ugnda
lgends and itla pute with along lins io draw
pltshw()
(,41) (C,23], plot pet
bypeot. matplatlb ainbot
3 2
5
chaet line duawa oWAP
Plot unn chat n dyount ms
Sund Chat
wabaa =Q"4)
Eusblot ( 2, , 2)
t : lot(E, s2) V
pltabel ('Vaku )
þit. ite(Inln Seconal Chaut')
putgud (Tue)
þet shewC)
Prgam to t a sine wave ing liechant.
o75
to plot an
algebaie expeien iloxt14 uing line chant
ampet matplslub byßlet a pll
an
petgabel ai
pet- plot (x
mllpe Linu unth
duaw mullisle wh colo
gen expliity
4
3'5
b- ble
n 25
c- yan
naxangell,3) 2
k- black
'm')
magenta
wfia
WAP enhibit
echbt
dieunt liru ayles 8geliow
n doshad li
e(,3) dauh dst ine
t!,. ':) dstled ine
bet hew)
Bax Chat -
Abar chat mpauni aigpcal dal with Jectangulae bas
WAP o þlet a bar hot
import matplcllib- byplot as pl
4= 20,5o,30]
color='oange)
*y wdth - o-5, O5
þltahbw()
blt. hsw)
(4,5,!, 4)
þet. bau (pes, tytbes, align ='centiw, coler =bue)
elicks
pet.shwc)
Hiatigam
Hiatognam chanti
ha ae
bas They show
the dataset nlo each
inal caled bin
imsent nuuny n
andn (loo0)
150
toc
4= npHandorn"
bet shgwc