<?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 there any way that I can remove the label numbers in the graph? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-there-any-way-that-I-can-remove-the-label-numbers-in-the/m-p/61133#M33218</link>
    <description>&lt;P&gt;Thank you so much for your help! It is extremly helpful!!! I&amp;nbsp;appreciate it a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Winnie&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2018 13:12:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-26T13:12:32Z</dc:date>
    <item>
      <title>Is there any way that I can remove the label numbers in the graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-any-way-that-I-can-remove-the-label-numbers-in-the/m-p/61108#M33207</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using label in my script to help me filter data. The script is showing bellow:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt_daily &amp;lt;&amp;lt; New Column( "Outliers Exclusion (Energy % from Controls)",
Numeric,
Continuous,
Formula( If( !labeled( Row State() ) , "Clean Bad Data", "Show Bad Data" ) ),
eval formula
);
Close( dt_subdaily );
Close( dt_dailysplit );

Wait( 0 );

New Window( "Energy % from Controls",
dt_daily &amp;lt;&amp;lt; Graph Builder(
Size( 800, 500 ),
Show Control Panel( 0 ),
Variables( X( :Date ), Y( :Name( "Energy % from Controls" ) ), Group X( :SiteName ), Group Y( :Sequence ), Overlay( :SampleDescription ) ),
Elements( Position( 1, 1 ), Points( X, Y, Legend( 16 ) ), Smoother( X, Y, Legend( 17 ) ) ),
//Button Box( "Include Bad Data" ,Row State() = Excluded State( 0 )),
Local Data Filter(
Auto clear( 0 ),
Add Filter(
columns(
:name( "Outliers Exclusion (Energy % from Controls)" ),
:SiteName,
:Sequence,
:SampleDescription,
:EquipmentName,
:TableRank,
:Name( "Energy % from Controls" ),
:Date
),
Where( :Name( "Energy % from Controls" ) &amp;gt;= -0.04 &amp;amp; :PPI_AH &amp;lt;= 0.06 ),

//if ( :name("Outliers Exclusion (Energy % from Controls)") == "Clean Bad Data", Row State() = Excluded State( 0 ))
),
SendToReport(
Dispatch( {}, "Date", ScaleBox, {Format( "m/d/y", 7 ), Label Row( {Show Major Grid( 1 ), Show Minor Grid( 1 )} )} ),
Dispatch(
{},
"Energy % from Controls",
ScaleBox,
{/*Min( -0.04 ), Max( 0.06 ), Inc( 0.01 ), Minor Ticks( 1 ),*/
//Format( "Percent", 9, 1 ), Max( 0.01 ),
Add Ref Line( 0, "Solid", "Black", "", 1 ), Label Row( {Show Major Grid( 1 ), Show Minor Grid( 1 )} )}
)
)
)
)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;However, I don't want those number showing up. Is there any way that I can keep the labels for rows in data table but remove the numbers of lables from graphs?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture-4.PNG" style="width: 702px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11256iEFBDE7ABAFC9C37D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture-4.PNG" alt="Capture-4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks a lot if someone can help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 21:26:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-any-way-that-I-can-remove-the-label-numbers-in-the/m-p/61108#M33207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-25T21:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way that I can remove the label numbers in the graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-any-way-that-I-can-remove-the-label-numbers-in-the/m-p/61121#M33209</link>
      <description>&lt;P&gt;Winnie,&lt;/P&gt;&lt;P&gt;JMP allows data columns to act as labels,&amp;nbsp; AND allows rows to be labeled. When rows are labeled, the values of the labels appear on the graph.&amp;nbsp; If there are no label columns then the row numbers appear on the graph.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I do not have your table, review the script below.&amp;nbsp; It:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;randomly selects 10 rows and marks them as labeled&lt;/LI&gt;&lt;LI&gt;draws the graph and note those labeled columns now show names&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;removes the column :name as a label, so the graph now shows row numbers&lt;/LI&gt;&lt;LI&gt;then shows several alternative options.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Be careful when using formulas with row state functions. If a user or you accidentally change a row state then teh value of your function is automatically changed.&amp;nbsp; If you want to set values based upon a current sate, use a formula then remove it, or use Set Each Value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);

dt = Open("$Sample_Data/Big Class.jmp");

//select 10 random rows in Big Class
xr = Random Shuffle( Index(1, nrow(dt)) ) [1::10];

dt &amp;lt;&amp;lt; select rows(xr);

dt &amp;lt;&amp;lt; Label(1);
dt &amp;lt;&amp;lt; clear select;

biv = dt &amp;lt;&amp;lt; Bivariate( Y( :weight ), X( :height ), Fit Line );

//---run to here ----
//Now you will see all the names since name is a label.
//Remove, Name as a Label

dt:name &amp;lt;&amp;lt; set Labelled(0);
//---run to here ----

//now all the row numbers are visible  If you use a formula for Labeled rows, when you 
//remove row labeling, the formula will be updated all data will be Clean Bad Data,
//so use Set Each Value.

dt &amp;lt;&amp;lt; New Column( "Outliers",
Character,
&amp;lt;&amp;lt;Set Each Value( If( !labeled( Row State() ) , "Clean Bad Data", "Show Bad Data" ) ),
);  

//remove the labelled rows

 (dt &amp;lt;&amp;lt; select labeled) &amp;lt;&amp;lt; Label(0);  //all labels are gone
 
 dt &amp;lt;&amp;lt; clear select; 
 
 report(biv)[FrameBox(1)] &amp;lt;&amp;lt; Row Legend(:"Outliers", Color(1), Marker(1));
 
 //---run to here ----

 //and/or make :name and :Outliers a label
 
 dt &amp;lt;&amp;lt; Set Label Columns(:name, :Outliers);
 
 //---run to here ----&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Jun 2018 22:10:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-any-way-that-I-can-remove-the-label-numbers-in-the/m-p/61121#M33209</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-06-25T22:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way that I can remove the label numbers in the graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-any-way-that-I-can-remove-the-label-numbers-in-the/m-p/61133#M33218</link>
      <description>&lt;P&gt;Thank you so much for your help! It is extremly helpful!!! I&amp;nbsp;appreciate it a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Winnie&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 13:12:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-any-way-that-I-can-remove-the-label-numbers-in-the/m-p/61133#M33218</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-26T13:12:32Z</dc:date>
    </item>
  </channel>
</rss>

