in this video you will learn how to plot a semi-log graph paper using latex
software you will get a PDF document from latex which you can print and then
you can plot your data so if you are not familiar with latex software latex is a
free open source software which you can get from the Internet and you have to
install a tech editor and a tech distribution and if you are not familiar
you should not watch this video first you should install a tech and learn a
little bit about later I will put some links to my videos about latex I have
many videos on my channel about latex and so you first watch those videos and
then you follow my instructions on this video so please don't waste your time if
you are not familiar with latex but if you know later then the purpose of this
video is to show you how you can plot a semi-log graph paper using latex
latex is a typesetting software this is not only free the good thing is that
latex is the best software for creating documents whether you are creating a
research paper or thesis report or a business pamphlet or brochure so you may
consider using start using latex and now let's talk about a little bit of a
semi-log paper because some of you might have reached on this video by searching
for semi-log paper so therefore I have to explain a little bit so semi-log
paper is a paper in which on one of the axes we have logarithmic scale while on
the other axis we have normal or linear scale so logarithmic scale is used when
you are trying to plot two variables in which one variable is varying at a much
faster rate than the other variable so if you use a logarithmic scale on one
side then the plot will look better and it will be easy to visualize the
relationship between two variables if you look at logarithmic scale the
difference you will note from the normal scale is that on this log scale equal
distance does not mean that equal value it's changed let's say the center of
this is 10 raised to the power 0 which represents the value of 1 so this
vertical line has the x-axis value of 1 the second vertical line next to it has
the value of 2 the distance between these two lines is approximately 1 inch
while the next line the distance is approximately 1 centimeter which is not
same as the distance between these two lines but the value increase is same
because this third line this this line represents the value of 3 so the next
line is even more closer but the change in value is again 1 so this is
logarithmic scale now let's see how we can quickly plot this using later so
this is the simplest document minimum you can say that analytic document you
need 3 statements document class begin document and end document and if I
compile this document I will get a blank PDF but no we have to plot a semi-log
graph paper so to do that first I have to use a package and these packages are
used to do certain things in latex so the package I want to use is called PDF
plots so use package vgf plots is the statement I have to use and now inside
the begin document I have to start one environment which is called ticks
picture environment so what i will see i will write begin takes picture
environment so every begin statement must have an end statement so ticks
picture environment should be ended so it's better to write both statements so
that you don't miss anything now inside this takes a picture environment I have
to start X's environment so begin access and end X's on x axis I have logarithmic
scale so I would say X mode is equal to log and now we are giving options to
this axis environment so therefore we have to start a square bracket and all
our options will be within this square bracket so X mode is equal to log and I
will separate my options with commas Y mode is equal to normal then comma no
I have to put the limits what is the X minimum
value 10 raised to the power minus 2 and X maximum is 10 raised to the power 2 y
minimum is minus 60 and Y maximum is 60 so I have to put these limits X minimum
is equal to 1 e minus 2 x max equals 1 e 2 y minimum equals minus 60 Y max equals
60 no I want grid on both sides so grid equals both now you can give the width
and height of the graph paper width equals 10 centimeter height equals 7
centimeter now on this graph paper as you can see that these are the major
grid lines this line and this line and these lines have a little bit darker
color maybe 50% black while the other lines in the middle
they have lighter color while at the corners they have darker colors so these
colors are by default so if you for example want to change the color then
you can also change the color so let's say that this is called major grid style
so I want to change the color of major grid style so I can say major grid style
equals and then within the curly brackets I can give the color black
exclamation 50 means roughly 50% black so this is the way you provide color and
now our graph paper is ready so hopefully it will be ok if I have not
missed any commas or something so I just compile using this button and now it has
compiled successfully so now I can create a PDF by clicking on this I can
view the PDF and now my PDF is here I can change the scale to let's say a
little bit larger and know this is your graph paper so this is how you can
create a semi-log graph paper using latex and now as you can see that we
have got this PDF which we can print and then plot our data so I hope you find
this video useful