<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Plot two transfer function in one plot in Mathcad</title>
    <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877602#M206819</link>
    <description>&lt;P&gt;You forgot to &lt;STRONG&gt;vectorize&lt;/STRONG&gt; the function calls at the y-axis!!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1685038265006.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/82675i297DDA5151EAED82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_0-1685038265006.png" alt="Werner_E_0-1685038265006.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1685038274654.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/82676i9F34D6C68499753F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_1-1685038274654.png" alt="Werner_E_1-1685038274654.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2023 18:11:35 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2023-05-25T18:11:35Z</dc:date>
    <item>
      <title>Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877383#M206805</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am having few issue with plotting transfer function:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Bode plot&lt;OL&gt;&lt;LI&gt;How to make line more obvious in the low frequency area?&lt;/LI&gt;&lt;LI&gt;How to get ride of #4 zone of the plot, it doesn't have any&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;I cannot plot phase plot, and i don't know why, please.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-05-24 220326.jpg" style="width: 755px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/82625i17EBDB921B38B91F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-05-24 220326.jpg" alt="2023-05-24 220326.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attached is what i have done.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 05:08:24 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877383#M206805</guid>
      <dc:creator>Mirui</dc:creator>
      <dc:date>2023-05-25T05:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877479#M206808</link>
      <description>&lt;P&gt;The "error message" under the phase plot provides a potential clue!&amp;nbsp; Try " Re(H(w*1j)) "&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 11:59:04 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877479#M206808</guid>
      <dc:creator>Fred_Kohlhepp</dc:creator>
      <dc:date>2023-05-25T11:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877500#M206811</link>
      <description>&lt;P&gt;omega is a range, not a vector and so you get into troubles when you use omega as argument in your function H.&lt;/P&gt;
&lt;P&gt;H(omega*1j)= will display what looks like a vector (but isn't) and trying to assign it a variable like X:=H(omega*1j) would throw an error.&lt;/P&gt;
&lt;P&gt;One way to deal with the problem would be to turn omega into a vector.&lt;/P&gt;
&lt;P&gt;But I was surprised to see that just applying vectorization does the job as well:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1685019524274.png" style="width: 618px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/82648i01365C9889C2E0C0/image-dimensions/618x405?v=v2" width="618" height="405" role="button" title="Werner_E_0-1685019524274.png" alt="Werner_E_0-1685019524274.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Vectorization (the arrow over the expression) can be applied via its keyboard short or via the menu&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1685019771217.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/82649i956DFA465866D886/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_1-1685019771217.png" alt="Werner_E_1-1685019771217.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: Actually it is a strange error as IMHO it SHOULD work the way you had tried to do.&lt;/P&gt;
&lt;P&gt;EDIT2: Actually it indeed does work the way you had set it up.&amp;nbsp; As I noticed later (see my answer below) simply recalculating the sheet makes the error vanish.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 16:51:15 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877500#M206811</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-05-25T16:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877560#M206813</link>
      <description>&lt;P&gt;According the visibility of the traces in your first plot:&lt;/P&gt;
&lt;P&gt;Prime only plots tiny points without connecting them if the trace consists of 50000 or more points which is the case in your plot. The settings for Symbol, Line Style and Trace Thickness are ignored, only the color can be changed. Using your range variable each trace consists of 200001 points.&lt;/P&gt;
&lt;P&gt;One way to deal with is to decrease the number of points to be plotted by using a larger step in the range&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1685025912850.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/82667i125CF760F06D66B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_3-1685025912850.png" alt="Werner_E_3-1685025912850.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But as you have a logarithmically scaled abscissa, it would be a better idea to evenly space the omega values at the log x-axis. This can't be done using a range variable, but this is exactly what the functions "logpts()" and "logspace()" are made for.&lt;BR /&gt;As they create a vector and not a range, you should use vectorization when you use omega as function argument.&lt;/P&gt;
&lt;P&gt;Here just 1000 points are used for plotting each trace:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_4-1685026482806.png" style="width: 623px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/82668iA76A7E09CE291559/image-dimensions/623x293?v=v2" width="623" height="293" role="button" title="Werner_E_4-1685026482806.png" alt="Werner_E_4-1685026482806.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Using a vector for omega and using vectorization when you use it also cures the problem with the "arg" function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Prime 9 file attached&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 15:05:48 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877560#M206813</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-05-25T15:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877586#M206814</link>
      <description>&lt;P&gt;This morning i copied a phase plot from other documents and it starts to work! this is wield!&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 16:35:19 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877586#M206814</guid>
      <dc:creator>Mirui</dc:creator>
      <dc:date>2023-05-25T16:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877587#M206815</link>
      <description>&lt;P&gt;Thanks, the 1,22,...10^6 trick worked! But last method didn't, on my side it didn't give me any error, but there is no line anymore in graph area.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 16:40:12 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877587#M206815</guid>
      <dc:creator>Mirui</dc:creator>
      <dc:date>2023-05-25T16:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877589#M206816</link>
      <description>&lt;P&gt;Strange, yes.&lt;/P&gt;
&lt;P&gt;I just gave it a try, opened your original sheet (which shows the error) in Prime 9 and simply, without changing anything, let it recalculate - the plot showed up without any error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But using log spaced values for omega and vectorization as shown is the better approach anyway.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 16:48:27 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877589#M206816</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-05-25T16:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877594#M206817</link>
      <description>&lt;P&gt;You will have to post the sheet so we could see what did not work and why.&lt;/P&gt;
&lt;P&gt;Did you experience that "empty" plot right after opening my sheet?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using logspace definitely is the better approach as (even though it works) its not a good idea to set up about half a million points for each trace to compute.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 16:55:23 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877594#M206817</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-05-25T16:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877599#M206818</link>
      <description>&lt;P&gt;Here is my sheet.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 18:00:51 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877599#M206818</guid>
      <dc:creator>Mirui</dc:creator>
      <dc:date>2023-05-25T18:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877602#M206819</link>
      <description>&lt;P&gt;You forgot to &lt;STRONG&gt;vectorize&lt;/STRONG&gt; the function calls at the y-axis!!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1685038265006.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/82675i297DDA5151EAED82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_0-1685038265006.png" alt="Werner_E_0-1685038265006.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1685038274654.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/82676i9F34D6C68499753F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_1-1685038274654.png" alt="Werner_E_1-1685038274654.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 18:11:35 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/877602#M206819</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-05-25T18:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/1052731#M220380</link>
      <description>&lt;P&gt;Hi Wernner,&lt;/P&gt;&lt;P&gt;Is it possible to update the Mathcad sheet with units attached to all the electrical parameters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jacob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JS_14451010_0-1769630195411.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/134014iAC2154AA3B182B07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JS_14451010_0-1769630195411.png" alt="JS_14451010_0-1769630195411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 19:56:55 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/1052731#M220380</guid>
      <dc:creator>JS_14451010</dc:creator>
      <dc:date>2026-01-28T19:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/1052732#M220381</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/1046940"&gt;@JS_14451010&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Wernner,&lt;/P&gt;
&lt;P&gt;Is it possible to update the Mathcad sheet with units attached to all the electrical parameters&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jacob&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JS_14451010_0-1769630195411.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/134014iAC2154AA3B182B07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JS_14451010_0-1769630195411.png" alt="JS_14451010_0-1769630195411.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I have no idea what I did here nearly three years ago &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I guess it sure should be possible to use proper units throughout. After all that's a strength of Prime and should be done whenever possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest that you give it a try yourself and if you experience problems, open a new thread, explain your problem, attach the worksheet and also mention which version of Prime you are using.&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 20:08:11 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/1052732#M220381</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2026-01-28T20:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/1052737#M220382</link>
      <description>&lt;P&gt;Werner,&lt;/P&gt;&lt;P&gt;Will do&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;jacob&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 20:26:44 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/1052737#M220382</guid>
      <dc:creator>JS_14451010</dc:creator>
      <dc:date>2026-01-28T20:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Plot two transfer function in one plot</title>
      <link>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/1052738#M220383</link>
      <description>&lt;P&gt;As complex variable s is of unit 1/sec you have to add units to H(s) and G(s) in such a way so that their result is dimensionless. This usually would mean to replace the constant 1 by 1 V.&lt;/P&gt;
&lt;P&gt;And if you are looking for unit mΩ to define R:=48 mΩ you will see that&amp;nbsp;mΩ is not a predefined unit in Prime and you will have to define it yourself or use R:=0,048&amp;nbsp;Ω.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 20:28:18 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Plot-two-transfer-function-in-one-plot/m-p/1052738#M220383</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2026-01-28T20:28:18Z</dc:date>
    </item>
  </channel>
</rss>

