.Modelica_LinearSystems2.WorkInProgress.plotEigenvalues

Information

Calculate eigenvalues of matrix A and plot root locus

Interface

function plotEigenvalues
  import Modelica_LinearSystems2.WorkInProgress.RootLocusOld.Types.MarkerStyles;
  input Real A[:, size(A, 1)] = [2, 1, 1; 1, 1, 1; 1, 2, 2] "Square matrix";
  input Boolean removePrevious = true "True, if all previous plots should be deleted" annotation(
    Dialog(group = "Plot settings"));
  input Integer position[4] = {5, 5, 600, 450} "Window Position" annotation(
    Dialog(group = "Plot settings"));
  input String heading = "Root locii" "Heading of plot" annotation(
    Dialog(group = "Plot settings"));
  input Boolean useLegend = true "Use legend" annotation(
    Dialog(group = "Plot settings"));
  input String legend = "Eigenvalues" "Legend of plot" annotation(
    Dialog(group = "Plot settings", enable = useLegend));
  input Boolean grid = false "Add grid" annotation(
    Dialog(group = "Plot settings"));
  input MarkerStyles markerStyle = MarkerStyles.Cross "Style of marker" annotation(
    Dialog(group = "Plot settings"));
  input Integer markerColor[3] = {0, 0, 255} "Color of marker" annotation(
    Dialog(group = "Plot settings", colorSelector = true));
  output Real eigenvalues[size(A, 1), 2] "Eigenvalues of matrix A (Re: first column, Im: second column)";
end plotEigenvalues;

Generated at 2020-02-20T02:37:17Z by OpenModelicaOpenModelica 1.16.0~dev-189-gf9a0b48 using GenerateDoc.mos