Here even so in the last one you will learn about the met properly.
And in this video we are going to cover subplots.
So I think you understand what this approach means.
It means plotting different plots on the same page.
We have done something like plotting different values in the same graph.
That is like we have done BLT or float and then X comma Y complex goal X something like this one.
So here I have used the same graph for plotting these two different values but what about using different
graphs to plot these different values.
So their gaming tool that is known as subplot.
That is something like in the same page we have different plots and to have them we just use BLT dot
sub here.
That is subplot.
And then we will first define that subplot like this thing is going to define the subplot in which we
have three parameters that is one comma to comma three and these parameters are denoting first one draws.
Second one column.
Third one is the number of graph.
Like if I have one not one doodles and two will be a little complex one of three rows two columns.
And then here we will define the number of properties in current use like this one.
But if you have here 6 you will have the sixth graph.
That is something you do not understand now.
But let me show you that.
Come on.
See this one and paste this one six times.
That is denoting every single plot here.
One more thing.
So don't get confused in while changing the number of graphs like here.
This one is the first one and then this one is the second one so I change the parameter to second.
So here I have first column then I have second column.
I have two columns today then now instead of changing this one like this parameter they assume that
I have to first change that rule like this one that is 1 here and remain mean this one is like this
one one two one two one two they do something like that one but always you have to change the last parameter
that is these one the first 2 that is dividing the rows in Columbia.
Always be seeing this thing like you are not thinking that I will mistaken that one but this is the
thing that I have noticed.
Most students are making mistakes in so only to use these values like these and if you shifted on that
one you will get these props that is higher for second third for five 6 and there is a little like something
overlapping each other.
So to prevent overlapping always in the last right something like date and then we use these come on
to make like these graphs are here.
If you notice this thing is about decimal and this is about network.
So here we use byte layout that is this one and.
Again this one is a Met broadly method.
So here we use BLT not met properly so to be able to do type layout and then you will notice something
that these are different in gaps but that doesn't happen here.
Maybe this time and they David go.
So it does require the branches that I forgot to mention here.
So if you have noticed now these things have a common spacing between then and now what about putting
the data in these values like how can I blow up the data in this one.
So whenever you need to put the data in any of that one just after that particular one right BLT or
bloat and then we have X coma X and they we go that one that it looks.
So here we go.
This one.
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
will use bloat the BLT or bloat and they will go with X coma my way and with the third one I do need
to bloat like BLT to bloat X go ma say and the decision on first BLT don't bloat.
And let me have excellent X here X go my way X Cuomo said and here I will have BLT or bloat and then
by common set and if you do that one you will get all the various graphs bloated and they're is taking
a little while because my this is little room light no.
So hey I have only five graphs that are few are like seem these are same maybe like this is X X for
20 same.
That is why Cuomo composite that not two but it showing maybe it is correct.
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
graph just by using here.
If I want to name this one so just use BLT dot X label that we have learned for single one.
So this is like x x is then for y
and this one y axis.
And David go with that and it's working network for different.
And also if you only need to put some of the graph then it is not required to load every graph there.
So if you can just remove this one and there we go.
If you notice this one y axis and this one x axis and if you write the names here also they will be
properly laid out because of title and after that.
Here I have removed those that I do not require.
Now if you shift on that one then you will get only these four for four.
If you notice this one I have only first second fifth and sixth not more.
So that's how you can have any graph you want in that particular page.
So this one is just for like if you want to have multiple graphs in a same page.
So in that case we will support this one is also our Matlab operation that is plotting various graphs
in a single page.
Also you can add titles just by using these and
David overdoing it too.
So now I hope you go got the idea that how it works and thanks for watching.
We will continue in the next video with some more interesting topics.