bugGNU Octave - Bugs: bug #36787, Line colors occasionally get saved...

 
 

bug #36787: Line colors occasionally get saved to file incorrectly.

Submitted by:  None
Submitted on:  Thu 05 Jul 2012 05:48:00 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: InvalidAssigned to: None
Originator Name: Bob ShortOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 06 Jul 2012 05:42:49 AM UTC, comment #1:

I don't think this is a bug. For the saveas() command 'eps' indicates monochrome output. If you want color use the format 'epsc' or switch to the print command which has more options than saveas. The following two solutions work for me.

Rik <rik5>
Project Administrator
Thu 05 Jul 2012 05:48:00 PM UTC, original submission:

This bug occurs on both the development version, tip 355ff41f3f97, and 3.6.2.

Occasionally when I create a plot that has multiple traces in color, when the plot is saved to a file all distinguishing line features are lost. In the attached example the plot is all black and white.

I have attached a script that demonstrates the problem along with the resulting files. In this stripped-down version the .eps file lost color but the .fig file came out with colors. In the original script neither file had color. I used fltk for the attached figures, but gnuplot had similar results.

This is an erratic bug - it only happens occasionally and I have not been able to pinpoint specifically what combination of commands causes it. I have a set of very similar scripts, some of which work and some of which don't.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #26150:  testLinestyles.m added by None (421B - application/octet-stream)
file #26151:  plot_fltk.fig added by None (109KiB - application/x-xfig)
file #26152:  plot_fltk.eps added by None (168KiB - application/postscript)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 06 Jul 2012 05:42:49 AM UTCrik5StatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Thu 05 Jul 2012 05:48:00 PM UTCNoneAttached File-=>Added testLinestyles.m, #26150
      Attached File-=>Added plot_fltk.fig, #26151
      Attached File-=>Added plot_fltk.eps, #26152

    Back to the top


    Powered by Savane 3.1-cleanup1