bugGNU Octave - Bugs: bug #42927, Gnuplot backend does not honour...

 
 

bug #42927: Gnuplot backend does not honour title colour property

Submitted by:  Serviscope Minor <serviscope_minor>
Submitted on:  Wed 06 Aug 2014 01:29:28 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 08 Aug 2014 04:23:25 PM UTC, comment #4:

I pushed your second changeset to properly color axis labels here (http://hg.savannah.gnu.org/hgweb/octave/rev/2ceb734a663f).

I'll file a new bug report about the color of the axis lines and tick marks. In the FLTK toolkit the axis, tickmarks, and ticklabels are all controlled by the 'xcolor', 'ycolor', or 'zcolor' property.

Rik <rik5>
Project Administrator
Fri 08 Aug 2014 02:37:10 PM UTC, comment #3:

That looks correct. xcolor I believe should be the colour for the tick marks (and perhaps the axis line, not sure off hand). I've attached a patch to this reply that implements that change.

(file #31867)

Serviscope Minor <serviscope_minor>
Thu 07 Aug 2014 11:17:39 PM UTC, comment #2:

I committed your patch here (http://hg.savannah.gnu.org/hgweb/octave/rev/538f6492f21c). I followed it up with a small change. The properties of the title object were already fetched and stored in the variable t so there isn't a reason to go fetch them again with get(). That changeset is here http://hg.savannah.gnu.org/hgweb/octave/rev/bd1a5149c53e.

Since you seem to understand gnuplot, could you take a look at xlabel, ylabel, and zlabel colors? I tested them and they don't work. Instead, they are taking their color from the axis color. It "looks" like the fix is pretty simple. The existing code is

I think if this is changed to

it will work.

Rik <rik5>
Project Administrator
Wed 06 Aug 2014 01:32:04 PM UTC, comment #1:

Correct formatting in patch and add bug number to the commit message.

(file #31854)

Serviscope Minor <serviscope_minor>
Wed 06 Aug 2014 01:29:28 PM UTC, original submission:

Gnuplot backend does not honour title colour property. The fix is in the attached patch.

Serviscope Minor <serviscope_minor>

 

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

Attach File(s):
   
   
Comment:
   

 

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 serviscope_minor (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 08 Aug 2014 02:37:10 PM UTCserviscope_minorAttached File-=>Added serviscopeMinors-label-colours-fix.diff, #31867
    Thu 07 Aug 2014 11:17:39 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 06 Aug 2014 01:32:04 PM UTCserviscope_minorAttached File-=>Added serviscopeMinors-title-color-fix.diff, #31854
    Wed 06 Aug 2014 01:29:28 PM UTCserviscope_minorAttached File-=>Added serviscopeMinors-title-color-fix.diff, #31853

    Back to the top


    Powered by Savane 3.1-cleanup1