<?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: Changing the names in legend of plot in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41187#M24019</link>
    <description>&lt;P&gt;Thanks for providing the larger table. To keep the A and B lines separate, use the Overlay role. Here's a script.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="linepointsoverlay.png" style="width: 643px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6597i593BF298E4420531/image-size/large?v=v2&amp;amp;px=999" role="button" title="linepointsoverlay.png" alt="linepointsoverlay.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables( X( :Column 1 ), Y( :Pressure ), Overlay( :Chamber )),
	Elements( Points( X, Y, Legend( 7 ) ), Line( X, Y, Legend( 8 ) ) )
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 26 Jun 2017 13:22:22 GMT</pubDate>
    <dc:creator>XanGregg</dc:creator>
    <dc:date>2017-06-26T13:22:22Z</dc:date>
    <item>
      <title>Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/13488#M12699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have 6 variables: &lt;SPAN style="font-family: Courier New;"&gt;Step1&lt;/SPAN&gt;=12, &lt;SPAN style="font-family: Courier New;"&gt;Step2=13, &lt;SPAN style="font-family: Courier New;"&gt;Step3=10, A=500, B=900, C=1300.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and I'm ploting col "x" vs first three variables ,that are names of columns, like below; but I want to change the name of them to variables A, B, and C in the legend of plot. (see pic). how can I do that? how can I change &lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #000080; font-family: Courier New; text-decoration: underline;"&gt;&lt;SPAN style="color: #000080; font-family: Courier New; text-decoration: underline;"&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New; text-decoration: underline;"&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New; text-decoration: underline;"&gt;Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #800080; font-family: Courier New; text-decoration: underline;"&gt;&lt;SPAN style="color: #800080; font-family: Courier New; text-decoration: underline;"&gt;"12"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt;to show 500 (the value of A) instead of 12?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;&lt;STRONG style="font-family: Courier New;"&gt;Thanks&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt;t &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New;"&gt;current data table&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;()&lt;/STRONG&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overlay Plot&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt; X&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt;x &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;Y&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New;"&gt;Column&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; dt&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New;"&gt;Char&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt;Step1&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New;"&gt;Column&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; dt&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New;"&gt;Char&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt;Step2&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New;"&gt;Column&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; dt&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New;"&gt;Char&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt;Step3&lt;STRONG&gt;))&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;Connect Points&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-family: Courier New;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #000080; font-family: Courier New; text-decoration: underline;"&gt;&lt;SPAN style="color: #000080; font-family: Courier New; text-decoration: underline;"&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #000080; font-family: Courier New; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New; text-decoration: underline;"&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New; text-decoration: underline;"&gt;Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #800080; font-family: Courier New; text-decoration: underline;"&gt;&lt;SPAN style="color: #800080; font-family: Courier New; text-decoration: underline;"&gt;"12"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;)(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; text-decoration: underline;"&gt;Connect Color&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #008080; font-family: Courier New;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; Overlay Marker Color&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-family: Courier New;"&gt;3&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;Overlay Marker&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-family: Courier New;"&gt;12&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; Line Width&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-family: Courier New;"&gt;"Thin"&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: Courier New; text-decoration: underline;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New; text-decoration: underline;"&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New; text-decoration: underline;"&gt;Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #800080; font-family: Courier New; text-decoration: underline;"&gt;&lt;SPAN style="color: #800080; font-family: Courier New; text-decoration: underline;"&gt;"13"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="font-family: Courier New;"&gt;)(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; text-decoration: underline;"&gt;Connect Color&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-family: Courier New;"&gt;0&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; Overlay Marker Color&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-family: Courier New;"&gt;0&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;Overlay Marker&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-family: Courier New;"&gt;16&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; Line Width&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-family: Courier New;"&gt;"Thin"&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #000080; font-family: Courier New; text-decoration: underline;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New; text-decoration: underline;"&gt;&lt;SPAN style="color: #0000dd; font-family: Courier New; text-decoration: underline;"&gt;Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-family: Courier New; text-decoration: underline;"&gt;&lt;SPAN style="color: #800080; font-family: Courier New; text-decoration: underline;"&gt;"10"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt;)(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline; font-family: Courier New;"&gt;&lt;STRONG&gt;Connect&lt;/STRONG&gt; Color&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-family: Courier New;"&gt;20&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; Overlay Marker Color&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-family: Courier New;"&gt;20&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;Overlay Marker&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-family: Courier New;"&gt;15&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; Line Width&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-family: Courier New;"&gt;"Thin"&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New;"&gt; &lt;STRONG&gt;)));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New;"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9251_Capture.PNG" style="width: 590px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1846iB8573A6EF8696B13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9251_Capture.PNG" alt="9251_Capture.PNG" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 23:57:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/13488#M12699</guid>
      <dc:creator>razmah</dc:creator>
      <dc:date>2016-10-18T23:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41063#M23950</link>
      <description>&lt;P&gt;I have the same Problem. Is there is no solution for the above mentioned Problem?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 11:42:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41063#M23950</guid>
      <dc:creator>sibanibisoyi</dc:creator>
      <dc:date>2017-06-22T11:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41083#M23965</link>
      <description>I'm not exactly sure what the question is. Is it a scripting question or a UI question? Is it specific to Overlay Plot or to legends in general? Graph Builder is recommended instead of Overlay Plot these days and has a more flexible legend, among other things.</description>
      <pubDate>Thu, 22 Jun 2017 20:26:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41083#M23965</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2017-06-22T20:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41085#M23966</link>
      <description>&lt;P&gt;To me it's not fully clear how the data table looks like which is mentioned above. If we could have an example table it should be not that hard.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:35:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41085#M23966</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2017-06-22T20:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41170#M24005</link>
      <description>&lt;P&gt;I am using Overplay plot because i need points with line, which I couldn't find in the Graph Builder.&lt;/P&gt;&lt;P&gt;This question is specific to the Overplay plot.&lt;/P&gt;&lt;P&gt;I want to change the legend name Chamber=a to A and Chamber=b to B. Since, I have lot of similar graphs I want to do the changes in the graph and not in the data table column names.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 09:01:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41170#M24005</guid>
      <dc:creator>sibanibisoyi</dc:creator>
      <dc:date>2017-06-26T09:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41172#M24007</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
Overlay Plot(
	X( :Column 1 ),
	Y( :Pressure ),
	Grouping( :Chamber ),
	Overlay Groups,
	Connect Points( 1 )
);

Overlay Plot(
	X( :Column 1 ),
	Y( :Pressure ),
	Grouping(
		Transform Column(
			"Chamber_UC",
			Character,
			Nominal,
			Formula( Uppercase( :Chamber ) )
		)
	),
	Overlay Groups
);

Graph Builder(
	Size( 522, 450 ),
	Show Control Panel( 0 ),
	Graph Spacing( 10 ),
	Variables( X( :Column 1 ), Y( :Pressure ), Overlay( :Chamber ) ),
	Elements( Points( X, Y, Legend( 5 ) ), Smoother( X, Y, Legend( 6 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model( 6, Level Name( 0, "A" ), Level Name( 1, "B" ) )}
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you use this Script with your data table you will get three graphs:&lt;/P&gt;
&lt;P&gt;First is your Overlay Plot as it is.&lt;/P&gt;
&lt;P&gt;Second is an Overlay Plot with a local transformed variable created in the Overlay Plot Menu Window by right click on Chamber in the variable selection area, then using "formula", then click in the Formula Editor&amp;nbsp;on "Chamber" and then "Character"-&amp;gt;"Uppercase". This newly build (and not present in the data table) variable can be used as Group variable (may you have to change the Appearance using the red triangle options to avoid two plots.&lt;/P&gt;
&lt;P&gt;Third is the easiest one as Xan proposed already. It is build with Graph Builder. You need to place "Column 1" on "X" and "Pressure" on "Y", then "Chamber" on "Overlay". Next you doubleclick on the legend and change the names by doubleclick on "a" and "b" in the now opened window and change it to Uppercase. In case you cannot see both lines and points you need to either drag the missing icon into the graph or hold the shift key and klick on the missing icon on top of the graph.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, you should now get to your result, either by script or manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Martin&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 09:36:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41172#M24007</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2017-06-26T09:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41173#M24008</link>
      <description>&lt;P&gt;Hallo Martin,&lt;/P&gt;&lt;P&gt;Thanks for your reply. But it doesn't solve my Problem.&lt;/P&gt;&lt;P&gt;1 and 2 point) are basically changing the column name (which I don't want). I need to change the variable name inside the columns itself.&lt;/P&gt;&lt;P&gt;3) I know how to change the legends in Graph Builder.But as mentioned that I need to use Overlay Plot because I need connecting lines between the Points which is not possible in Graph Builder (as far as I know).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please tell me is it possible to change the variable names inside the column using Overlay plot or JMP doesn't allow this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Sibani&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 09:49:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41173#M24008</guid>
      <dc:creator>sibanibisoyi</dc:creator>
      <dc:date>2017-06-26T09:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41174#M24009</link>
      <description>&lt;P&gt;In principle if I know how can i use the following command (found in Scripting book)&lt;/P&gt;&lt;P&gt;''Labeled(Row State())=1; // labels current row&lt;/P&gt;&lt;P&gt;it might help me.&lt;/P&gt;&lt;P&gt;But I am not sure.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 09:55:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41174#M24009</guid>
      <dc:creator>sibanibisoyi</dc:creator>
      <dc:date>2017-06-26T09:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41175#M24010</link>
      <description>&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-dpNXFwYjE6XYOOcCDUM_hRISxg26jogww400h300r697" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6064700785001" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-dpNXFwYjE6XYOOcCDUM_hRISxg26jogww400h300r697');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/dpNXFwYjE6XYOOcCDUM_hRISxg26jogw"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;Hmm, this is what I've done with Graph Builder, it has lines and points. Am I missing something?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 10:05:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41175#M24010</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2017-06-26T10:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41176#M24011</link>
      <description>&lt;P&gt;Btw, double click on the legend in Overlay Plot does also open the legend window and I can change the entries. What version of JMP are you using? This all should be available in JMP 12 and probably back to JMP 10. Not fully shure anymore if GB was introduced in JMP 9 or 10, and the overlay plot &amp;nbsp;I believe&amp;nbsp;was there right from the beginning or at least one version later.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 10:11:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41176#M24011</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2017-06-26T10:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41177#M24012</link>
      <description>&lt;P&gt;Yes, I think so.&lt;/P&gt;&lt;P&gt;When I have huge set of points. Graph Builder doesn't show one to one point connection (atleast I don't know of it).&lt;/P&gt;&lt;P&gt;I have tried to show what I mean in the attached example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 10:13:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41177#M24012</guid>
      <dc:creator>sibanibisoyi</dc:creator>
      <dc:date>2017-06-26T10:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41178#M24013</link>
      <description>&lt;P&gt;I am using JMP 12. Can you please show a video in which you are able to change the legend names because in my case I can change the legend name. But as soon as I say Ok. nothing is changed.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 10:15:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41178#M24013</guid>
      <dc:creator>sibanibisoyi</dc:creator>
      <dc:date>2017-06-26T10:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41179#M24014</link>
      <description>Oh, yes you are right, this seems to be a not intended behaviour. Could you report please to support@jmp.com with reference to this discussion. Thanks</description>
      <pubDate>Mon, 26 Jun 2017 10:39:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41179#M24014</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2017-06-26T10:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41180#M24015</link>
      <description>&lt;P&gt;Interesting, the script in your table does provide a different behaviour (bug-like) than when I start from scratch. This is true for JMP 12.2. and JMP 13.1. So please provide this also to our support team. Xan, did I miss something?&amp;nbsp;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-9paHFwYjE6R0tR652natL_9shCIyUYkbw400h300r46" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6064700963001" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-9paHFwYjE6R0tR652natL_9shCIyUYkbw400h300r46');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/9paHFwYjE6R0tR652natL_9shCIyUYkb"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;So, &amp;nbsp;one workaround is to create it manually. May not the best, but for now ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 11:01:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41180#M24015</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2017-06-26T11:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41182#M24017</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/8775"&gt;@sibanibisoyi&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) I know how to change the legends in Graph Builder.But as mentioned that I need to use Overlay Plot because I need connecting lines between the Points which is not possible in Graph Builder (as far as I know).&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can combine elements in Graph Builder by holding down the shift key when you select them in the top row of element icons. So turn on Points and then shift-click on Line. In the properties for Line there is a checkbox called "Row order" which will connect the point row-by-row if that's what you're going for. Otherwise it will connect them by unique x values.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 12:53:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41182#M24017</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2017-06-26T12:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the names in legend of plot</title>
      <link>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41187#M24019</link>
      <description>&lt;P&gt;Thanks for providing the larger table. To keep the A and B lines separate, use the Overlay role. Here's a script.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="linepointsoverlay.png" style="width: 643px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6597i593BF298E4420531/image-size/large?v=v2&amp;amp;px=999" role="button" title="linepointsoverlay.png" alt="linepointsoverlay.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables( X( :Column 1 ), Y( :Pressure ), Overlay( :Chamber )),
	Elements( Points( X, Y, Legend( 7 ) ), Line( X, Y, Legend( 8 ) ) )
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:22:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Changing-the-names-in-legend-of-plot/m-p/41187#M24019</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2017-06-26T13:22:22Z</dc:date>
    </item>
  </channel>
</rss>

