1 00:00:06,050 --> 00:00:11,310 Here even so in this video we are going to learn that how we can use the Met locally. 2 00:00:11,400 --> 00:00:16,900 So I have a notebook here on the anaconda navigator. 3 00:00:16,910 --> 00:00:21,250 Now if you want to save these notebook that's the thing I'm not saving these notebooks. 4 00:00:21,320 --> 00:00:24,210 You can just save them or you can download them. 5 00:00:24,530 --> 00:00:29,400 Now first of all Megaupload is a library so we intend to import that one. 6 00:00:29,420 --> 00:00:33,000 So first the syntax is required to use these libraries. 7 00:00:33,020 --> 00:00:34,380 That is met bloat. 8 00:00:34,430 --> 00:00:35,890 So to import Megaupload live. 9 00:00:36,710 --> 00:00:44,210 And with that we need not be a plot for uploading the data in form of graphs and import. 10 00:00:44,210 --> 00:00:47,330 This one as BLT chapter. 11 00:00:47,360 --> 00:00:52,630 And there we go descendants of six fully people it is a common word visionary powerful for Megaupload 12 00:00:53,300 --> 00:01:01,710 type of things like for pandas we have billion and people but also we need to have name b because we 13 00:01:01,710 --> 00:01:10,540 are going to work with data and let we also import upon us if we knew that one. 14 00:01:13,040 --> 00:01:19,850 So here we go with this line we are not going to end this one after this. 15 00:01:19,910 --> 00:01:26,010 Now here we have first to have any graph like we need to have some data first. 16 00:01:26,300 --> 00:01:29,400 So let me create some data by using the name B. 17 00:01:29,680 --> 00:01:40,240 So most common one is like I have a linearly spaced added that is beginning from zero and goes up to 18 00:01:40,240 --> 00:01:47,480 20 and have like let this one up to 10 and have 20 points in Dedmon. 19 00:01:47,690 --> 00:01:52,400 If you print X1 you have dismissed all the linearly spaced points. 20 00:01:52,400 --> 00:02:01,620 Then we have another one that is like Y is equal to X. star x and then we go with that one also. 21 00:02:01,940 --> 00:02:10,870 If you've been y you will get is one then we have another one that is Z equal to and this one like x 22 00:02:10,870 --> 00:02:12,380 plus y. 23 00:02:12,850 --> 00:02:14,870 Now print Z you will get that one. 24 00:02:15,790 --> 00:02:22,900 So here we go with three details here not upload these details on graph you require a simple syntax 25 00:02:22,900 --> 00:02:31,060 that is like if you want to have a go of x and y so just use BLT. 26 00:02:31,060 --> 00:02:39,100 This one that we have the library imported so BLT dot and then we use block because we are going to 27 00:02:39,150 --> 00:02:44,600 load these values and panties in pencil is just straight the values like X and Y. 28 00:02:44,740 --> 00:02:45,330 Here I go. 29 00:02:45,350 --> 00:02:51,670 Nicole this one you can also check this go like this one is correct or not like these values are in 30 00:02:51,670 --> 00:02:52,260 points. 31 00:02:52,340 --> 00:02:57,890 So if I do X comma X I will get a straight girl that is this one here because all the values at every 32 00:02:57,890 --> 00:03:02,780 point are equal and for equal values like Y is equal to x we always have a straight line. 33 00:03:03,470 --> 00:03:10,540 So this is all you can also check that either your library is working completely fine or not now after 34 00:03:10,540 --> 00:03:13,390 that in this one. 35 00:03:13,390 --> 00:03:15,990 Like this thing I have exclaim Oh. 36 00:03:16,300 --> 00:03:17,250 I have this one. 37 00:03:17,260 --> 00:03:25,740 You can also share values more here like X my X sorry excuse my X again. 38 00:03:25,810 --> 00:03:27,510 I got this one extra day. 39 00:03:27,820 --> 00:03:28,840 So let me know that. 40 00:03:28,840 --> 00:03:29,710 Now we have this one. 41 00:03:30,040 --> 00:03:34,750 So you will get two cups but there this one is a little different from what we have expected. 42 00:03:35,410 --> 00:03:44,380 But if you properly notice on this graph so and have a look at this one like here if you notice this 43 00:03:44,380 --> 00:03:50,140 curve is going up but because it has value hundred on ten maybe that one. 44 00:03:50,320 --> 00:03:55,210 I don't know how this got 200 or that light because the tenth values. 45 00:03:55,570 --> 00:03:59,290 And when we do VI X start X is it will be hundreds. 46 00:03:59,590 --> 00:04:02,790 So the point at this one is ten and hundred. 47 00:04:03,220 --> 00:04:08,980 But if we consider the second line that is X go my X that has equal values on every point like one then 48 00:04:09,070 --> 00:04:12,780 this one also here if you notice is Ben because this one is 20. 49 00:04:12,850 --> 00:04:15,790 This on Y is degree sort of increased. 50 00:04:15,790 --> 00:04:17,170 And on X it's same. 51 00:04:17,320 --> 00:04:24,730 So that's why this is nearly like the not on the middle that we have expected like that. 52 00:04:24,820 --> 00:04:28,870 Let me show you like this one. 53 00:04:28,870 --> 00:04:30,380 That one is a little different. 54 00:04:30,430 --> 00:04:34,330 So that's because of the values of first curve. 55 00:04:34,540 --> 00:04:35,380 That is DMA. 56 00:04:35,950 --> 00:04:43,530 So I hope you get the idea now that all this effort and you can also add another points here like why 57 00:04:43,630 --> 00:04:44,610 my ex. 58 00:04:44,740 --> 00:04:53,900 You will have this one here if you notice this curve on orange one it ends up here. 59 00:04:53,930 --> 00:05:00,320 That's because the maximum value of existence which is now here because x axis is now also increased 60 00:05:00,740 --> 00:05:02,800 on the last we have maximum 10. 61 00:05:02,900 --> 00:05:10,460 Now we have hundred because we also require that VI on x axis and by values maximum hundred and x values 62 00:05:10,460 --> 00:05:11,490 maximum. 63 00:05:11,510 --> 00:05:14,410 Then like here this 110 and this one is hundred. 64 00:05:15,290 --> 00:05:24,200 So that's how in a single B B Altidore Come on you can plot any number of costs that depend on you. 65 00:05:24,200 --> 00:05:27,850 You can also have here like X Como Z. 66 00:05:27,860 --> 00:05:30,770 So here I have no four cups. 67 00:05:30,770 --> 00:05:37,280 So it doesn't matter how many you are plotting you can use a single graph to plot as many as you want. 68 00:05:37,310 --> 00:05:38,990 So I hope you got the idea. 69 00:05:39,830 --> 00:05:40,340 After that. 70 00:05:40,340 --> 00:05:47,060 Let me remove the X Dragon here and we have this simple. 71 00:05:48,000 --> 00:05:51,260 Now this graph looks like a simple graph. 72 00:05:51,290 --> 00:05:56,450 It doesn't have any x's on X and Y and nothing about the graph. 73 00:05:56,510 --> 00:06:01,290 So if you give this graph to anyone I believe no one can understand that on that but these things denoting 74 00:06:01,910 --> 00:06:07,640 if you have ever seen any graph then you always notice that there is something on x x is like time frequency 75 00:06:08,210 --> 00:06:10,520 and something on why X is also. 76 00:06:10,940 --> 00:06:19,070 So these things are known as labels and regionally make them like BLT BLT is used everywhere because 77 00:06:19,070 --> 00:06:26,400 we are using the Metro reliability just like we have used BD in case of pandas and and in case of numbers. 78 00:06:26,450 --> 00:06:28,100 So that's what we have BLT. 79 00:06:28,200 --> 00:06:34,070 Also there are an interval of plotting these graphs by using a different attribute here that we're able 80 00:06:34,070 --> 00:06:36,080 to teach you in next videos. 81 00:06:36,080 --> 00:06:37,920 So here we have BLT dot. 82 00:06:37,970 --> 00:06:45,960 And then if you want to have x level just x level and then like this one is x axis. 83 00:06:46,010 --> 00:06:46,730 So here we go. 84 00:06:46,730 --> 00:06:47,290 The. 85 00:06:47,570 --> 00:06:53,410 If you notice this one we have got this x axis and a statement here. 86 00:06:53,420 --> 00:06:59,430 After that for y axis we have been studied y label that is this one. 87 00:06:59,540 --> 00:07:08,200 Now this one is y axis and then it will be displayed if you want to have title for this graph. 88 00:07:08,360 --> 00:07:19,220 Then again BLT dot title and something title like and necessity graph. 89 00:07:19,980 --> 00:07:22,330 And that is what we have here. 90 00:07:22,590 --> 00:07:27,700 You will get unnecessary here because this is something that have no sense. 91 00:07:27,990 --> 00:07:30,440 So I hope you get the idea that how these folks. 92 00:07:30,450 --> 00:07:34,280 I will not stress the video much known because it will be boring then. 93 00:07:34,290 --> 00:07:39,580 So that's about the plotting the data and graphs and how you can prove them. 94 00:07:39,600 --> 00:07:42,000 So thanks for watching and we will continue in the next video.