It is explained in the latex and gnuplot tutorial.
We will not have time to cover it today. please go through it and let us know your feedback.
The tutorial explains, creating an input for latex from gnuplot, then to create a pdf file and crop the pdf to suit your need.
Here is the link for the Latex and Gnuplot tutorial.