This is a file from the Wikimedia Commons

File:Root Locus diagram with three poles and one zero.svg

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Original file(SVG file, nominally 1,087 × 746 pixels, file size: 21 KB)

Summary

Description
English: Original work by Whiteknight to illustrate root-locus diagram in Wikibook "Control Systems". Edited Octave function file "rlocus.m" to make markers more visible
Date
Source http://en.wikibooks.org/wiki/File:RLocus_3poles_1zero.JPG
Author Whiteknight


This is a retouched picture, which means that it has been digitally altered from its original version. Modifications: Convert from bitmap to SVG. The original can be found here: http://en.wikibooks.org/wiki/File:RLocus_3poles_1zero.JPG.

Source Code

Here's the Octave script to generate this plot:

a=[0 0 1 2];
b=[1 5 8 6];
sys=tf(a,b);
rlocus(sys);
legend('location','northwest');
print('rlocus_octave.svg');

Here's my patch to the function file "rlocus.m" in octave-control package:

--- rlocus.m.bak	2011-10-02 09:16:56.042612714 +0800
+++ rlocus.m	2011-10-02 09:24:58.478585794 +0800
@@ -272,14 +272,14 @@
 
     set (gcf,"visible","off");
     hplt = plot (args{:});
-    set (hplt(kk--), "markersize", 2);
+    set (hplt(kk--), "markersize", 6);
     if (! isempty (rlzer))
-      set (hplt(kk--), "markersize", 2);
+      set (hplt(kk--), "markersize", 6);
     endif
     for ii = 1:rows(rlpol)
       set (hplt(kk--), "linewidth", 2);
     endfor
-    legend ("boxon", 2);
+    %legend ("boxon", 2);
     grid ("on");
     axis (axlim);
     xlabel (sprintf ("Root locus from %s to %s, gain=[%f,%f]: Real axis",

Licensing

w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

2 October 2011

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current01:41, 2 October 2011Thumbnail for version as of 01:41, 2 October 20111,087 × 746 (21 KB)Antonysigma

There are no pages that use this file.

Metadata