bugGNU Octave - Bugs: bug #57716, [octave forge] (control) pzmap...

 
 

bug #57716: [octave forge] (control) pzmap marker style, color, and no line should be consistent with Matlab

Submitter:  None
Submitted:  Fri 31 Jan 2020 09:28:35 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  gs Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 14 Jan 2024 09:46:13 AM UTC, comment #7: 

This fixed with cset https://github.com/gnu-octave/pkg-control/commit/fff2af76557f098abbba2f49512f9563afc72509 and will be included in one of the next releases.

Torsten Lilge <ttl>
Group Member
Wed 05 Feb 2020 04:29:48 PM UTC, comment #6: 

If pzmap had worked properly then the OP would not have tried the hold command.

Doug Stewart <dastew>
Sun 02 Feb 2020 03:27:26 AM UTC, comment #5: 

Yes, mike, I think that covers it.

Nicholas Jankowski <nrjank>
Group Member
Fri 31 Jan 2020 10:32:48 PM UTC, comment #4: 

Confirmed all of these observations on the development branch and the latest control package.

Mike Miller <mtmiller>
Group Member
Fri 31 Jan 2020 10:24:02 PM UTC, comment #3: 

So the first issue seems to be that the 'hold' state should not keep the default color at blue, but should continue to rotate across the standard color order for subsequent calls.

The second issue seems to be that user styles passed in to the function should not be allowed to override the internal choices of ('linestyle', 'none') and ('marker', 'x' or 'o').

Does that capture everything accurately and completely? Thanks.

Mike Miller <mtmiller>
Group Member
Fri 31 Jan 2020 09:44:29 PM UTC, comment #2: 

best to keep everything here, lest nabble be unavailable

pzmap [control package 3.2.0] appears to have some issues with plot formatting. confirmed non-compability with Matlab 2019a.

Issuing the following commands produces an image with incorrect color and legend (see pkmap.png and pkmap_matlab.png):


pzmap(tf([1 9],[1 2 2 4 5]))

hold on

pzmap(tf([1 8],[1 2 2 4 5]))



the following produces a plot with a red line replacing the plot instead of pole-zero marks (see pzmap1.png and pzmap1_matlab.png:


pzmap(tf([1 8],[1 2 2 4 5]))
hold on
pzmap(tf([1 9],[1 2 2 4 5]),'r')


Last, the following should result in blue x and o, but it just makes them all x's (see pkmap2.png and pkmap2_matlab.png):


pzmap(tf([1 9],[1 2 2 4 5]),'bx')



Nicholas Jankowski <nrjank>
Group Member
Fri 31 Jan 2020 09:40:52 PM UTC, comment #1: 

Please state the bug and show examples here, a bug report can't depend on an external link. I saw on the mailing list that this has something to do with line styles, please be explicit about that here.

Mike Miller <mtmiller>
Group Member
Fri 31 Jan 2020 09:28:35 PM UTC, original submission:  
Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #48323:  pzmap2.png added by nrjank (23KiB - image/png - last image set)
file #48324:  pzmap2_matlab.png added by nrjank (15KiB - image/png - last image set)
file #48319:  pzmap.png added by nrjank (23KiB - image/png - first and second images)
file #48320:  pzmap_matlab.png added by nrjank (15KiB - image/png - first and second images)
file #48321:  pzmap1.png added by nrjank (24KiB - image/png - first and second images)
file #48322:  pzmap1_matlab.png added by nrjank (15KiB - image/png - first and second images)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by mtmiller
  • -email is unavailable- added by nrjank (Updated the item)
  • -email is unavailable- added by nrjank
  •  

    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.

     

    Follow 19 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-14 ttl StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2020-01-31 mtmiller Carbon-CopyRemoved -email is unavailable- -
    2020-01-31 mtmiller Carbon-Copy- Added dastew
    2020-01-31 mtmiller StatusNeed Info Confirmed
        Release4.2.2 dev
    2020-01-31 mtmiller Item GroupNone Matlab Compatibility
        Summary[octave forge] (control) pzmap matlab compatibility issues [octave forge] (control) pzmap marker style, color, and no line should be consistent with Matlab
    2020-01-31 nrjank Attached File- Added pzmap2.png, #48323
        Attached File- Added pzmap2_matlab.png, #48324
    2020-01-31 nrjank Attached File- Added pzmap.png, #48319
        Attached File- Added pzmap_matlab.png, #48320
        Attached File- Added pzmap1.png, #48321
        Attached File- Added pzmap1_matlab.png, #48322
        Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-
    2020-01-31 mtmiller CategoryNone Octave Package
        StatusNone Need Info
        Summarypzmap matlab compatibility issues [octave forge] (control) pzmap matlab compatibility issues

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code