Ok, two things:
1.- The file i'm trying to plot can't be in another directory because it's produced by the same program in the same one.
2.- I understand from the error message that system tries to load a file called 'plot' instead of entering the command plot to gnuplot.
I think that the...