<?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: How to change marker size in a graph window in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-change-marker-size-in-a-graph-window/m-p/243076#M47972</link>
    <description>&lt;P&gt;Hi txnelson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was indeed trying to&amp;nbsp;copy this from the Scripting index but&amp;nbsp;I couldn't quite translate it into the right syntax.&lt;/P&gt;&lt;P&gt;Also, I didn't know how to refer to this frame box because I was not aware of the display tree structure. Going into the "show tree structure" window, I can find which display box I need to refer to. Now with your help I can find my way around more easily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot txnelson :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2020 17:41:27 GMT</pubDate>
    <dc:creator>bobmorrane</dc:creator>
    <dc:date>2020-01-27T17:41:27Z</dc:date>
    <item>
      <title>How to change marker size in a graph window</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-change-marker-size-in-a-graph-window/m-p/243020#M47957</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I'm making a graph with a map shape using pictures as graph markers. On top of the graph I want to make buttons to change the marker size, so the users don't have to right click --&amp;gt; graph --&amp;gt; marker size --&amp;gt; other --&amp;gt;enter value&amp;nbsp;--&amp;gt; ok. Unfortunately I can't get this property to change. I made buttons that change other properties like graph size or background color which do work.&lt;/P&gt;&lt;P&gt;Here is a sample of my script :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;win = New Window ("My custom Graph",
      
      V List Box (
      bb = Button Box ("Change marker size", gb &amp;lt;&amp;lt; Set Marker Size (40)),
      bb2 = Button Box ("change graph size ", gb&amp;lt;&amp;lt;Size (800, 600)) ,

      gb = Grap builder (
     //all my graph builder arguments
     )

    )&lt;BR /&gt;&lt;BR /&gt;);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, why is this not working ? Do I need to use a graph Box instead of Graph Builder ? Or do I need to use an instruction like Send To Report or Dispatch ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last but not least, what is the&amp;nbsp;logic of&amp;nbsp;making jsl behave this way ? If I can change the graph size using gb&amp;lt;&amp;lt; size, why not have the same with set marker size ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 10:57:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-change-marker-size-in-a-graph-window/m-p/243020#M47957</guid>
      <dc:creator>bobmorrane</dc:creator>
      <dc:date>2020-01-27T10:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to change marker size in a graph window</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-change-marker-size-in-a-graph-window/m-p/243035#M47961</link>
      <description>&lt;P&gt;There are a couple of issues.&amp;nbsp; The first of these is that you are referencing the pointer to the entire Graph Builder object when you are referencing gb.&amp;nbsp; And the setting of the marker size needs to be pointed to the sub object within the report output of gb.&amp;nbsp; Secondly, the message to set the marker size, is not "set marker size" but rather "marker size".&amp;nbsp; So your reference to change the marker size should be:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;report( gb )[FrameBox(1)] &amp;lt;&amp;lt; Marker Size( 40 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;All of this is documented with examples in the Scripting Index&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Help==&amp;gt;Scripting Index&lt;/P&gt;
&lt;P&gt;Here is one of the examples on Marker Size taken from the index&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = bivariate( y( :weight ), x( :height ) );
rbiv = biv &amp;lt;&amp;lt; report;
framebox = rbiv[Frame Box( 1 )];
framebox &amp;lt;&amp;lt; Marker Size( 4 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Jan 2020 12:03:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-change-marker-size-in-a-graph-window/m-p/243035#M47961</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-01-27T12:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change marker size in a graph window</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-change-marker-size-in-a-graph-window/m-p/243076#M47972</link>
      <description>&lt;P&gt;Hi txnelson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was indeed trying to&amp;nbsp;copy this from the Scripting index but&amp;nbsp;I couldn't quite translate it into the right syntax.&lt;/P&gt;&lt;P&gt;Also, I didn't know how to refer to this frame box because I was not aware of the display tree structure. Going into the "show tree structure" window, I can find which display box I need to refer to. Now with your help I can find my way around more easily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot txnelson :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 17:41:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-change-marker-size-in-a-graph-window/m-p/243076#M47972</guid>
      <dc:creator>bobmorrane</dc:creator>
      <dc:date>2020-01-27T17:41:27Z</dc:date>
    </item>
  </channel>
</rss>

