I am relatively new to gnuplot and I am trying to plot some data and save it to a png file for a report. I am running gnuplot from a java-program using exec("gnuplot") but whenever I try to read data from a file and plot it, the plot contains the full path name of the datafile and prints it over part of my plot.
This makes the plot look rather ugly and unfit for my report. Is there a command or something that I can use to remove the path name or do I have to use Photoshop to render it away manually after generating a .png?