bugGNU Octave - Bugs: bug #29621, 4 plot point symbols missing in...

 
 

bug #29621: 4 plot point symbols missing in development code

Submitted by:  Rik <rik5>
Submitted on:  Wed 21 Apr 2010 04:51:39 AM UTC  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Other
Status: Wont FixAssigned to: David Bateman <dbateman>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 24 Apr 2010 06:52:27 PM UTC, comment #2:

I just submitted a changeset that address the filled diamond markers and so I'll close this bug marking it as "won't fix"

Cheers
D.

David Bateman <dbateman>
Project MemberIn charge of this item.
Fri 23 Apr 2010 01:12:07 PM UTC, comment #1:

The changeset that did this is

http://hg.savannah.gnu.org/hgweb/octave/rev/3b7e644bb46d

and is to allow filled and unfilled markers with different fill and edge color. The s, ^ and v markers should be fine but will be unfilled, unless markerfacecolor is set.

The pentagram marker is actually missing in the basic gnuplot markers and until the above changeset was represented by a filled square marker. It probably exists in the postscript driver, by we have to try and be consistent in our use of markers between the various terminal types.

Now that the markerfacecolor property is respected it makes no sense that a pentagram is represented by a filled square and the above changeset makes the pentagram marker use the same marker as "*" which seemed close.

The same applies to the hexagram, markers which were represented by unfilled diamonds which are represnted by the "*" marker and the > and < markers which are now all represented by filled or unfilled "^" marker.

After marker 14, gnuplot regenerates the same marker as marker 1... So all of the basic gnuplot markers are exposed with a combination of the marker type and the use of the markerfacecolor property. I propose to keep this behavior as being more consistent with matlab and in respecting the markeredgecolor and markerfacecolor properties, and that all the previous functionality is present but accessed differently.

However there appears to be another bug in that

case {"diamond", "d"}
pt = "pt 13";
pt2 = "pt 14";

in _gnuplot_draw_axes_ should instead be

case {"diamond", "d"}
pt = "pt 12";
pt2 = "pt 13";

I'll fix that when I have access to mecurical. I'm marking this bug as in progress and will close it when I fix the above.

Regards
David

David Bateman <dbateman>
Project MemberIn charge of this item.
Wed 21 Apr 2010 04:51:39 AM UTC, original submission:

Somewhere between version 3.0.0 and the current development code support for 4 plot point symbols was lost.

I used the following to generate the different plots.
x = -pi:0.1:pi;
y = sin(x);
plot(x,y,"X") where X is shown in the table below

X 3.0 Symbol Dev Symbol
----------------------------------------------
h unfilled diamond asterisk
p unfilled square asterisk
s filled square unfilled square
v filled triangle down unfilled triangle down
^ filled triangle up unfilled triangle up

This is with a recent hg tip (10537:fdf28dae0f37) and gnuplot 4.2.5

Rik <rik5>
Project Administrator

 

(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 dbateman (Posted a comment)
  • -unavailable- added by rik5 (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 24 Apr 2010 06:52:27 PM UTCdbatemanStatusIn Progress=>Wont Fix
      Open/ClosedOpen=>Closed
    Fri 23 Apr 2010 01:12:07 PM UTCdbatemanStatusNone=>In Progress
      Assigned toNone=>dbateman

    Back to the top


    Powered by Savane 3.1-cleanup1