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

 
 

bug #53780: [octave forge] (control) error: unknown line property when using pzmap

Submitter:  Alexander Wilms <alexanderw>
Submitted:  Sat 28 Apr 2018 07:45:59 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  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

Wed 05 Feb 2020 04:23:52 PM UTC, comment #8: 

I am working on this bug.
Bugs 57716 57712 and 53780 are all the same problem showing up differently.
The "fix"  used here for this bug, just fixed the symptoms not the root cause. My new fix will address the cause.

Doug Stewart <dastew>
Sun 06 May 2018 11:18:11 AM UTC, comment #7: 

This can be closed as fixed.

Doug Stewart <dastew>
Fri 04 May 2018 12:25:18 AM UTC, comment #6: 

I thought about that, but a system with just zeros is
very rarely if ever used.

But if you want to go that way, it is ok with me.

Doug Stewart <dastew>
Fri 04 May 2018 12:09:40 AM UTC, comment #5: 

Thanks. Should poles be treated the same way?

    if (isempty ( zer{:}))
       h = plot (pol_args{:});
    elseif  (isempty ( pol{:}))
       h = plot (zer_args{:});
    else
       h = plot (pol_args{:}, zer_args{:});
    endif

Right now, I get

>> pzmap(s)

error: plot: no data to plot
error: called from
    _plt_ at line 122 column 11
    plot at line 223 column 10
    pzmap at line 120 column 10

Alexander Wilms <alexanderw>
Thu 03 May 2018 11:46:40 PM UTC, comment #4: 
Doug Stewart <dastew>
Thu 03 May 2018 02:12:39 PM UTC, comment #3: 

I have a fix. I will push it shortly.


     ## If no zeroes then just plot the poles
    if (isempty ( zer{:}))
       h = plot (pol_args{:});
    else
       h = plot (pol_args{:}, zer_args{:});
    endif

Doug Stewart <dastew>
Wed 02 May 2018 08:49:54 PM UTC, comment #2: 

It only errors  when there are no zeros.
I am still looking.

Doug Stewart <dastew>
Sat 28 Apr 2018 08:41:52 PM UTC, comment #1: 

confirmed here

Doug Stewart <dastew>
Sat 28 Apr 2018 07:45:59 PM UTC, original submission:  

control package version: 3.1.0


>> pzmap(1/(2*s^2+3*s+4))
error: set: unknown line property o
error: __go_line__: unable to create graphics handle
error: called from
    __line__ at line 120 column 16
    line at line 58 column 8
    __plt__>__plt2vv__ at line 496 column 10
    __plt__>__plt2__ at line 242 column 14
    __plt__ at line 107 column 17
    plot at line 223 column 10
    pzmap at line 116 column 7
+++verbatim+++

I attached a png of the figure created by Matlab R2018a.

Alexander Wilms <alexanderw>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44056:  pzmap.png added by alexanderw (14KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-31 mtmiller StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2018-05-01 mtmiller StatusNone Confirmed
        Release4.3.92 dev
    2018-04-28 alexanderw Attached File- Added pzmap.png, #44056

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code