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 05 Feb 2013 01:57:49 PM UTC  
 
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 17 May 2013 12:17:05 AM UTC, 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 06 Feb 2013 03:07:40 PM UTC, comment #2:

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

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Tue 05 Feb 2013 04:09:23 PM UTC, comment #1:

patch attached to bug 38265

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Tue 05 Feb 2013 01:57:49 PM UTC, 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 17 May 2013 12:17:05 AM UTCbpabbottStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 06 Feb 2013 03:07:40 PM UTCbpabbottStatusPatch Submitted=>Ready For Test
    Tue 05 Feb 2013 04:09:23 PM UTCbpabbottStatusNone=>Patch Submitted
      Assigned toNone=>bpabbott

    Back to the top


    Powered by Savane 3.1-cleanup