<?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 Incorporating Reference Lines into legend for multiple bivariate graphs. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Incorporating-Reference-Lines-into-legend-for-multiple-bivariate/m-p/13278#M12535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like assistance in order to incorporate reference lines at certain numbers of the Y axis, horizontal lines, directly into the legend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my current script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14368171860922139 jive_text_macro" jivemacro_uid="_14368171860922139" modifiedtitle="true"&gt;&lt;BR /&gt;&lt;P&gt;Bivariate(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Y( :Cat),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; X( :Dog),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Histogram Borders( 1 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Where(:Recipe == "B_XX" &amp;amp; (:Tool == "A_XX")),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Elements( Points( X, Legend( 1 ) ) ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; SendToReport(Dispatch(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; "2",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ScaleBox,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {Add Ref Line( 140, Solid, "Black", "", 2 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Add Ref Line( 70, Solid, "Black", "", 2 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Add Ref Line( 90, Solid, "Black", "", 2 )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; "Bivariate Fit of Value By Date_Time",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; OutlineBox,{Close( 1 ), Set Title( "dafda" )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; "1",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ScaleBox,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {Format( "y/m/d h:m:s", 10 ), &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Interval( "Hour" ), Inc( 2 ), Minor Ticks( 0 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Tick Font( face( "Arial Unicode MS" ), size( 8 ) ), Show Major Grid( 1 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Rotated Labels( "Angled" )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; "Bivariate Report",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; FrameBox( 2 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {DispatchSeg(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; HistSeg( 1 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {Fill Color( "BlueCyan" ), Histogram Color( 13 )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch( {}, "Bivar Plot", FrameBox, {Frame Size( 1100, 180 )} ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; "Bivariate Report",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; FrameBox( 4 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {DispatchSeg(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; HistSeg( 1 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {Fill Color( "BlueCyan" ), Histogram Color( 13 )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch({},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;"Bivar Plot",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;FrameBox,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;{Frame Size(900,274),Row Legend(Tool),Color(1),Color Theme("JMP Default"),Marker(0),Marker Theme("JMP Default"),Continous Scale(0),Reverse Scale(0),Excluded Rows(0)})&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have reference lines inserted into the numbers I would like in the script and I need to set a different color in order differentiate a group of lines in the legend.These will allow me to communicate New and Old lines. The current legend outputs the Tool but I cannot think of a way to insert lines into the legend without having to input a new column in the data table that has the reference line numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 12-14 and Line 53 are where I need assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you ahead of time for anyone looking to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what my current graph looks like with the legend on the right and the reference lines in black. I need to do this for 100 of graphs and millions of data points.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9214_Capture.PNG" style="width: 1175px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1812i4C749CC610B09343/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9214_Capture.PNG" alt="9214_Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 23:52:16 GMT</pubDate>
    <dc:creator>saswatmishra50</dc:creator>
    <dc:date>2016-10-18T23:52:16Z</dc:date>
    <item>
      <title>Incorporating Reference Lines into legend for multiple bivariate graphs.</title>
      <link>https://community.jmp.com/t5/Discussions/Incorporating-Reference-Lines-into-legend-for-multiple-bivariate/m-p/13278#M12535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like assistance in order to incorporate reference lines at certain numbers of the Y axis, horizontal lines, directly into the legend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my current script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14368171860922139 jive_text_macro" jivemacro_uid="_14368171860922139" modifiedtitle="true"&gt;&lt;BR /&gt;&lt;P&gt;Bivariate(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Y( :Cat),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; X( :Dog),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Histogram Borders( 1 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Where(:Recipe == "B_XX" &amp;amp; (:Tool == "A_XX")),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Elements( Points( X, Legend( 1 ) ) ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; SendToReport(Dispatch(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; "2",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ScaleBox,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {Add Ref Line( 140, Solid, "Black", "", 2 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Add Ref Line( 70, Solid, "Black", "", 2 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Add Ref Line( 90, Solid, "Black", "", 2 )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; "Bivariate Fit of Value By Date_Time",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; OutlineBox,{Close( 1 ), Set Title( "dafda" )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; "1",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ScaleBox,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {Format( "y/m/d h:m:s", 10 ), &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Interval( "Hour" ), Inc( 2 ), Minor Ticks( 0 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Tick Font( face( "Arial Unicode MS" ), size( 8 ) ), Show Major Grid( 1 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Rotated Labels( "Angled" )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; "Bivariate Report",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; FrameBox( 2 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {DispatchSeg(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; HistSeg( 1 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {Fill Color( "BlueCyan" ), Histogram Color( 13 )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch( {}, "Bivar Plot", FrameBox, {Frame Size( 1100, 180 )} ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; "Bivariate Report",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; FrameBox( 4 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {DispatchSeg(&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; HistSeg( 1 ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; {Fill Color( "BlueCyan" ), Histogram Color( 13 )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; )}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; Dispatch({},&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;"Bivar Plot",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;FrameBox,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;{Frame Size(900,274),Row Legend(Tool),Color(1),Color Theme("JMP Default"),Marker(0),Marker Theme("JMP Default"),Continous Scale(0),Reverse Scale(0),Excluded Rows(0)})&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; ),)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have reference lines inserted into the numbers I would like in the script and I need to set a different color in order differentiate a group of lines in the legend.These will allow me to communicate New and Old lines. The current legend outputs the Tool but I cannot think of a way to insert lines into the legend without having to input a new column in the data table that has the reference line numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 12-14 and Line 53 are where I need assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you ahead of time for anyone looking to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what my current graph looks like with the legend on the right and the reference lines in black. I need to do this for 100 of graphs and millions of data points.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9214_Capture.PNG" style="width: 1175px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1812i4C749CC610B09343/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9214_Capture.PNG" alt="9214_Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 23:52:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Incorporating-Reference-Lines-into-legend-for-multiple-bivariate/m-p/13278#M12535</guid>
      <dc:creator>saswatmishra50</dc:creator>
      <dc:date>2016-10-18T23:52:16Z</dc:date>
    </item>
  </channel>
</rss>

