bugGNU Octave - Bugs: bug #33779, FLTK plotting doesn't work quite...

 
 

bug #33779: FLTK plotting doesn't work quite right

Submitted by:  None
Submitted on:  Fri 15 Jul 2011 09:24:42 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Need InfoAssigned to: Ben Abbott <bpabbott>
Originator Name: Bill EatonOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.2
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 17 Sep 2011 12:10:19 AM UTC, comment #3:

Since there hasn't been a response to this item, I'm assuming Bill has resolved the problem on his end.

I'm closing this item.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 02 Sep 2011 02:39:46 AM UTC, comment #2:

The orignal problem with ...

`\P' -- converting to `P'

... is because "\" between double-quotes has a special purpose. For example, "\t" is a tab and "\n" is a new line.

If you use "/" for separating directories, or place the path in single-quotes, then the problem will go away.

However, it may be that Octave has failed to locate ghostscript.

Please tell us what the name of the ghostscipt binary is, where it is located, and what is returned by getenv("PATH").

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 15 Jul 2011 10:01:49 PM UTC, comment #1:

Ok. More details. It seems that if I copy gswin32.exe to the Octave bin directory, then print('foo.png'), I get a file. At least for simple graphs.

For more complicated graphs, something seems to hang and I have to kill the plot window, which also kills Octave.

Anonymous
Fri 15 Jul 2011 09:24:42 PM UTC, original submission:

This could be a case of incorrect versioning. In the current build of 3.4.2 for Windows, FLTK plotting doesn't seem to work at all. It seems that
opts.binary
opts.ghostscript.binary
don't get set properly in
Octave\3.4.2\share\octave\3.4.2\m\plot\__fltk_print__.m
Octave\3.4.2\share\octave\3.4.2\m\plot\private__ghostscript__.m

So then I hacked
_ghostscript_.m
To set opts.binary just before the error check on line 134.

Finally, ghostscript seems to be called, but I get warnings:
warning: unrecognized escape sequence `\P' -- converting to `P'
warning: unrecognized escape sequence `\g' -- converting to `g'

And in the end, no output. I was trying to make PNG files.
I'm using Ghostscript 8.64. Maybe I'm too far out of date.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 Sep 2011 12:10:19 AM UTCbpabbottOpen/ClosedOpen=>Closed
    Fri 02 Sep 2011 02:39:46 AM UTCbpabbottStatusNone=>Need Info
      Assigned toNone=>bpabbott

    Back to the top


    Powered by Savane 3.1-cleanup1