[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with saveas and fltk
From: |
Ben Abbott |
Subject: |
Re: Help with saveas and fltk |
Date: |
Mon, 03 Jun 2013 16:19:13 +0800 |
On Jun 3, 2013, at 1:35 PM, Rick M. Cox wrote:
> -----Original Message-----
> From: Ben Abbott [mailto:address@hidden
> Sent: Sunday, June 02, 2013 9:17 PM
> To: Rick M. Cox
> Cc: help-octave Octave
> Subject: Re: Help with saveas and fltk
>
>> On Jun 3, 2013, at 8:29 AM, Rick M. Cox wrote:
>>
>>> Ok. The problem can be fixed by installing Octave using a path with no
>>> spaces in it.
>>>
>>> There may be other solutions. If so, perhaps a windows user can offer
>> some
>>> help.
>>>
>>> Ben
>>>
>>>
>>> Ben:
>>>
>>> I will install Octave using a path with no spaces in it.
>>>
>>> I am curious. Are my problems peculiar to "fltk"? "gnuplot" performs
>>> flawlessly with any 'print' or 'saveas' command I give it even though
>> Octave
>>> is currently in a path with white spaces.
>>>
>>> Also, do I need to install Ghostscript in a directory with no spaces?
>>>
>>> Thanks,
>>>
>>> Rick
>>
>> For eps output, I would expect a problem with both fltk and gnuplot. If you
>> are comfortable trying to debug the problem, I can offer some suggestions.
>> Also be sure the "relpy-all". There may be some other windows users who
>> have already resolved this problem on the mail-list.
>>
>> Ben
>
> Ben:
>
> I installed Octave to a path with no white spaces with "fltk" as the default
> graphics package. All 'print' and 'saveas' commands fail in exactly the
> same way they did when Octave was in a path with white spaces. Apparently
> this does not fix my problem.
>
> To summarize:
> 'gnuplot' works flawlessly with any 'print' or 'saveas' command I give
> Octave whether it is in a path with a white space or not.
>
> 'fltk' fails with any 'print' or 'saveas' command I give Octave whether it
> is in a path with a white space or not. In these cases either nothing
> happens (no file is saved) or the figure window becomes unresponsive, Octave
> displays: 'D:\Program' is not recognized as an internal or external command,
>
> operable program or batch file and then becomes unresponsive as well.
>
> Rick
To determine what is happening please edit __print_fltk__.m and remove the
semicolon from the end of line 149. The resulting line is below.
opts.pipeline = pipeline
It you don't know where to find this file, type the command below in Octave.
strrep (which ('plot'), 'plot.m', sprintf ('private%s__print_fltk__.m',
filesep))
Once the semicolon has been removed from the end of line 149, try ...
close all
graphics_toolkit fltk
plot (rand (3))
plot -depsc test.eps
And copy-n-paste everything that octave prints in its windows into your replay
to this email.
Ben
- Help with saveas and fltk, RickMCox, 2013/06/01
- Re: Help with saveas and fltk, Ben Abbott, 2013/06/01
- Re: Help with saveas and fltk, RickMCox, 2013/06/01
- Re: Help with saveas and fltk, Ben Abbott, 2013/06/01
- Message not available
- Re: Help with saveas and fltk, Ben Abbott, 2013/06/02
- Message not available
- Re: Help with saveas and fltk, Ben Abbott, 2013/06/03
- RE: Help with saveas and fltk, Rick M. Cox, 2013/06/03
- Re: Help with saveas and fltk,
Ben Abbott <=
- RE: Help with saveas and fltk, Rick M. Cox, 2013/06/03
- RE: Help with saveas and fltk, Rick M. Cox, 2013/06/03
- Re: Help with saveas and fltk, Ben Abbott, 2013/06/04
- RE: Help with saveas and fltk, Rick Cox, 2013/06/04
- Re: Help with saveas and fltk, Ben Abbott, 2013/06/04
- Re: Help with saveas and fltk, Nicholas Jankowski, 2013/06/06
- RE: Help with saveas and fltk, Rick M. Cox, 2013/06/06
- Re: Help with saveas and fltk, Nicholas Jankowski, 2013/06/06
- RE: Help with saveas and fltk, Rick M. Cox, 2013/06/07
- Re: Help with saveas and fltk, Abbott, Ben, 2013/06/07