<?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 overlay plot customize color in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49985#M28436</link>
    <description>&lt;P&gt;I use overlay plot often to plot the change overtime. Usually I customize the color and line style of each variable (see attached). However, when I add more variables to the plot by&amp;nbsp;"relaunch analysis" command, all the cusotmization is gone and I have to redo everything--which could be a pain if I have many variables. Is there a way to save the customization, and when I relaunch analysis, I just have to recustomize the newly added variables? Thank you a million!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2018 22:15:19 GMT</pubDate>
    <dc:creator>xiaoyaj0</dc:creator>
    <dc:date>2018-01-22T22:15:19Z</dc:date>
    <item>
      <title>overlay plot customize color</title>
      <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49985#M28436</link>
      <description>&lt;P&gt;I use overlay plot often to plot the change overtime. Usually I customize the color and line style of each variable (see attached). However, when I add more variables to the plot by&amp;nbsp;"relaunch analysis" command, all the cusotmization is gone and I have to redo everything--which could be a pain if I have many variables. Is there a way to save the customization, and when I relaunch analysis, I just have to recustomize the newly added variables? Thank you a million!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 22:15:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49985#M28436</guid>
      <dc:creator>xiaoyaj0</dc:creator>
      <dc:date>2018-01-22T22:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: overlay plot customize color</title>
      <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49988#M28437</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/6903"&gt;@xiaoyaj0&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;If you save the script and launch from there, it should retain the line and point customization you did previously, and assign default values to the new levels that you added.&lt;/P&gt;&lt;P&gt;For example, I have my overlay variable :Group with 3 levels (A, B, C).&amp;nbsp; The plot looks like this:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Graph1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/9002i866DA7B441CB59B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Graph1.PNG" alt="Graph1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I save the script to my data table.&lt;/P&gt;&lt;P&gt;Now, I add a fourth level to :Group, "D".&amp;nbsp; Of course, this resets everything in Graph Builder I have currently as you describe.&amp;nbsp; However, if I run the script, I get my prior customization, plus a solid purple line for the new group "D".&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Graph2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/9003iA79AA9843D1394E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Graph2.PNG" alt="Graph2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 22:55:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49988#M28437</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-01-22T22:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: overlay plot customize color</title>
      <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49989#M28438</link>
      <description>&lt;P&gt;My reply got posted repeatedly.&amp;nbsp; I just deleted the content here in the second one.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 22:56:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49989#M28438</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-01-22T22:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: overlay plot customize color</title>
      <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49991#M28440</link>
      <description>&lt;P&gt;Hi, thank you for replying me. This sounds fascinating. However, I am still a bit lost--how did you go from having the colors reset to getting your prior customization? Did you add one more level without relaunching the script? I had my first customization saved as script to the data table as well, but when I had to add one more level, I had to relaunch script and that is when the prior customization was lost.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if I missed something! Looking forward to hearing from you!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 23:22:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49991#M28440</guid>
      <dc:creator>xiaoyaj0</dc:creator>
      <dc:date>2018-01-22T23:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: overlay plot customize color</title>
      <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49994#M28442</link>
      <description>&lt;P&gt;What I'm suggesting is that instead of relaunching the analysis, save what you have as a script.&amp;nbsp; When your data is updated, run your script to pick up where you left off last.&amp;nbsp; Graph Builder is one of the platforms that dynamically updates in response to data table changes, so there's really no need to relaunch the analysis anyway from what I can see.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 23:58:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49994#M28442</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-01-22T23:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: overlay plot customize color</title>
      <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49996#M28444</link>
      <description>&lt;P&gt;I see what you mean now. But mine is a different situation. Mine was not a new level to the same variable, but a new variable( in this case it was a new university to the university enrollment vs. year overlay plot). Do you know if there is a way&amp;nbsp; I can save the customization? Thank you a million!&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/8582"&gt;@cwillden&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;What I'm suggesting is that instead of relaunching the analysis, save what you have as a script.&amp;nbsp; When your data is updated, run your script to pick up where you left off last.&amp;nbsp; Graph Builder is one of the platforms that dynamically updates in response to data table changes, so there's really no need to relaunch the analysis anyway from what I can see.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 00:13:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49996#M28444</guid>
      <dc:creator>xiaoyaj0</dc:creator>
      <dc:date>2018-01-23T00:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: overlay plot customize color</title>
      <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49998#M28446</link>
      <description>&lt;P&gt;Oh, sorry.&amp;nbsp; I was off in Graph Builder land while you were using the Overlay Plot platform.&amp;nbsp; Whoops!&lt;/P&gt;&lt;P&gt;Same general principle applies, however.&amp;nbsp; After you save your script, edit the script to include the additional variable.&lt;/P&gt;&lt;P&gt;For example, if I start with 3 response variables Y1, Y2, and Y3 and totally customize my chart, I could get the following script:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Overlay Plot(
	X( :X ),
	Y( :Y1, :Y2, :Y3 ),
	Function Plot( 1 ),
	:Y1(
		Connect Color( 35 ),
		Overlay Marker Color( 35 ),
		Overlay Marker( 8 ),
		Line Width( "Thin" )
	),
	:Y2(
		Connect Color( 68 ),
		Overlay Marker Color( 68 ),
		Overlay Marker( 1 ),
		Line Style( 2 ),
		Line Width( "Thin" )
	),
	:Y3(
		Connect Color( 37 ),
		Overlay Marker Color( 37 ),
		Line Style( 1 ),
		Line Width( "Thin" )
	),
	SendToReport(
		Dispatch(
			{},
			"Overlay Plot Graph",
			FrameBox,
			{DispatchSeg( Marker Seg( 1 ), {Color( "Medium Light Red" )} ),
			DispatchSeg( Marker Seg( 2 ), {Color( "Light Green" )} ),
			DispatchSeg( Marker Seg( 3 ), {Color( "Medium Light Blue" )} ),
			DispatchSeg(
				CustomStreamSeg( 1 ),
				{Line Color( "Medium Dark Red" ), Line Style( "Dotted" )}
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now, let's say I have a new response Y4.&amp;nbsp; I can just edit 1 line in the script&amp;nbsp;to add this variable:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Y( :Y1, :Y2, :Y3, :Y4 ),&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now, I get the same plot with my customizations for the Y1 through Y3, but I also have my new column as an additional line on the overlay plot.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 00:31:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/49998#M28446</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-01-23T00:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: overlay plot customize color</title>
      <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/50003#M28451</link>
      <description>&lt;P&gt;WOW, that is amazing！I just tried it and got exactly the same effect as you just described! Thank you so very much! I can see how easy manipulation of the script could help so much with everything, esp. when I need repeated processes. Could you recommend some resources where I could learn some easy scripting? To be honest, I never did any scripting; up to now, I have only used the point click around JMP. Thank you a million!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 01:15:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/50003#M28451</guid>
      <dc:creator>xiaoyaj0</dc:creator>
      <dc:date>2018-01-23T01:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: overlay plot customize color</title>
      <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/50010#M28457</link>
      <description>&lt;P&gt;I started with Jump into JMP Scripting by Wendy Murphrey and Rosemary Lucas.&amp;nbsp; Excellent book, but JSL has evolved quite a bit since that book was published.&amp;nbsp; The book will at least get you to the point where you have a feel for the language.&amp;nbsp; After that, I used the Scripting Guide from the Help menu (Help &amp;gt; Books &amp;gt; Scripting Guide).&amp;nbsp; That is an incredible resource, as well as the Scripting Index in the Help menu.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 02:10:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/50010#M28457</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-01-23T02:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: overlay plot customize color</title>
      <link>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/50012#M28459</link>
      <description>&lt;P&gt;Thank you! I will check them out!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 02:49:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/overlay-plot-customize-color/m-p/50012#M28459</guid>
      <dc:creator>xiaoyaj0</dc:creator>
      <dc:date>2018-01-23T02:49:14Z</dc:date>
    </item>
  </channel>
</rss>

