bugGNU Octave - Bugs: bug #38263, legend text color for gnuplot

 
 

bug #38263: legend text color for gnuplot

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Tue Feb 5 13:57:49 2013  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Ben AbbottOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri May 17 00:17:05 2013, comment #3:

Its been several months since the patch was applied. I'm closing this one.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Wed Feb 6 15:07:40 2013, comment #2:

http://hg.savannah.gnu.org/hgweb/octave/rev/cddf9103a566

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Tue Feb 5 16:09:23 2013, comment #1:

patch attached to bug 38265

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Tue Feb 5 13:57:49 2013, original submission:

Matlab allows the text for the legend's entries to be modified by changing the color property of the legend's text objects.

Since there isn't a reliable way for Octave to know the extents of the text objects for the gnuplot toolkit, the Gnuplot "key" feature is used to render the legend. Gnuplot does not allow the text color of the entries to be specified arbitrarily. However, the current situation where the text is always black may be improved upon.

The color of all text objects may be modified using the Gnuplot syntax below.

This form is already supported by changing the "textcolor" property of the legend hggroup object.

Gnuplot also supports matching the color of the text labels to the graphic objects,

This feature may be included in Octave using a patch like below.

The "set key textcolor variable" syntax may not be consistent across all versions of Gnuplot. This needs to be checked before committing. If necessary the _gnuplot_has_feature_.m function may need to be modified as well.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.

 

(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 (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 May 17 00:17:05 2013bpabbottStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed Feb 6 15:07:40 2013bpabbottStatusPatch Submitted=>Ready For Test
    Tue Feb 5 16:09:23 2013bpabbottStatusNone=>Patch Submitted
      Assigned toNone=>bpabbott

    Back to the top


    Powered by Savane 3.1-cleanup