<?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: Graph Builder Problem with Lines in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/920836#M107967</link>
    <description>&lt;P&gt;This discussion has continued in&amp;nbsp;&lt;LI-MESSAGE title="Graph builder problem with lines, markers, and dots" uid="919984" url="https://community.jmp.com/t5/Discussions/Graph-builder-problem-with-lines-markers-and-dots/m-p/919984#U919984" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... leading to this "workaround" via preferences/Graph Builder settings :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// execute the code if you know what you are doing - changing the preferences is dangerous
Set Platform Preferences(
		Graph Builder(
			Overlay Auto Line Styles Limit( 1, &amp;lt;&amp;lt;On ),
			Overlay Auto Marker Styles Limit( 62, &amp;lt;&amp;lt;Off ));&lt;BR /&gt;);
//--------------------------------------------------		
			
Open( "$SAMPLE_DATA/Blood Pressure.jmp" );
Graph Builder(
	Size( 843, 698 ),
	Graph Spacing( 4 ),
	Variables( X( :BP 8W ), Y( :BP 8M ), Overlay( :Subject ), Color( :Dose ) ),
	Elements( Line( X, Y, Legend( 11 ) ), Points( X, Y, Legend( 12 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The idea:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Reduce the auto limit for &lt;STRONG&gt;line&lt;/STRONG&gt;&amp;nbsp;styles to 1 - to plot all lines as solid lines.&lt;/LI&gt;
&lt;LI&gt;However, keep the auto limit for &lt;STRONG&gt;markers&lt;/STRONG&gt; -&amp;nbsp; to get different markers for different overlay groups.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;use color to specify the color.&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The result:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;individual traces for each subject&lt;/LI&gt;
&lt;LI&gt;all lines are solid&lt;/LI&gt;
&lt;LI&gt;different markers for the different subjects&lt;/LI&gt;
&lt;LI&gt;color indicates: dose&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; &lt;U&gt;all&lt;/U&gt; the requirements combined into &lt;U&gt;&lt;STRONG&gt;one&lt;/STRONG&gt;&lt;/U&gt; plot.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The disadvantage: changed settings in the preferences (see&amp;nbsp;&lt;LI-MESSAGE title="Do you use the preferences?" uid="686348" url="https://community.jmp.com/t5/Discussions/Do-you-use-the-preferences/m-p/686348#U686348" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1766266939493.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89398i8C4933F75F822133/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1766266939493.png" alt="hogi_2-1766266939493.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Dec 2025 16:39:17 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2025-12-22T16:39:17Z</dc:date>
    <item>
      <title>Graph Builder Problem with Lines</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/919694#M107873</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;When I create a graph in graph builder with continuous data in the Y and the X axis, and use one categorical in the Overlay, I get continuous lines. But as soon as I put a second categorical in "Color," the lines change to dotted, etc even though the line style shows an uninterrupted line. This didn't use to happen and I don't know why it is happening. I had asked about this problem before and, unfortunately, the solutions didn't let work for my purpose.&lt;/P&gt;
&lt;P&gt;I am attaching a sample file from the JMP help index to which I saved the script for a couple of graphs that show what I mean.&lt;/P&gt;
&lt;P&gt;Any help with this issue is much appreciated!&lt;/P&gt;
&lt;P&gt;Barbara&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 20:47:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/919694#M107873</guid>
      <dc:creator>babn</dc:creator>
      <dc:date>2025-12-15T20:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Problem with Lines</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/919704#M107874</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/18110"&gt;@babn&lt;/a&gt;, if you right click on the Overlay section, then choose Overlay Encoding &amp;gt; Color, I think this will get you what you're looking for. This behavior was changed to allow for more ways to create advanced graphs.&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/6543"&gt;@scwise&lt;/a&gt;&amp;nbsp;did a great little overview of this &lt;A href="https://community.jmp.com/t5/Abstracts/Pictures-from-the-Gallery-9-Innovative-Graph-Builder-Views/ev-p/776026" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;at timestamp 18:30 - 22:00.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 21:04:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/919704#M107874</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2025-12-15T21:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Problem with Lines</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/919715#M107876</link>
      <description>&lt;P&gt;Hi Jed, the only problem with this solution is that it eliminates individual markers. With colors in the encoding, I get only dots. I can change them individually but that's seems quite cumbersome for larger data sets.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 22:24:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/919715#M107876</guid>
      <dc:creator>babn</dc:creator>
      <dc:date>2025-12-15T22:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Problem with Lines</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/919887#M107890</link>
      <description>&lt;P&gt;Would adding another set of points work for what you're trying to do? You can use the Variables section to change how the overlay is applied to the points all at once.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screencap.gif" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89046i36C56F95AE3BB5CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="screencap.gif" alt="screencap.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 16:10:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/919887#M107890</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2025-12-16T16:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Problem with Lines</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/919973#M107902</link>
      <description>&lt;P&gt;Thank you for the effort. Unfortunately, it doesn't solve my problem with the interrupted lines.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 22:25:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/919973#M107902</guid>
      <dc:creator>babn</dc:creator>
      <dc:date>2025-12-16T22:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Problem with Lines</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/920834#M107966</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/18110"&gt;@babn&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Jed, the only problem with this solution is that it eliminates individual markers. With colors in the encoding, I get only dots. I can change them individually but that's seems quite cumbersome for larger data sets.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;agree! it is possible to adjust the markers individually. but why is it necessary?&lt;BR /&gt;I am confident in a future version of JMP, there will be a&amp;nbsp;&amp;nbsp;&lt;LI-MESSAGE title="&amp;nbsp;Column Property: Value Markers" uid="565358" url="https://community.jmp.com/t5/JMP-Wish-List/new-Column-Property-Value-Markers/m-p/565358#U565358" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;... and a corresponding formalism in Graph Builder to use the setting.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 16:35:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/920834#M107966</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-22T16:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Problem with Lines</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/920836#M107967</link>
      <description>&lt;P&gt;This discussion has continued in&amp;nbsp;&lt;LI-MESSAGE title="Graph builder problem with lines, markers, and dots" uid="919984" url="https://community.jmp.com/t5/Discussions/Graph-builder-problem-with-lines-markers-and-dots/m-p/919984#U919984" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... leading to this "workaround" via preferences/Graph Builder settings :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// execute the code if you know what you are doing - changing the preferences is dangerous
Set Platform Preferences(
		Graph Builder(
			Overlay Auto Line Styles Limit( 1, &amp;lt;&amp;lt;On ),
			Overlay Auto Marker Styles Limit( 62, &amp;lt;&amp;lt;Off ));&lt;BR /&gt;);
//--------------------------------------------------		
			
Open( "$SAMPLE_DATA/Blood Pressure.jmp" );
Graph Builder(
	Size( 843, 698 ),
	Graph Spacing( 4 ),
	Variables( X( :BP 8W ), Y( :BP 8M ), Overlay( :Subject ), Color( :Dose ) ),
	Elements( Line( X, Y, Legend( 11 ) ), Points( X, Y, Legend( 12 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The idea:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Reduce the auto limit for &lt;STRONG&gt;line&lt;/STRONG&gt;&amp;nbsp;styles to 1 - to plot all lines as solid lines.&lt;/LI&gt;
&lt;LI&gt;However, keep the auto limit for &lt;STRONG&gt;markers&lt;/STRONG&gt; -&amp;nbsp; to get different markers for different overlay groups.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;use color to specify the color.&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The result:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;individual traces for each subject&lt;/LI&gt;
&lt;LI&gt;all lines are solid&lt;/LI&gt;
&lt;LI&gt;different markers for the different subjects&lt;/LI&gt;
&lt;LI&gt;color indicates: dose&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; &lt;U&gt;all&lt;/U&gt; the requirements combined into &lt;U&gt;&lt;STRONG&gt;one&lt;/STRONG&gt;&lt;/U&gt; plot.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The disadvantage: changed settings in the preferences (see&amp;nbsp;&lt;LI-MESSAGE title="Do you use the preferences?" uid="686348" url="https://community.jmp.com/t5/Discussions/Do-you-use-the-preferences/m-p/686348#U686348" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1766266939493.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89398i8C4933F75F822133/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1766266939493.png" alt="hogi_2-1766266939493.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 16:39:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/920836#M107967</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-22T16:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Problem with Lines</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/920882#M107969</link>
      <description>&lt;P&gt;Overlay can be used for different/distinct purposes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;1) to "group data" for smoother, line, bar and other plots&lt;/LI&gt;
&lt;LI&gt;2a) to control the style of lines&lt;/LI&gt;
&lt;LI&gt;2b) to control the style of markers&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;2c)&amp;nbsp;...&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This is great if you need one of these functions or multiple options '&lt;U&gt;synchronously&lt;/U&gt;'.&lt;BR /&gt;However, it is inconvenient when you need some of the functions in a non-synchronous way.&lt;/P&gt;
&lt;P&gt;An example:&lt;BR /&gt;How to&amp;nbsp;&lt;SPAN&gt;assign &lt;STRONG&gt;markers&lt;/STRONG&gt; for &lt;U&gt;categories which don't coincide with the Overlay groups?&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let's try to create a plot with the following settings [just a slight difference to the settings in the previous post]:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;individual traces for each subject&lt;/LI&gt;
&lt;LI&gt;different &lt;STRIKE&gt;markers&lt;/STRIKE&gt;&amp;nbsp;&lt;STRONG&gt;colors&lt;/STRONG&gt; for the different subjects (wrap is added to check: 1 subplot = 1 subject = 1 color?)&lt;/LI&gt;
&lt;LI&gt;&lt;STRIKE&gt;color&lt;/STRIKE&gt; &lt;STRONG&gt;marker&lt;/STRONG&gt; indicates: dose&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1766307953288.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89417i69A8433AAE20B698/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1766307953288.png" alt="hogi_0-1766307953288.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The graph looks simple enough, doesn't it? But it's extremely difficult to create in Graph Builder.&lt;BR /&gt;Give it a try and share your experience!&lt;/P&gt;
&lt;P&gt;Start with this script — all you need to do is adjust the markers (... and keep the colors as they are)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( "$SAMPLE_DATA/Blood Pressure.jmp" );
Graph Builder(
	Graph Spacing( 4 ),
	Variables(
		X( :BP 8W ),
		Y( :BP 8M ),
		Wrap( :Subject ),
		Overlay( :Subject, Overlay Encoding( "Color" ) ),
	),
	Elements(
		Line( X, Y),
		Points( X, Y )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;from:&amp;nbsp;&lt;LI-MESSAGE title="how to generate this graph in Graph Builder?" uid="909738" url="https://community.jmp.com/t5/Discussions/how-to-generate-this-graph-in-Graph-Builder/m-p/909738#U909738" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 20:47:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/920882#M107969</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-22T20:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Builder Problem with Lines</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/920927#M107972</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;The disadvantage: changed settings in the preferences (see&amp;nbsp;&lt;LI-MESSAGE title="Do you use the preferences?" uid="686348" url="https://community.jmp.com/t5/Discussions/Do-you-use-the-preferences/m-p/686348#U686348" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;)&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fortunately, there is no need to change the settings in the preferences.&lt;BR /&gt;Much better: save the&amp;nbsp;&lt;CODE class=" language-jsl"&gt;Overlay Auto Line Styles Limit&lt;/CODE&gt; &lt;STRONG&gt;with the plot:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( "$SAMPLE_DATA/Blood Pressure.jmp" );
Graph Builder(
	Variables( X( :BP 8W ), Y( :BP 8M ), Overlay( :Subject ), Color( :Dose ) ),
	Elements( Line( X, Y ), Points( X, Y) )
);

// all lines: -&amp;gt; solid!
 
 gb = (current report() &amp;lt;&amp;lt; XPath("//OutlineBox[@helpKey = 'Graph Builder']")) &amp;lt;&amp;lt; get scriptable object ;
 gb &amp;lt;&amp;lt; Overlay Auto Line Styles Limit( 1 )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 20:33:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-Builder-Problem-with-Lines/m-p/920927#M107972</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-12-22T20:33:06Z</dc:date>
    </item>
  </channel>
</rss>

