Here everyone since the last video we have learn about the loading multiple blocks in the same boat.
And while we are doing that burn most of the students are thinking is this possible to support also
with these commands like by these things.
So that's what's also possible and we are going to do here.
So for producing subplots by using the object oriented matter we again need to define our field value
and not only Fig.
We also need to define the x's with that fig here also so that we will have multiple plots and then
we have similar to like that one BLT don't.
And instead of this figure we use subplots that is to make sure s is also there.
And this one is more less than the Pence's and now here we have empty fences because we do not have
any barometer.
And but here treated by some of the parameters to define.
Otherwise it will be same like that.
If you try to run that one you will have a simple plot.
Same as this figure if you need multiple plots then you need to define here number of rows and columns.
Like if I need to have one door and 2 column I will have this one if I need four subplots then I have
four.
And for the spacing just provide BLT to write underscore layout and France's you will have disappeared.
Now this is how you can define multiple subplots you can have any number of plots like if I took Monte
here I would have let that one I get going.
So there is maybe a larger number and that's a lot larger because of a number of these.
So here we get these next note like large it here Don so Don one but you did not able to see that because
it tried to fit all these things only in this potion.
It will not expand the like expanding this head is just decreasing these graphs.
So here I have to rows to here.
These are small and then I have one.
I have a graph of this size so you can also increase or decrease these things that we are going to learn
later.
Now what about plotting the values in these graphs like men we have simple one we can easily plot when
we have this one we have different Xs.
Now we have nothing.
We have just one come on.
That is discipline and the order of Tekla.
So how we can plot.
So everything is hidden in these order.
That is too close to they are defining the index values.
We have a days in order there will be an index so that we have just this one one close to.
And David go the Dettmer knife you need to plot something in this one you just use like here we have
defined the figure very able as the BLT.
So first the index for that one like we have X is here X is of zero dot float no value narrated by Fig.
And then X comma Y you will have this if you need to plot on second one you have this one fun Load load.
And then we have like Y X you will have Declan.
So this is how you can plot these things.
You can also do something like here in this one I had both of these come ons and also in that one you
can do the same thing.
Now this is about plotting the values but one more thing if this is something like this to cross two
then you will get an editor.
And despite the graphs men without any tight layout also because this command will not work in case
of truly metrics because the indexing like if I have something like this one one and this one even for
I will still get output because indexing is simple the ROIs and by default 0 and the column values that
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
block.
But when I have defined number of rows instead of columns I'm getting into next because these indexes
must be defining them differently.
So this is the first thing you need to focus by a level I think this uploads you need to provide here
to which contains two parameters that is first the number of URL.
Second the number of column like if I need to load in this one.
So this one is 0 plus draw and first column.
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
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
this is how you can upload on subplots and totally subplots one disapproves.
No we are only left with one thing you need to focus on.
That is something I have noticed in most of these two events.
First let me make this simple.
So they will not be much complication.
This one zero and this one one.
There we go.
Here we have a deal.
Now most of the students while taking the variables defined x variable and then I have this one also
x.
Now if I've tried to run that one I will get an ETA and that is something you get here.
Value added X and value must have seen first dimensions but have shapes too close to nothing and 20
equals nothing.
So what that means and it's very hard to spot this added that what the actual entities that we did not
have any added in this index is the things we have made a mistake.
Is this one we have the value X and Y and we have also defined the variable x that the U like first
X have this value and why had this value.
Now when we run this thing the x value is now a subgroup so x values changed.
And when I tried to plot that value I'm thinking here this one is my edit that I have defined that by
using line space.
But in actual This one is a subplot and vice that new numerical value so nothing can plot as a plot
in a numerical value.
That is something an imaginary.
So make sure you are not using the same variable here that is used to define the values you have.
One more thing if I change this one now like a you can use any other variable instead of these two like
X and Y.
If you do VI here you will also get error.
And if you still done that one you will still have added.
Now the thing is I have changed that one that I am getting it.
Maybe students are thinking that X is is need to define.
Like if I use X is here maybe in that time I will not get it but still I have to invite this happen.
So again take a little time and try to find out why I get disciplined so I hope you go.
So this is because at best and if you try something like let me come on next this one value of X you
will get an array of these things not the actual value that you have.
This means that the value of X is now updated x value is not the same as this but this is something
else.
So whenever you try to run that one you will get the same error.
That is the previous one to avoid that one you need to run this shell again in which we have x value
defined again.
So now X is again this and below playing space you have to just shift enter on the windows and shift
return on deck.
Now again get to this one and if you run this one now you will have output because x values now updated.
So there is something a little complex one but I hope you get to understand that one.
That how that works.
Maybe you will not get any added If you are not using the x y here and try practicing using either I
or the variables that are defined for these like Xs and DSP.
So thanks for watching.
This is enough about the videos.
I will not stretch this one long and soon the next video.