bugGNU Octave - Bugs: bug #36065, Line styles not automatically...

 
 

bug #36065: Line styles not automatically rotated when saving to eps

Submitted by:  None
Submitted on:  Mon 02 Apr 2012 12:40:34 PM UTC  
 
Category: PlottingSeverity: 2 - Minor
Priority: 3 - LowItem Group: Incorrect Result
Status: Wont FixAssigned to: None
Originator Name: Moreno MarzollaOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 04 Jun 2015 03:43:30 AM UTC, comment #3:

Yes, I don't think anything will be done on this report. Closing report.

Rik <rik5>
Project Administrator
Thu 04 Jun 2015 01:30:28 AM UTC, comment #2:

Is this just a "yes, this is the new behavior" bug? The manual describes how colors are rotated using the "colororder" property, but says that all line styles will be solid lines if no line style is specified.

Mike Miller <mtmiller>
Project Administrator
Wed 04 Apr 2012 04:21:29 AM UTC, comment #1:

The actual regression in behavior took place between 3.2.4 and 3.4.0. All versions from 3.4.0 on no longer rotate the linestyle when the output is '-mono'.

Rik <rik5>
Project Administrator
Mon 02 Apr 2012 12:40:34 PM UTC, original submission:

Consider the following code:

Using Octave 3.2.3 as shipped with ubuntu 10.04, I get that the three curves have different linestyle (see attached test.eps.good). Using octave 3.6.1 (which I compiled myself, again under ubuntu 10.04), I get all solid lines (see attached test.eps.bad) both with the gnuplot and with the fltk backend. At the moment I cannot check if this happens with a recent tip also.

Looking at octave-print-commands.log which is produced by the "-debug" option above, I see that Octave 3.2.3 inserts this:

while Octave 3.6.1 inserts this:

The problem seems caused by the fact that all styles are defined with "linetype 1" (there are also redundant "set style line X default").
I can get the old behavior by manually setting the line styles as follows:

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #25547:  test.eps.good added by None (23KiB - application/octet-stream)
file #25548:  test.eps.bad added by None (23KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -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 11 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 04 Jun 2015 03:43:30 AM UTCrik5StatusNeed Info=>Wont Fix
      Open/ClosedOpen=>Closed
    Thu 04 Jun 2015 01:30:28 AM UTCmtmillerCategoryPlotting with gnuplot=>Plotting
      Severity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low
      StatusConfirmed=>Need Info
      Release3.6.1=>dev
      Operating SystemGNU/Linux=>Any
    Wed 04 Apr 2012 04:21:29 AM UTCrik5StatusNone=>Confirmed
    Mon 02 Apr 2012 12:40:34 PM UTCNoneAttached File-=>Added test.eps.good, #25547
      Attached File-=>Added test.eps.bad, #25548

    Back to the top


    Powered by Savane 3.1-cleanup1