I am trying to save a plot created with Octave 3.6.2 (Qt graphics toolkit) to a JPG file.
cmd_path = getenv ("path");
gs_path = "D:/gs/gs9.07/bin";
if (isempty (strfind (cmd_path, gs_path)))
setenv ('path', strcat (cmd_path, pathsep (), gs_path));
endif
I have also created the (user) environment variable GSC and set it to D:/gs/gs9.07/bin. (I cannot create system environment variables as I don't have admin rights). Using Windows XP Pro SP2.
I have just spent the last two hours trying to save a simple plot to a JPG file and so far, have failed miserably

Using either the print or saveas command does not produce any error or warning, but equally no file is created. I have also tried with other file formats, same story. Can anybody help?