<?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: Is it possible to achieve this type of plotting using JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844438#M101851</link>
    <description>&lt;P&gt;OK&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt; Rect(i - 1, max_val, i, max_val - vals[i], 1)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 26 Feb 2025 09:59:06 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2025-02-26T09:59:06Z</dc:date>
    <item>
      <title>Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844197#M101796</link>
      <description>&lt;P&gt;Plotting in a specified column: Plotting data from multiple columns in the same row as a graphic within this column.&lt;/P&gt;&lt;P&gt;It seems the effect of the new column manager is not like this.&lt;/P&gt;&lt;P&gt;Thanks!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-25_18-33-07.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73322i3CFEA8D01DC882B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-02-25_18-33-07.png" alt="2025-02-25_18-33-07.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 10:44:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844197#M101796</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-02-25T10:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844212#M101802</link>
      <description>&lt;P&gt;You can create the plot in graph builder, save the graph(s) as data table and join to your table&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 11:30:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844212#M101802</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-25T11:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844215#M101804</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I wanted to have a quick way, easy like excel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Of course, that's not the figure I showed above.&lt;/SPAN&gt;&lt;SPAN class=""&gt;It's just a schematic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 12:03:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844215#M101804</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-02-25T12:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844216#M101805</link>
      <description>&lt;P&gt;I have no idea what you mean by quick in this case&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 12:14:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844216#M101805</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-25T12:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844218#M101806</link>
      <description>&lt;P&gt;JMP does have Hist Seg which could be used in formula to build something like this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1740486150537.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73324iC0FE355C8AD648A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1740486150537.png" alt="jthi_0-1740486150537.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 12:22:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844218#M101806</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-25T12:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844222#M101808</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;Thank jthi !&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;How can it be implemented with JSL?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-25_20-55-31.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73326i9394C9C1C16F08A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-02-25_20-55-31.png" alt="2025-02-25_20-55-31.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 12:57:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844222#M101808</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-02-25T12:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844223#M101809</link>
      <description>&lt;P&gt;You have great example how to create Hist Seg with JSL. Combine it with data table subscripting to get the values and finalize with &amp;lt;&amp;lt; Get Picture on the Hist Seg (or some other method of turning it into picture)&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 12:59:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844223#M101809</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-25T12:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844235#M101810</link>
      <description>&lt;P&gt;I can't find this Hist Seg formula&lt;BR /&gt;How to use JSL can only be done in a loop step by step.&lt;BR /&gt;It's convenient if you can do it in a formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Experts!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 13:12:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844235#M101810</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-02-25T13:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844237#M101811</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Looking at the Hist Seg application in this help is completely different from excel's graph, I need to use a row of multiple columns of data to create a graph&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-25_21-29-06.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73328i94DF7B0D5C8DBA98/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-02-25_21-29-06.png" alt="2025-02-25_21-29-06.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 13:32:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844237#M101811</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-02-25T13:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844252#M101814</link>
      <description>&lt;P&gt;And you can for example use data table subscripting to access values row by row.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 14:14:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844252#M101814</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-25T14:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844257#M101815</link>
      <description>&lt;P&gt;That data you have in excel doesn't look same as you did provide us with so it is impossible to know what you wish to have&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1740493811369.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73333i1738D8C2BDFCDE47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1740493811369.png" alt="jthi_0-1740493811369.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 14:30:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844257#M101815</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-25T14:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844274#M101820</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Do not have all columns of data mapping, only 188-202 columns of data mapping&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank jthi !&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
q=188;p=202;na="Row 3 Columns "||char(q)||"-"||char(p)||" Bar Chart";
row_data = dt[3, 188::202];
n_points = N Col(row_data);
x_values = Index(1, n_points);
y_max_data = Max(row_data);
y_max_scale = y_max_data * 1.1; 
if(y_max_scale == 0, y_max_scale = 10); 
New Window(na ,
	g = Graph Box(
		Frame Size( 400, 200 ),
		X Scale( 0.5, 12.5 ),   
		Y Scale( 0, y_max_scale ),     
		Pen Size( 1 ),         
		Fill Color( "Light Purple" ), 
		For( i = 1, i &amp;lt;= n_points, i++,
			Rect(             
				x_values[i] - 0.4, row_data[i], 
				x_values[i] + 0.4, 0           
			)
		)
	)
);
frame = g[FrameBox(1)];
frame &amp;lt;&amp;lt; Grid Line Order( 1 );
frame &amp;lt;&amp;lt; Add Graphics Script(
	Text( Center Justified, {6, y_max_scale * 0.95}, na )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Mine is ugly&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 25 Feb 2025 15:08:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844274#M101820</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-02-25T15:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844278#M101822</link>
      <description>&lt;P&gt;And I assume you now have your solution?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 15:34:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844278#M101822</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-25T15:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844395#M101837</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;I need your help with answers.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank jthi !&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;I want to learn how to do that with a formula.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-26_07-36-39.png" style="width: 497px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73344i352C3467533663C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-02-26_07-36-39.png" alt="2025-02-26_07-36-39.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 23:38:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844395#M101837</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-02-25T23:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844407#M101843</link>
      <description>&lt;P&gt;I don't suggest doing this type of things in formulas as they don't get properly re-evaluated. Formula:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;start_idx = 188;
end_idx = 202;

ncol = end_idx - start_idx + 1;
vals = Current Data Table()[Row(), start_idx::end_idx]`;
vals[Loc(vals, .)] = 0;

g = Graph Box(
	Frame Size(300, 120),
	X Scale(-0.5, ncol + 0.5),
	Y Scale(0, Max(vals) + Max(vals) * 0.05),
	Fill Color("Dark Blue"),
	For(i = 1, i &amp;lt;= ncol, i++,
		Rect(i - 1, vals[i], i, 0, 1)
	);
);
g[FrameBox(1)] &amp;lt;&amp;lt; get picture;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I would rather have a table script which would then re-create the images when that table script is run&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 07:23:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844407#M101843</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-02-26T07:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844413#M101846</link>
      <description>&lt;P&gt;Thank jthi !&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;I just need a quick map. That should do it&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-26_16-37-12.png" style="width: 636px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73348iCF671E120177B913/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-02-26_16-37-12.png" alt="2025-02-26_16-37-12.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 08:42:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844413#M101846</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-02-26T08:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844437#M101850</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;This form of mapping allows you to make a vertical inversion of the graph (not a simple rotation of 180 degrees).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Of course, it can be done in other ways.&lt;/SPAN&gt;&lt;SPAN class=""&gt;I've tried taking negative values and using histograms to do the same thing.&lt;/SPAN&gt;&lt;SPAN class=""&gt;But it would be faster if we could just erect it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Thanks Experts!&lt;/P&gt;&lt;P class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-02-26_16-37-12.png" style="width: 636px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73352i9FF0EEA25DE1451A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-02-26_16-37-12.png" alt="2025-02-26_16-37-12.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 09:49:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844437#M101850</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-02-26T09:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to achieve this type of plotting using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844438#M101851</link>
      <description>&lt;P&gt;OK&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt; Rect(i - 1, max_val, i, max_val - vals[i], 1)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Feb 2025 09:59:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-achieve-this-type-of-plotting-using-JSL/m-p/844438#M101851</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-02-26T09:59:06Z</dc:date>
    </item>
  </channel>
</rss>

