11-13-2013 04:14 AM
11-13-2013 08:35 AM
In my opinion, the easiest way to do this is to bring the 'model' to the outside of Mathscript node and use LabVIEW 'cursors' or plots to modify the graph. Here is an example on how to do this:
C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Control Design\Mathscript\CDEx Loop Transfer Recovery for Satellite Attitude.vi
Notice that it overlaps Gain and Phase Margins with a common bode plot. You can easily create a plot that has a horizontal and a vertical line. This example, although design to work with Nyquist Graph, has the code to create lines and control cursors.
C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Control Design\Frequency Analysis\CDEx Nichols Analysis.vi
Hopefully this helps.