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?
The filename is the default title. If you do not want it to be shown, just turn it off:
plot "/path/to/file" notitle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With