1 00:00:05,670 --> 00:00:09,440 Here even so in the last one you will learn about the met properly. 2 00:00:09,450 --> 00:00:14,040 And in this video we are going to cover subplots. 3 00:00:14,040 --> 00:00:17,050 So I think you understand what this approach means. 4 00:00:17,070 --> 00:00:20,740 It means plotting different plots on the same page. 5 00:00:20,790 --> 00:00:25,370 We have done something like plotting different values in the same graph. 6 00:00:25,380 --> 00:00:34,800 That is like we have done BLT or float and then X comma Y complex goal X something like this one. 7 00:00:35,790 --> 00:00:42,750 So here I have used the same graph for plotting these two different values but what about using different 8 00:00:42,750 --> 00:00:45,960 graphs to plot these different values. 9 00:00:46,170 --> 00:00:49,710 So their gaming tool that is known as subplot. 10 00:00:50,520 --> 00:00:57,030 That is something like in the same page we have different plots and to have them we just use BLT dot 11 00:00:57,210 --> 00:00:58,300 sub here. 12 00:00:58,470 --> 00:00:59,830 That is subplot. 13 00:01:00,090 --> 00:01:06,600 And then we will first define that subplot like this thing is going to define the subplot in which we 14 00:01:06,600 --> 00:01:13,840 have three parameters that is one comma to comma three and these parameters are denoting first one draws. 15 00:01:13,950 --> 00:01:15,070 Second one column. 16 00:01:15,090 --> 00:01:16,960 Third one is the number of graph. 17 00:01:17,430 --> 00:01:29,430 Like if I have one not one doodles and two will be a little complex one of three rows two columns. 18 00:01:29,430 --> 00:01:34,390 And then here we will define the number of properties in current use like this one. 19 00:01:34,500 --> 00:01:39,490 But if you have here 6 you will have the sixth graph. 20 00:01:39,510 --> 00:01:41,400 That is something you do not understand now. 21 00:01:41,910 --> 00:01:44,350 But let me show you that. 22 00:01:44,610 --> 00:01:44,970 Come on. 23 00:01:44,970 --> 00:01:50,100 See this one and paste this one six times. 24 00:01:50,100 --> 00:01:52,730 That is denoting every single plot here. 25 00:01:52,890 --> 00:01:53,600 One more thing. 26 00:01:53,670 --> 00:01:57,600 So don't get confused in while changing the number of graphs like here. 27 00:01:57,600 --> 00:02:03,610 This one is the first one and then this one is the second one so I change the parameter to second. 28 00:02:03,690 --> 00:02:06,350 So here I have first column then I have second column. 29 00:02:06,540 --> 00:02:13,140 I have two columns today then now instead of changing this one like this parameter they assume that 30 00:02:13,200 --> 00:02:19,260 I have to first change that rule like this one that is 1 here and remain mean this one is like this 31 00:02:19,260 --> 00:02:28,260 one one two one two one two they do something like that one but always you have to change the last parameter 32 00:02:28,260 --> 00:02:32,080 that is these one the first 2 that is dividing the rows in Columbia. 33 00:02:32,100 --> 00:02:39,390 Always be seeing this thing like you are not thinking that I will mistaken that one but this is the 34 00:02:39,390 --> 00:02:40,580 thing that I have noticed. 35 00:02:40,720 --> 00:02:47,310 Most students are making mistakes in so only to use these values like these and if you shifted on that 36 00:02:47,310 --> 00:02:56,190 one you will get these props that is higher for second third for five 6 and there is a little like something 37 00:02:56,490 --> 00:02:57,470 overlapping each other. 38 00:02:57,840 --> 00:03:05,980 So to prevent overlapping always in the last right something like date and then we use these come on 39 00:03:06,270 --> 00:03:08,190 to make like these graphs are here. 40 00:03:08,190 --> 00:03:14,270 If you notice this thing is about decimal and this is about network. 41 00:03:14,490 --> 00:03:20,770 So here we use byte layout that is this one and. 42 00:03:20,830 --> 00:03:26,210 Again this one is a Met broadly method. 43 00:03:26,220 --> 00:03:33,150 So here we use BLT not met properly so to be able to do type layout and then you will notice something 44 00:03:33,150 --> 00:03:36,780 that these are different in gaps but that doesn't happen here. 45 00:03:39,120 --> 00:03:41,840 Maybe this time and they David go. 46 00:03:41,880 --> 00:03:45,370 So it does require the branches that I forgot to mention here. 47 00:03:46,510 --> 00:03:53,790 So if you have noticed now these things have a common spacing between then and now what about putting 48 00:03:53,790 --> 00:03:57,760 the data in these values like how can I blow up the data in this one. 49 00:03:57,900 --> 00:04:06,140 So whenever you need to put the data in any of that one just after that particular one right BLT or 50 00:04:06,270 --> 00:04:13,380 bloat and then we have X coma X and they we go that one that it looks. 51 00:04:13,390 --> 00:04:14,060 So here we go. 52 00:04:14,050 --> 00:04:15,280 This one. 53 00:04:15,770 --> 00:04:23,080 You can blow it with anyone like if I want to blow it on the second one now that is x and y so hey I 54 00:04:23,080 --> 00:04:33,580 will use bloat the BLT or bloat and they will go with X coma my way and with the third one I do need 55 00:04:33,640 --> 00:04:44,360 to bloat like BLT to bloat X go ma say and the decision on first BLT don't bloat. 56 00:04:44,780 --> 00:04:54,410 And let me have excellent X here X go my way X Cuomo said and here I will have BLT or bloat and then 57 00:04:54,410 --> 00:05:01,970 by common set and if you do that one you will get all the various graphs bloated and they're is taking 58 00:05:01,970 --> 00:05:06,360 a little while because my this is little room light no. 59 00:05:06,380 --> 00:05:15,370 So hey I have only five graphs that are few are like seem these are same maybe like this is X X for 60 00:05:15,370 --> 00:05:15,980 20 same. 61 00:05:15,980 --> 00:05:22,120 That is why Cuomo composite that not two but it showing maybe it is correct. 62 00:05:22,130 --> 00:05:29,510 So now you go to the idea that how you can plot on these graphs also you can name any x's and name any 63 00:05:29,510 --> 00:05:31,670 graph just by using here. 64 00:05:31,790 --> 00:05:38,970 If I want to name this one so just use BLT dot X label that we have learned for single one. 65 00:05:39,140 --> 00:05:44,320 So this is like x x is then for y 66 00:05:48,020 --> 00:05:52,150 and this one y axis. 67 00:05:52,430 --> 00:06:00,060 And David go with that and it's working network for different. 68 00:06:00,530 --> 00:06:06,020 And also if you only need to put some of the graph then it is not required to load every graph there. 69 00:06:07,220 --> 00:06:11,210 So if you can just remove this one and there we go. 70 00:06:11,210 --> 00:06:17,030 If you notice this one y axis and this one x axis and if you write the names here also they will be 71 00:06:17,030 --> 00:06:21,180 properly laid out because of title and after that. 72 00:06:21,180 --> 00:06:23,660 Here I have removed those that I do not require. 73 00:06:23,890 --> 00:06:29,670 Now if you shift on that one then you will get only these four for four. 74 00:06:29,750 --> 00:06:34,960 If you notice this one I have only first second fifth and sixth not more. 75 00:06:35,570 --> 00:06:39,200 So that's how you can have any graph you want in that particular page. 76 00:06:39,560 --> 00:06:43,280 So this one is just for like if you want to have multiple graphs in a same page. 77 00:06:43,820 --> 00:06:49,460 So in that case we will support this one is also our Matlab operation that is plotting various graphs 78 00:06:49,460 --> 00:06:51,310 in a single page. 79 00:06:51,450 --> 00:06:55,910 Also you can add titles just by using these and 80 00:06:59,290 --> 00:07:01,700 David overdoing it too. 81 00:07:01,750 --> 00:07:05,710 So now I hope you go got the idea that how it works and thanks for watching. 82 00:07:05,710 --> 00:07:08,680 We will continue in the next video with some more interesting topics.