bugGNU Octave - Bugs: bug #50489, errorbar does not display marker...

 
 

bug #50489: errorbar does not display marker in legend (gnuplot only)

Submitter:  Kusmin <akusmin>
Submitted:  Tue 07 Mar 2017 11:22:39 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Confirmed Assigned to:  None
Originator Name:  Kusmin Open/Closed:  * Open
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Wed 13 Dec 2017 06:37:57 PM UTC, comment #2: 

I've added Dan Sebald to the CC list since he is the main programmer of the interface to gnuplot.

I also modified the example to see more clearly what is going on.


close all
graphics_toolkit gnuplot
a=linspace(1,10,20);
b=sin(a);
myerr=a*0+0.1;
h1=errorbar(a,b,myerr);
set(h1,"linestyle",'--',"linewidth",2,"color",'red',"marker","x",'markersize',8);
legend("test");
h = copyobj (1);
graphics_toolkit (h, "fltk");


This is attached as the file tst_errbar_gnuplot.m


(file #42641)

Rik <rik5>
Group administrator
Thu 09 Mar 2017 05:37:17 AM UTC, comment #1: 

Clarifying the summary.

Rik <rik5>
Group administrator
Tue 07 Mar 2017 11:22:39 PM UTC, original submission:  

When gnuplot_draw_axes.m from mercurial is used with 4.2.1 release to fix the bug #50473: (plotting with errorbar: duplicate legend entries)
leads to another problem: marker symbol is not shown in the legend when errorbar.m is used. The following code demonstrates the problem:

graphics_toolkit gnuplot
a=linspace(1,10,100)
b=sin(a);
myerr=a*0+0.1
h1=errorbar(a,b,myerr)
set(h1,"linestyle",'--',"linewidth",5,"color",'red',"marker","*",'markersize',12);
legend("test");

if plot is used instead of errorbar, the problem is not present.

Kusmin <akusmin>

 

Attached Files

Attached Files
file #42641:  tst_errbar_gnuplot.m added by rik5 (251B - text/x-matlab)

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rik5
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by akusmin (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    History

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-12-13 rik5 Attached File- Added tst_errbar_gnuplot.m, #42641
        Carbon-Copy- Added sebald
    2017-03-09 rik5 StatusNone Confirmed
    2017-03-09 rik5 Release4.2.1 dev
        Summary gnuplot_draw_axes.m from mercurial: with errorbar.m no marker in the legend errorbar does not display marker in legend (gnuplot only)

    Back to the top

    Powered by Savane 3.16-1b88.
    Corresponding source code