bugGNU Octave - Bugs: bug #58106, xlim() on Bode Plot only Applied...

 
 

bug #58106: xlim() on Bode Plot only Applied on the Phase Plot

Submitter:  None
Submitted:  Fri 03 Apr 2020 04:29:48 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Andy Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 5.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 03 Apr 2020 06:33:48 AM UTC, comment #1: 

This is merely a question for the help list. Please try

xlim (subplot(2,1,1), [xlow, xhigh])
xlim (subplot(2,1,2), [xlow, xhigh])

or

bode (sys, W)

where w is an optional vector of frequency values.  If W is not specified, it is calculated by the zeros and poles of the system. Alternatively, the cell '{wmin, wmax}' specifies a frequency range, where WMIN and WMAX denote minimum and maximum frequencies in rad/s.

Torsten Lilge <ttl>
Group Member
Fri 03 Apr 2020 04:29:48 AM UTC, original submission:  

The bode plot always has two plot, the mag plot and phase plot. My script was like:

margin(sys)
xlim([xlow xhigh])

I want to show a specific x-range for the bode plot, but the xlim was only applied on the lower phase plot.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #48746:  wrong_bode_xlim.jpg added by None (92KiB - image/jpeg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by None (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-03 rik5 StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2020-04-03 None Attached File- Added wrong_bode_xlim.jpg, #48746

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code