Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing the path name of the data when plotting in gnuplot

Tags:

path

gnuplot

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?

like image 207
user1882134 Avatar asked Dec 06 '12 11:12

user1882134


1 Answers

The filename is the default title. If you do not want it to be shown, just turn it off:

plot "/path/to/file" notitle
like image 104
choroba Avatar answered Nov 24 '22 07:11

choroba