<?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: Icons of the Graphic Markers in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/50020#M28465</link>
    <description>&lt;P&gt;Ingenious!&amp;nbsp; Or alternatively I could abandon the idea of a menu as such altogether, and just offer the user a grid of possible markers&amp;nbsp;to select from: something&amp;nbsp;based on&amp;nbsp;the attached script would do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One quick question though - how can I&amp;nbsp;disable the functionality to scroll either axis (I can still do this by hovering over&amp;nbsp;at least the Y axis&amp;nbsp;until I&amp;nbsp;see the "hand" symbol, and then dragging&amp;nbsp;this axis&amp;nbsp;up or down) without actually suppressing the axes?&amp;nbsp; I find that if I&amp;nbsp;suppress the axes as you did in your example, I then lose the ability to define the low and&amp;nbsp;high values, the increment and the gridlines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks - that's been very useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Clear Log();

x0 = -1;

tb = Text Box( "Click on a Marker", &amp;lt;&amp;lt;justify text( center ) );

gb = Graph Box(
	FrameSize( 100, 150 ),
	X Scale( 0, 8 ),
	Y Scale( 0, 4 ),
	Marker Size( 4 ),
	Mousetrap(
		x0 = Floor( x );
		y0 = Floor( y );
		tb &amp;lt;&amp;lt; set text( "Marker(" || Char( 32 - 4 * (y0 + 1) + x0 ) || ")" );
	),
	If( x0 &amp;gt; -0.5,
		Fill Color( {0, 255, 255} );
		Rect( {x0, y0}, {x0 + 1, y0 + 1}, 8 );
	);
	For( i = 0, i &amp;lt;= 7, i++,
		For( j = 0, j &amp;lt;= 3, j++,
			k = 4 * i + j;
			Marker( k, {j + 0.5, 8 - (i + 0.5)} );
		)
	);
);

gb[AxisBox( 1 )] &amp;lt;&amp;lt; Max( 8 );
gb[AxisBox( 2 )] &amp;lt;&amp;lt; Max( 4 );

For( i = 1, i &amp;lt;= 2, i++,
	gb[AxisBox( i )] &amp;lt;&amp;lt; show major grid( 1 ) &amp;lt;&amp;lt; Min( 0 ) &amp;lt;&amp;lt; inc( 1 ) &amp;lt;&amp;lt; show labels( 0 ) &amp;lt;&amp;lt; show major ticks( 0 ) &amp;lt;&amp;lt; remove axis label()
);

New Window( "Marker Selection Grid", Lineup Box( N Col( 1 ), gb, Border Box( tb, &amp;lt;&amp;lt;sides( 15 ) ) ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2018 10:52:51 GMT</pubDate>
    <dc:creator>DMR</dc:creator>
    <dc:date>2018-01-23T10:52:51Z</dc:date>
    <item>
      <title>Icons of the Graphic Markers</title>
      <link>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/49924#M28396</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm writing a dashboard at the moment in which I'd like to offer the user a choice of the marker symbol that will be used in a chart that will be created from the user's various selections.&lt;/P&gt;&lt;P&gt;I'd like to add an icon to each element in the list of options which shows what each symbol looks like, along the lines of the little demo script I've attached in which I've used a few standard icons in the list box on the left to illustrate what I mean - but obviously I'd like to replace these with the real set of marker symbols shown on the right.&lt;/P&gt;&lt;P&gt;A quick search using the Built-In JMP Icons add-in suggests that these 32 symbols don't exist as predefined icons that I can access by name, so I'm assuming that I would need to create each one individually as a set of icons of my own. I could do that easily enough but it could get&amp;nbsp;a bit tedious - so before I attempt it, can anyone suggest an easier way to tackle this?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Clear Log();

Marker_List = {{"  Dot", "WinHelpSearch"}, {"  Square", "WinHelpAbout"}, {"  Cross", "SearchIndex"},
{"  Filled Triangle", "Gear"}, {"  Asterisk", "ListItemUp"}, {"  Diamond", "ListItemDown"}};

Marker_ListBox = List Box( Marker_List );

New Window( "Markers",
	H List Box(
		Panel Box( "Select a Marker Symbol", Marker_ListBox ), 
//		Marker_ListBox,
		Panel Box( "All 32 Marker Symbols",
			Graph Box(
				FrameSize( 300, 300 ),
				Y Scale( -1, 16 ),
				X Scale( 0, 7 ),
				For(
					i = 0;
					jj = 15;,
					i &amp;lt; 16;
					jj &amp;gt;= 0;,
					i++;
					jj--;, // 16 rows, 2 columns
					Marker Size( 3 );
					Marker( i, {1, jj + .2} ); // markers 0-15
					Marker( i + 16, {4, jj + .2} ); // markers 16-31
					Text( {1.5, jj}, "Marker ", i ); // marker labels 0-15
					Text( {4.5, jj}, "Marker ", i + 16 ); // marker labels 16-31
				)
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 10:46:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/49924#M28396</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2018-01-22T10:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Icons of the Graphic Markers</title>
      <link>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/49933#M28402</link>
      <description>&lt;P&gt;You could use a table box containing colboxes of graph boxes to show your original listbox.&amp;nbsp; Here's some code that can get you started:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;nw = new window("test markers",
	tb = tablebox(
		marker_cb = col box("",
			graph box(
				FrameSize( 10, 10 ), Y Scale( 0, 2 ), X Scale( 0, 2 ), suppressaxes(1),
				marker(15, {1, 1}),
			),
			graph box(
				FrameSize( 10, 10 ), Y Scale( 0, 2 ), X Scale( 0, 2 ), suppressaxes(1),
				marker(16, {1, 1}),
			)
		),
		stringcolbox("Marker",
			{"15", "16"}
		)
	)
);
tb &amp;lt;&amp;lt; set selectable rows(1);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkerListBox.png" style="width: 132px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/8994iA90FC40148ECE36A/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarkerListBox.png" alt="MarkerListBox.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 14:44:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/49933#M28402</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2018-01-22T14:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Icons of the Graphic Markers</title>
      <link>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/50020#M28465</link>
      <description>&lt;P&gt;Ingenious!&amp;nbsp; Or alternatively I could abandon the idea of a menu as such altogether, and just offer the user a grid of possible markers&amp;nbsp;to select from: something&amp;nbsp;based on&amp;nbsp;the attached script would do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One quick question though - how can I&amp;nbsp;disable the functionality to scroll either axis (I can still do this by hovering over&amp;nbsp;at least the Y axis&amp;nbsp;until I&amp;nbsp;see the "hand" symbol, and then dragging&amp;nbsp;this axis&amp;nbsp;up or down) without actually suppressing the axes?&amp;nbsp; I find that if I&amp;nbsp;suppress the axes as you did in your example, I then lose the ability to define the low and&amp;nbsp;high values, the increment and the gridlines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks - that's been very useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Clear Log();

x0 = -1;

tb = Text Box( "Click on a Marker", &amp;lt;&amp;lt;justify text( center ) );

gb = Graph Box(
	FrameSize( 100, 150 ),
	X Scale( 0, 8 ),
	Y Scale( 0, 4 ),
	Marker Size( 4 ),
	Mousetrap(
		x0 = Floor( x );
		y0 = Floor( y );
		tb &amp;lt;&amp;lt; set text( "Marker(" || Char( 32 - 4 * (y0 + 1) + x0 ) || ")" );
	),
	If( x0 &amp;gt; -0.5,
		Fill Color( {0, 255, 255} );
		Rect( {x0, y0}, {x0 + 1, y0 + 1}, 8 );
	);
	For( i = 0, i &amp;lt;= 7, i++,
		For( j = 0, j &amp;lt;= 3, j++,
			k = 4 * i + j;
			Marker( k, {j + 0.5, 8 - (i + 0.5)} );
		)
	);
);

gb[AxisBox( 1 )] &amp;lt;&amp;lt; Max( 8 );
gb[AxisBox( 2 )] &amp;lt;&amp;lt; Max( 4 );

For( i = 1, i &amp;lt;= 2, i++,
	gb[AxisBox( i )] &amp;lt;&amp;lt; show major grid( 1 ) &amp;lt;&amp;lt; Min( 0 ) &amp;lt;&amp;lt; inc( 1 ) &amp;lt;&amp;lt; show labels( 0 ) &amp;lt;&amp;lt; show major ticks( 0 ) &amp;lt;&amp;lt; remove axis label()
);

New Window( "Marker Selection Grid", Lineup Box( N Col( 1 ), gb, Border Box( tb, &amp;lt;&amp;lt;sides( 15 ) ) ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 10:52:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/50020#M28465</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2018-01-23T10:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Icons of the Graphic Markers</title>
      <link>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/50297#M28610</link>
      <description>&lt;P&gt;see&amp;nbsp;&lt;A href="https://community.jmp.com/t5/JSL-Cookbook/Custom-Button-Icons/ta-p/50294" target="_blank"&gt;https://community.jmp.com/t5/JSL-Cookbook/Custom-Button-Icons/ta-p/50294&lt;/A&gt;&amp;nbsp;, thanks for the idea!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="button icons" style="width: 408px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/9079iE07401A177F54D27/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="button icons" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;button icons&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 16:45:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/50297#M28610</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2018-01-26T16:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Icons of the Graphic Markers</title>
      <link>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/50351#M28642</link>
      <description>&lt;P&gt;Hi Craige - that's a&amp;nbsp;&lt;EM&gt;very&lt;/EM&gt;&amp;nbsp;instructive script there: I can see several uses for something like this in the context of what I'm doing!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2018 18:39:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Icons-of-the-Graphic-Markers/m-p/50351#M28642</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2018-01-28T18:39:33Z</dc:date>
    </item>
  </channel>
</rss>

