help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Print command does not work


From: Michael Goffioul
Subject: Re: Print command does not work
Date: Mon, 18 Mar 2013 11:32:04 -0400

On Mon, Mar 18, 2013 at 11:24 AM, Arnaud Miege <address@hidden> wrote:
Hello,

I am trying to save a plot created with Octave 3.6.2 (Qt graphics toolkit) to a JPG file.

I have installed Ghostscript in D:/gs/gs9.07/ and included the following in my .octaverc file (as per what the FAQ suggests):

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?

This feature is not supported yet by QtHandles. An easy workaround is to make a screen capture of the figure window, the result shouldn't be that different from a print-to-JPG action.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]