help-octave
[Top][All Lists]
Advanced

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

Re: Can't save a plot


From: Ben Abbott
Subject: Re: Can't save a plot
Date: Mon, 12 Nov 2012 09:46:43 -0500

On Nov 12, 2012, at 8:52 AM, Jorgen Sandberg wrote:

> -----Original Message----- From: Ben Abbott
> Sent: Monday, November 12, 2012 2:11 PM
> To: Dmitri A. Sergatskov
> Cc: Jorgen Sandberg ; Octave Help
> Subject: Re: Can't save a plot
> 
>> On Nov 11, 2012, at 10:09 PM, Dmitri A. Sergatskov wrote:
>> 
>>> 
>>> On Sun, Nov 11, 2012 at 2:23 PM, Jorgen Sandberg <address@hidden> wrote:
>>> Dear Ben,
>>> 
>>> In my mind the -G option does not work as intended.
>>> 
>>> 
>>> I think there is a bug in __print_parse_opts__.m
>>> (at least as of version 3.6.3)
>>> 
>>> 
>>> arg_st.ghostscript.binary = file_in_path (getenv ("PATH"), arg(3:end));
>>>        if (isempty (arg_st.ghostscript.binary))
>>>          error ("print: Ghostscript binary ""%s"" could not be located",
>>>                 arg(3:end));
>>>        else
>>>          arg_st.ghostscript_binary = __quote_path__ 
>>> (arg_st.ghostscript_binary);
>>> 
>>> 
>>> Should not the  last line be
>>> arg_st.ghostscript_binary = __quote_path__ (arg_st.ghostscript.binary);
>>> 
>>> ?
>> 
>> Thanks.  I seem to have a blind spot for "." and "_"
>> 
>> http://hg.savannah.gnu.org/hgweb/octave/rev/61d08b092a9d
>> 
>> Ben 
> 
> 
> Dear Ben,
> 
> Here you lost me. What should I do? Will I have to modify a file, compile it 
> and load it in some folder?
> 
> Or will you prepare a 3.6.4 package of OCTAVE? (my preferred option)
> 
> Regards,
> Jorgen

The next release of Octave should include this fix.

You should be able to make the fix yourself to the file indicated.  It is 
located in ...

        
.../Octave-3.6.2/share/octave/3.6.2/m/plot/private/__print_parse_opts__.m

Ben


Ben




reply via email to

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