<?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 Label Offset for MarkerSeg in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Label-Offset-for-MarkerSeg/m-p/311305#M56447</link>
    <description>&lt;P&gt;I need to have a label offset for all my labels (if I choose to label a row) on my plots.&lt;/P&gt;&lt;P&gt;So, I have 8 plots through "Group X". In each plot I have exactly 30 points.&lt;/P&gt;&lt;P&gt;I'm trying to do the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rgb = Report (gb);
For( i = 1, i &amp;lt;= 8, i++,
frame = (gb &amp;lt;&amp;lt; report)[FrameBox(i)];
seg = frame &amp;lt;&amp;lt; Find Seg( Marker Seg( 1 ) );
for(j = 0, j &amp;lt; 30, j++, 
seg &amp;lt;&amp;lt; label offset({j, 10, -60} )
);
);&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;But it doesn't work. If I spell out numbers 0 through 29 in label offset it works perfectly.&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;seg &amp;lt;&amp;lt; label offset(
{0, 10, -60} ,
{1, 10, -60} ,
{2, 10, -60} ,
{3, 10, -60} ,
{4, 10, -60} ,
{5, 10, -60} ,
{6, 10, -60} ,
{7, 10, -60} ,
{8, 10, -60} ,
{9, 10, -60} ,
{10, 10, -60} ,
{11, 10, -60} ,
{12, 10, -60} ,
{13, 10, -60} ,
{14, 10, -60} ,
{15, 10, -60} ,
{16, 10, -60} ,
{17, 10, -60} ,
{18, 10, -60} ,
{19, 10, -60} ,
{20, 10, -60} ,
{21, 10, -60} ,
{22, 10, -60}, 
{23, 10, -60}, 
{24, 10, -60}, 
{25, 10, -60}, 
{26, 10, -60}, 
{27, 10, -60}, 
{28, 10, -60}, 
{29, 10, -60} 
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What am I doing wrong? How do I script setting offsets for all 30 points?&lt;/P&gt;&lt;P&gt;I tried to play with Substitute(), Expr() and Evl() - but no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:06:07 GMT</pubDate>
    <dc:creator>miguello</dc:creator>
    <dc:date>2023-06-11T11:06:07Z</dc:date>
    <item>
      <title>Label Offset for MarkerSeg</title>
      <link>https://community.jmp.com/t5/Discussions/Label-Offset-for-MarkerSeg/m-p/311305#M56447</link>
      <description>&lt;P&gt;I need to have a label offset for all my labels (if I choose to label a row) on my plots.&lt;/P&gt;&lt;P&gt;So, I have 8 plots through "Group X". In each plot I have exactly 30 points.&lt;/P&gt;&lt;P&gt;I'm trying to do the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rgb = Report (gb);
For( i = 1, i &amp;lt;= 8, i++,
frame = (gb &amp;lt;&amp;lt; report)[FrameBox(i)];
seg = frame &amp;lt;&amp;lt; Find Seg( Marker Seg( 1 ) );
for(j = 0, j &amp;lt; 30, j++, 
seg &amp;lt;&amp;lt; label offset({j, 10, -60} )
);
);&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;But it doesn't work. If I spell out numbers 0 through 29 in label offset it works perfectly.&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;seg &amp;lt;&amp;lt; label offset(
{0, 10, -60} ,
{1, 10, -60} ,
{2, 10, -60} ,
{3, 10, -60} ,
{4, 10, -60} ,
{5, 10, -60} ,
{6, 10, -60} ,
{7, 10, -60} ,
{8, 10, -60} ,
{9, 10, -60} ,
{10, 10, -60} ,
{11, 10, -60} ,
{12, 10, -60} ,
{13, 10, -60} ,
{14, 10, -60} ,
{15, 10, -60} ,
{16, 10, -60} ,
{17, 10, -60} ,
{18, 10, -60} ,
{19, 10, -60} ,
{20, 10, -60} ,
{21, 10, -60} ,
{22, 10, -60}, 
{23, 10, -60}, 
{24, 10, -60}, 
{25, 10, -60}, 
{26, 10, -60}, 
{27, 10, -60}, 
{28, 10, -60}, 
{29, 10, -60} 
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What am I doing wrong? How do I script setting offsets for all 30 points?&lt;/P&gt;&lt;P&gt;I tried to play with Substitute(), Expr() and Evl() - but no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:06:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-Offset-for-MarkerSeg/m-p/311305#M56447</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2023-06-11T11:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Label Offset for MarkerSeg</title>
      <link>https://community.jmp.com/t5/Discussions/Label-Offset-for-MarkerSeg/m-p/312706#M56539</link>
      <description>&lt;P&gt;This one has two evaluation hurdles:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Lists don't normally eval their items&lt;/LI&gt;
&lt;LI&gt;the label offset message doesn't eval its argument&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I think this takes care of both.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Eval(Eval Expr(seg &amp;lt;&amp;lt; label offset(Expr(EvalList({j, 10, -60})) )))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Sep 2020 00:46:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-Offset-for-MarkerSeg/m-p/312706#M56539</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2020-09-25T00:46:06Z</dc:date>
    </item>
  </channel>
</rss>

