<?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: Adding connecting letters ABOVE data points of a line graph in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/859314#M102728</link>
    <description>&lt;P&gt;I haven't tried building workflow out of this. JMP most likely is able to record all the steps (or at least most of them) to do this. There are also few columns which you have to make JMP ask from user, but it is easy to do in workflow builder&lt;/P&gt;</description>
    <pubDate>Sat, 29 Mar 2025 06:29:33 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-03-29T06:29:33Z</dc:date>
    <item>
      <title>Adding connecting letters ABOVE data points of a line graph</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791629#M97039</link>
      <description>&lt;P&gt;I have letters from a connecting letters report, my means, and SEMs in columns of a new data table. I've created a line graph with points.&amp;nbsp; As suggested in previous discussion posts I've tried "Set shape column" but as you can see the letters are behind the line and so unreadable. I would like to add the letters as labels floating above the points (so they are legible).&lt;SPAN&gt;&amp;nbsp;How can I adjust what position the letters appear at? Or add the letters a different way? Thanks!&lt;/SPAN&gt;&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="Mcc99_0-1725034316017.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67739iAB2712A57441BA3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mcc99_0-1725034316017.png" alt="Mcc99_0-1725034316017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 16:16:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791629#M97039</guid>
      <dc:creator>Mcc99</dc:creator>
      <dc:date>2024-08-30T16:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding connecting letters ABOVE data points of a line graph</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791660#M97040</link>
      <description>&lt;P&gt;Which JMP version are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume shape idea comes from this &lt;LI-MESSAGE title="how does one add letters form a connecting letters report to a graph" uid="619519" url="https://community.jmp.com/t5/Discussions/how-does-one-add-letters-form-a-connecting-letters-report-to-a/m-p/619519#U619519" 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;. Other option is here &lt;LI-MESSAGE title="How to denote letters to mark significant differences in a boxplot?" uid="543793" url="https://community.jmp.com/t5/Discussions/How-to-denote-letters-to-mark-significant-differences-in-a/m-p/543793#U543793" 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;. With the second option you can add use the column as markers and then display plot graph with max summary statistic&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

fit = dt &amp;lt;&amp;lt; Oneway(Y(:height), X(:age), All Pairs(1), invisible);
letters_tb = ((Report(fit)[OutlineBox("Connecting Letters Report")]) &amp;lt;&amp;lt; child) &amp;lt;&amp;lt; child;

tb_letter_cols = Filter Each({col_name}, letters_tb &amp;lt;&amp;lt; Get Names,
	Starts With(col_name, "~Letter Column ")
);

aa_letters = Associative Array();
For Each({level, idx}, letters_tb[1] &amp;lt;&amp;lt; get,
	aa_letters[level] = "";
	For Each({letter_col, idx_col}, tb_letter_cols,
		aa_letters[level] ||= Try((letters_tb[1 + idx_col] &amp;lt;&amp;lt; get)[idx], "");
	);
);
fit &amp;lt;&amp;lt; close window;

dt &amp;lt;&amp;lt; New Column("TukeyLetters", Character, Nominal, UseForMarker(1), &amp;lt;&amp;lt; Set Each Value(
	aa_letters[char(:age)];
));

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(529, 451),
	Show Control Panel(0),
	Variables(X(:age), Y(:height)),
	Elements(
		Box Plot(X, Y, Legend(6), Box Style("Solid"), Fences(0)),
		Points(
			X,
			Y,
			Legend(7),
			Summary Statistic("Third Quartile"),
			Error Interval("None")
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1725035285498.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67740i799189624B481F33/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1725035285498.png" alt="jthi_0-1725035285498.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then there is the option of using graphic script (or maybe marker draw expression) where you calculate where the text should be. This is the most flexible and complicated option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: There is one more option. You can create new column which determines the Y-axis for the point plot, then use that as extra column in Y-axis, disable it from everything except from the point plot. In this example height+2 is used as the extra column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1725035774312.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67743i1031513F313B3D76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1725035774312.png" alt="jthi_1-1725035774312.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And the calculation is just :height + 2. It could be easily made much smarter with Col Max(:height, :age) * 1.01 or something&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 16:37:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791660#M97040</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-30T16:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding connecting letters ABOVE data points of a line graph</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791671#M97041</link>
      <description>&lt;P&gt;I'm using JMP Pro 16. When you say add the letters as markers, can I do that in the control panel or would it have to be through the script?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 16:36:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791671#M97041</guid>
      <dc:creator>Mcc99</dc:creator>
      <dc:date>2024-08-30T16:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding connecting letters ABOVE data points of a line graph</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791673#M97042</link>
      <description>&lt;P&gt;I think you can do this without scripting but it will have quite a few steps.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 16:44:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791673#M97042</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-30T16:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding connecting letters ABOVE data points of a line graph</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791685#M97043</link>
      <description>&lt;P&gt;Edit: I did this in JMP18. Not sure if it is exactly the same for JMP16 and I cannot test it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From connecting letters report, create a data table&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1725036321496.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67744i97E574505E254251/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1725036321496.png" alt="jthi_0-1725036321496.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In that table create new column by concatenating all letter columns (also rename it to something better)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1725036341485.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67745i98E8DA165D1D5B19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1725036341485.png" alt="jthi_1-1725036341485.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Join/update that back to your original table (you might have to change Level column data type to match original)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1725036414198.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67746iDC91E2AE50903CE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1725036414198.png" alt="jthi_2-1725036414198.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Create new column which can be used to determine the Y-axis location&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1725036456910.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67747iD28E06B376459287/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1725036456910.png" alt="jthi_3-1725036456910.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="jthi_4-1725036473709.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67748iB9FC8E4C41C661EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1725036473709.png" alt="jthi_4-1725036473709.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Edit the formula if necessary&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1725036501654.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67749i917139E12CB6921A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_5-1725036501654.png" alt="jthi_5-1725036501654.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Set the Letters column to be used as marker&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_7-1725036634212.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67751iC73613B4BEC08673/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_7-1725036634212.png" alt="jthi_7-1725036634212.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Create your plot. Note how Y-axis has been set and how different variables have been disabled&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_8-1725036706421.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67752i7FE4C22249873C91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_8-1725036706421.png" alt="jthi_8-1725036706421.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Adjust the formula as necessary for TEMP (1.01 multiplier works in my data) and rename Y-axis after you are done&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_9-1725036762850.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67753i569179927BDF9129/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_9-1725036762850.png" alt="jthi_9-1725036762850.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 16:59:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791685#M97043</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-30T16:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding connecting letters ABOVE data points of a line graph</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791686#M97044</link>
      <description>&lt;P&gt;As I already have the letters in a column and don't need to generate them in a model, how would I add the column as a marker?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps I can create a duplicate using something like this?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
Weights = Open("jmpprj://contents/Weights.jmp");
Weights &amp;lt;&amp;lt; New Column("test", Character, Nominal, UseForMarker(1), &amp;lt;&amp;lt; DupCol ("Letters")
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Aug 2024 17:07:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791686#M97044</guid>
      <dc:creator>Mcc99</dc:creator>
      <dc:date>2024-08-30T17:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding connecting letters ABOVE data points of a line graph</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791689#M97047</link>
      <description>&lt;P&gt;Actually, your last reply showed me how to set the current column as the marker without scripting. So ignore my last reply.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 17:11:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791689#M97047</guid>
      <dc:creator>Mcc99</dc:creator>
      <dc:date>2024-08-30T17:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding connecting letters ABOVE data points of a line graph</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791693#M97049</link>
      <description>&lt;P&gt;Thanks! This works very well, and is much quicker than adding them all by hand!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will second the many suggestions to add connecting letter labels to graph builder in future versions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 17:21:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/791693#M97049</guid>
      <dc:creator>Mcc99</dc:creator>
      <dc:date>2024-08-30T17:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding connecting letters ABOVE data points of a line graph</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/857664#M102720</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you think is possible to create a workflow for it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think, I will try it... but if you have tried or tested it will be easier :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 19:11:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/857664#M102720</guid>
      <dc:creator>Bmllnn</dc:creator>
      <dc:date>2025-03-28T19:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding connecting letters ABOVE data points of a line graph</title>
      <link>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/859314#M102728</link>
      <description>&lt;P&gt;I haven't tried building workflow out of this. JMP most likely is able to record all the steps (or at least most of them) to do this. There are also few columns which you have to make JMP ask from user, but it is easy to do in workflow builder&lt;/P&gt;</description>
      <pubDate>Sat, 29 Mar 2025 06:29:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adding-connecting-letters-ABOVE-data-points-of-a-line-graph/m-p/859314#M102728</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-03-29T06:29:33Z</dc:date>
    </item>
  </channel>
</rss>

