1 00:00:05,650 --> 00:00:13,900 Here everyone since the last video we have learn about the loading multiple blocks in the same boat. 2 00:00:14,080 --> 00:00:19,990 And while we are doing that burn most of the students are thinking is this possible to support also 3 00:00:19,990 --> 00:00:22,570 with these commands like by these things. 4 00:00:23,110 --> 00:00:26,500 So that's what's also possible and we are going to do here. 5 00:00:28,230 --> 00:00:35,190 So for producing subplots by using the object oriented matter we again need to define our field value 6 00:00:35,550 --> 00:00:37,390 and not only Fig. 7 00:00:37,410 --> 00:00:44,910 We also need to define the x's with that fig here also so that we will have multiple plots and then 8 00:00:44,910 --> 00:00:48,790 we have similar to like that one BLT don't. 9 00:00:49,020 --> 00:00:55,850 And instead of this figure we use subplots that is to make sure s is also there. 10 00:00:56,240 --> 00:01:03,870 And this one is more less than the Pence's and now here we have empty fences because we do not have 11 00:01:03,870 --> 00:01:04,680 any barometer. 12 00:01:05,220 --> 00:01:10,490 And but here treated by some of the parameters to define. 13 00:01:10,830 --> 00:01:13,140 Otherwise it will be same like that. 14 00:01:13,200 --> 00:01:17,000 If you try to run that one you will have a simple plot. 15 00:01:17,010 --> 00:01:24,150 Same as this figure if you need multiple plots then you need to define here number of rows and columns. 16 00:01:24,150 --> 00:01:32,550 Like if I need to have one door and 2 column I will have this one if I need four subplots then I have 17 00:01:32,550 --> 00:01:33,110 four. 18 00:01:34,170 --> 00:01:44,980 And for the spacing just provide BLT to write underscore layout and France's you will have disappeared. 19 00:01:46,350 --> 00:01:51,390 Now this is how you can define multiple subplots you can have any number of plots like if I took Monte 20 00:01:51,420 --> 00:01:57,320 here I would have let that one I get going. 21 00:01:58,090 --> 00:02:04,530 So there is maybe a larger number and that's a lot larger because of a number of these. 22 00:02:04,530 --> 00:02:11,070 So here we get these next note like large it here Don so Don one but you did not able to see that because 23 00:02:11,370 --> 00:02:15,600 it tried to fit all these things only in this potion. 24 00:02:15,660 --> 00:02:22,650 It will not expand the like expanding this head is just decreasing these graphs. 25 00:02:22,650 --> 00:02:25,640 So here I have to rows to here. 26 00:02:25,650 --> 00:02:27,680 These are small and then I have one. 27 00:02:27,810 --> 00:02:34,380 I have a graph of this size so you can also increase or decrease these things that we are going to learn 28 00:02:34,380 --> 00:02:35,760 later. 29 00:02:35,850 --> 00:02:43,530 Now what about plotting the values in these graphs like men we have simple one we can easily plot when 30 00:02:43,530 --> 00:02:46,140 we have this one we have different Xs. 31 00:02:46,470 --> 00:02:47,280 Now we have nothing. 32 00:02:47,280 --> 00:02:48,800 We have just one come on. 33 00:02:48,810 --> 00:02:51,210 That is discipline and the order of Tekla. 34 00:02:51,450 --> 00:02:52,810 So how we can plot. 35 00:02:53,610 --> 00:02:55,870 So everything is hidden in these order. 36 00:02:56,280 --> 00:03:00,000 That is too close to they are defining the index values. 37 00:03:00,000 --> 00:03:07,950 We have a days in order there will be an index so that we have just this one one close to. 38 00:03:08,000 --> 00:03:15,230 And David go the Dettmer knife you need to plot something in this one you just use like here we have 39 00:03:15,230 --> 00:03:18,650 defined the figure very able as the BLT. 40 00:03:18,830 --> 00:03:30,320 So first the index for that one like we have X is here X is of zero dot float no value narrated by Fig. 41 00:03:30,400 --> 00:03:39,410 And then X comma Y you will have this if you need to plot on second one you have this one fun Load load. 42 00:03:40,480 --> 00:03:45,110 And then we have like Y X you will have Declan. 43 00:03:46,360 --> 00:03:48,430 So this is how you can plot these things. 44 00:03:48,430 --> 00:03:55,890 You can also do something like here in this one I had both of these come ons and also in that one you 45 00:03:55,890 --> 00:03:58,610 can do the same thing. 46 00:03:58,860 --> 00:04:06,480 Now this is about plotting the values but one more thing if this is something like this to cross two 47 00:04:07,290 --> 00:04:08,590 then you will get an editor. 48 00:04:08,610 --> 00:04:16,260 And despite the graphs men without any tight layout also because this command will not work in case 49 00:04:16,260 --> 00:04:23,670 of truly metrics because the indexing like if I have something like this one one and this one even for 50 00:04:24,590 --> 00:04:32,480 I will still get output because indexing is simple the ROIs and by default 0 and the column values that 51 00:04:32,490 --> 00:04:41,580 from 0 1 2 and 3 if I do this one for three because that one begins from zero I will have on this fourth 52 00:04:41,580 --> 00:04:41,960 block. 53 00:04:43,170 --> 00:04:51,630 But when I have defined number of rows instead of columns I'm getting into next because these indexes 54 00:04:51,630 --> 00:04:54,430 must be defining them differently. 55 00:04:54,510 --> 00:05:00,330 So this is the first thing you need to focus by a level I think this uploads you need to provide here 56 00:05:00,560 --> 00:05:05,420 to which contains two parameters that is first the number of URL. 57 00:05:05,460 --> 00:05:09,250 Second the number of column like if I need to load in this one. 58 00:05:09,250 --> 00:05:12,910 So this one is 0 plus draw and first column. 59 00:05:12,910 --> 00:05:21,150 So this one is 1 1 and this one is something like if I need to plot on this one then this is zero gross 60 00:05:21,180 --> 00:05:34,980 one here I have this one so this one by X going away on 41 and the second one I have Waco Mike's so 61 00:05:34,980 --> 00:05:41,410 this is how you can upload on subplots and totally subplots one disapproves. 62 00:05:41,450 --> 00:05:44,250 No we are only left with one thing you need to focus on. 63 00:05:46,000 --> 00:05:49,730 That is something I have noticed in most of these two events. 64 00:05:49,730 --> 00:05:52,490 First let me make this simple. 65 00:05:52,490 --> 00:05:56,500 So they will not be much complication. 66 00:05:56,630 --> 00:06:02,310 This one zero and this one one. 67 00:06:02,500 --> 00:06:03,990 There we go. 68 00:06:04,210 --> 00:06:05,050 Here we have a deal. 69 00:06:05,710 --> 00:06:15,060 Now most of the students while taking the variables defined x variable and then I have this one also 70 00:06:15,370 --> 00:06:16,690 x. 71 00:06:16,920 --> 00:06:23,120 Now if I've tried to run that one I will get an ETA and that is something you get here. 72 00:06:23,130 --> 00:06:29,640 Value added X and value must have seen first dimensions but have shapes too close to nothing and 20 73 00:06:29,640 --> 00:06:31,520 equals nothing. 74 00:06:31,540 --> 00:06:38,140 So what that means and it's very hard to spot this added that what the actual entities that we did not 75 00:06:38,140 --> 00:06:43,180 have any added in this index is the things we have made a mistake. 76 00:06:43,270 --> 00:06:51,400 Is this one we have the value X and Y and we have also defined the variable x that the U like first 77 00:06:51,430 --> 00:06:53,920 X have this value and why had this value. 78 00:06:53,920 --> 00:07:01,740 Now when we run this thing the x value is now a subgroup so x values changed. 79 00:07:01,740 --> 00:07:06,960 And when I tried to plot that value I'm thinking here this one is my edit that I have defined that by 80 00:07:06,960 --> 00:07:08,140 using line space. 81 00:07:08,340 --> 00:07:17,170 But in actual This one is a subplot and vice that new numerical value so nothing can plot as a plot 82 00:07:17,160 --> 00:07:18,240 in a numerical value. 83 00:07:18,280 --> 00:07:20,350 That is something an imaginary. 84 00:07:21,430 --> 00:07:28,290 So make sure you are not using the same variable here that is used to define the values you have. 85 00:07:28,720 --> 00:07:36,610 One more thing if I change this one now like a you can use any other variable instead of these two like 86 00:07:36,700 --> 00:07:37,320 X and Y. 87 00:07:37,480 --> 00:07:39,670 If you do VI here you will also get error. 88 00:07:40,120 --> 00:07:44,170 And if you still done that one you will still have added. 89 00:07:44,270 --> 00:07:47,540 Now the thing is I have changed that one that I am getting it. 90 00:07:48,380 --> 00:07:51,400 Maybe students are thinking that X is is need to define. 91 00:07:51,440 --> 00:08:00,530 Like if I use X is here maybe in that time I will not get it but still I have to invite this happen. 92 00:08:00,530 --> 00:08:09,050 So again take a little time and try to find out why I get disciplined so I hope you go. 93 00:08:09,410 --> 00:08:18,350 So this is because at best and if you try something like let me come on next this one value of X you 94 00:08:18,350 --> 00:08:23,180 will get an array of these things not the actual value that you have. 95 00:08:23,210 --> 00:08:30,650 This means that the value of X is now updated x value is not the same as this but this is something 96 00:08:30,650 --> 00:08:31,450 else. 97 00:08:31,520 --> 00:08:34,980 So whenever you try to run that one you will get the same error. 98 00:08:35,180 --> 00:08:44,430 That is the previous one to avoid that one you need to run this shell again in which we have x value 99 00:08:44,430 --> 00:08:45,660 defined again. 100 00:08:45,660 --> 00:08:52,260 So now X is again this and below playing space you have to just shift enter on the windows and shift 101 00:08:52,260 --> 00:08:53,630 return on deck. 102 00:08:54,090 --> 00:09:00,330 Now again get to this one and if you run this one now you will have output because x values now updated. 103 00:09:01,380 --> 00:09:05,150 So there is something a little complex one but I hope you get to understand that one. 104 00:09:05,160 --> 00:09:07,350 That how that works. 105 00:09:07,470 --> 00:09:14,220 Maybe you will not get any added If you are not using the x y here and try practicing using either I 106 00:09:14,220 --> 00:09:17,880 or the variables that are defined for these like Xs and DSP. 107 00:09:18,870 --> 00:09:19,950 So thanks for watching. 108 00:09:19,950 --> 00:09:21,500 This is enough about the videos. 109 00:09:21,540 --> 00:09:27,480 I will not stretch this one long and soon the next video.