<?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 line has missing segments in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1024214#M217847</link>
    <description>&lt;P&gt;What Prime is doing is mathematically correct - a vertical line can never be the graph of a function. A step means that there is nothing inbetween.&lt;/P&gt;
&lt;P&gt;But I understand that you are used to see that vertical line segment.&lt;/P&gt;
&lt;P&gt;Solution is to use a vector for the abscissa values instead of a range. In Prime 11 you can use the convenient "vec" function to convert a range into a vector.&lt;/P&gt;
&lt;P&gt;Using the vectors solves your problem.&lt;/P&gt;
&lt;P&gt;It depends on the way the functions V and V2 are defined if vectorization when calling them with a vector argument is mandatory. In your case it would not be necessary as Prime would apply automatic implicit vectorization, but I consider it good style to explicitly apply vectorization.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1752160321823.png" style="width: 553px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125456iEAE04D6042EBA9D2/image-dimensions/553x316?v=v2" width="553" height="316" role="button" title="Werner_E_0-1752160321823.png" alt="Werner_E_0-1752160321823.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1752160334906.png" style="width: 534px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125457i8DA3798643CF1C74/image-dimensions/534x287?v=v2" width="534" height="287" role="button" title="Werner_E_1-1752160334906.png" alt="Werner_E_1-1752160334906.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jul 2025 15:13:34 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2025-07-10T15:13:34Z</dc:date>
    <item>
      <title>Plot line has missing segments</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1024168#M217837</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an issue with plotting a function on Mathcad Prime 11. For some reason there are missing segments in the plots of my shear-force diagrams. I'm not sure why this is happening, other plots I have made seem to work fine - any guidance would be much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The plots and respective functions are on pages 9 and 17 of the attached document. Thanks in advance&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="LH_13783026_0-1752149373039.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125442i0F37F61FC96D31F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LH_13783026_0-1752149373039.png" alt="LH_13783026_0-1752149373039.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 12:13:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1024168#M217837</guid>
      <dc:creator>LH_13783026</dc:creator>
      <dc:date>2025-07-10T12:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Plot line has missing segments</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1024171#M217838</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Include the two points of legs in the vector of x2.&amp;nbsp; In the following worksheet have done this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 850px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125443i32A6D146C2E1D088/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 12:31:50 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1024171#M217838</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2025-07-10T12:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Plot line has missing segments</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1024214#M217847</link>
      <description>&lt;P&gt;What Prime is doing is mathematically correct - a vertical line can never be the graph of a function. A step means that there is nothing inbetween.&lt;/P&gt;
&lt;P&gt;But I understand that you are used to see that vertical line segment.&lt;/P&gt;
&lt;P&gt;Solution is to use a vector for the abscissa values instead of a range. In Prime 11 you can use the convenient "vec" function to convert a range into a vector.&lt;/P&gt;
&lt;P&gt;Using the vectors solves your problem.&lt;/P&gt;
&lt;P&gt;It depends on the way the functions V and V2 are defined if vectorization when calling them with a vector argument is mandatory. In your case it would not be necessary as Prime would apply automatic implicit vectorization, but I consider it good style to explicitly apply vectorization.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1752160321823.png" style="width: 553px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125456iEAE04D6042EBA9D2/image-dimensions/553x316?v=v2" width="553" height="316" role="button" title="Werner_E_0-1752160321823.png" alt="Werner_E_0-1752160321823.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1752160334906.png" style="width: 534px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125457i8DA3798643CF1C74/image-dimensions/534x287?v=v2" width="534" height="287" role="button" title="Werner_E_1-1752160334906.png" alt="Werner_E_1-1752160334906.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 15:13:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1024214#M217847</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-07-10T15:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Plot line has missing segments</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1025201#M217969</link>
      <description>&lt;P&gt;Hi Terry,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response, I now realise that the increments I had used for x and x2 were too large, effectively skipping the points where those loads were applied.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;LH&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 09:26:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1025201#M217969</guid>
      <dc:creator>LH_13783026</dc:creator>
      <dc:date>2025-07-17T09:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Plot line has missing segments</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1025204#M217970</link>
      <description>&lt;P&gt;An interesting solution. I'll have to give this a try, seems like a nice clean way of handling this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;LH&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 09:27:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1025204#M217970</guid>
      <dc:creator>LH_13783026</dc:creator>
      <dc:date>2025-07-17T09:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Plot line has missing segments</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1025288#M217974</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/978572"&gt;@LH_13783026&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;An interesting solution. I'll have to give this a try, seems like a nice clean way of handling this issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks&lt;/P&gt;
&lt;P&gt;LH&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes.&lt;/P&gt;
&lt;P&gt;Actually Terry also used vectors instead of ranges in his solution. I just wanted to show that its not necessary at all to add the two special values.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 14:55:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Plot-line-has-missing-segments/m-p/1025288#M217974</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-07-17T14:55:48Z</dc:date>
    </item>
  </channel>
</rss>

