[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: |
Wed, 05 Jun 2013 08:33:22 +0800 |
On Jun 5, 2013, at 12:40 AM, Rick Cox wrote:
> -----Original Message-----
> From: Ben Abbott [mailto:address@hidden
> Sent: Monday, June 03, 2013 5:11 PM
> To: Rick M. Cox
> Cc: 'help-octave Octave'
> Subject: Re: Help with saveas and fltk
>
> On Jun 4, 2013, at 7:30 AM, Rick M. Cox wrote:
>
>> -----Original Message-----
>> From: Ben Abbott [mailto:address@hidden
>> Sent: Monday, June 03, 2013 1:19 AM
>> To: Rick M. Cox
>> Cc: 'help-octave Octave'
>> Subject: Re: Help with saveas and fltk
>>
>>> 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
>>> <Octave.doc>
>>
>> Ben:
>>
>> I installed Ghostscript to a path without any white spaces and tried my
>> plot. As usual Octave crashed.
>>
>> I captured the diagnostics with Print Screen and placed them in the
> attached
>> Word document. Hopefully you can find what you need. Also, the screen
>> capture shows my scrambled figure window if that is of help.
>>
>> Rick
>
>
> I expected to see something beginning with "D:\Programs ", but don't see any
> indication in the output. Unfortunately, I don't have any further
> suggestions.
>
> Ben
>
> p.s. A couple of minor points of etiquette, (1) please bottom post (reply at
> the bottom of the email and not the top). This makes it more convenient to
> follow the discussion. Especially for those who arrive late. (2) Avoid
> attacking proprietary file formats. Attaching a PNG to the email is ok, but
> a microsoft word document should be avoided.
>
>
> Ben:
>
> Thanks for the help. Where does this leave me? Is there someone you can
> refer me to?
>
> I guess I can use gnuplot for output but it is so slow that it renders
> Octave almost unusable for my purposes.
>
> Rick
At this point, it looks to me as if Octave is working correctly. I had
expected that the path to ghostscript would have started with D:\Programs, but
it does not. And I've run out of ideas.
Hopefully, someone running Windows will have some insight and offer a
suggestion.
Ben
- Re: Help with saveas and fltk, (continued)
- 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, 2013/06/03
- 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 <=
- 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
- Re: Help with saveas and fltk, Tatsuro MATSUOKA, 2013/06/07
- Re: Help with saveas and fltk, Tatsuro MATSUOKA, 2013/06/07
- Re: Help with saveas and fltk, Tatsuro MATSUOKA, 2013/06/07
- Re: Help with saveas and fltk, Nicholas Jankowski, 2013/06/07
- RE: Help with saveas and fltk, Rick M. Cox, 2013/06/07