<?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: Script formatting for Variability Charts in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Script-formatting-for-Variability-Charts/m-p/30931#M19618</link>
    <description>&lt;P&gt;Hello Jim,&lt;/P&gt;&lt;P&gt;Thank you for the suggestion, it works :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;In the process I have found that we could also script "By" on top of the "Where", and that'll get us a nicely formatted graph too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OutlineBox("CATEGORY = Height",&lt;BR /&gt;V List Box(&lt;BR /&gt;v3=Variability Chart(&lt;BR /&gt;Y( :Value ),&lt;BR /&gt;X( :colA, :colE ),&lt;BR /&gt;Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),&lt;BR /&gt;Std Dev Chart( 0 ),&lt;BR /&gt;Where( :Parameter == "Height" ),&lt;BR /&gt;By( :Parameter )&lt;BR /&gt;);&lt;BR /&gt;);&lt;BR /&gt;),&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2016 01:46:03 GMT</pubDate>
    <dc:creator>ylee</dc:creator>
    <dc:date>2016-12-01T01:46:03Z</dc:date>
    <item>
      <title>Script formatting for Variability Charts</title>
      <link>https://community.jmp.com/t5/Discussions/Script-formatting-for-Variability-Charts/m-p/30891#M19597</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to script a series of Variability Charts in a single Window, which I could save to a JRN or pptx later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each chart is intended to display the values (in Y) of different parameters (e.g. Height, Weight, Length) with different combination of independent X axis {due to this reason, I could not script it as By( :Parameter_Class ) } in a single Variability Chart platform.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Problem:&amp;nbsp; Displayed output from a manually graphed chart would have the parameter name nicely printed in the Outline Box but what's obtained from the script below would look out-of-place and not nicely formatted.&amp;nbsp; Any way it could be scripted that meets the desired format?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Desired:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="wanted.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/4153i98C47B500A6D8422/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wanted.png" alt="wanted.png" /&gt;&lt;/span&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;Obtained:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="given.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/4154i2F223937EF07FCEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="given.png" alt="given.png" /&gt;&lt;/span&gt;﻿&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;New Window( "Variability Chart for Parameters",
Variability Chart(
Y( :Value ),
X( :colA, :colB, :colC, :colD ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Std Dev Chart( 0 ),
Where( :Parameter_Class == "Height" )
);
Variability Chart(
Y( :Value ),
X( :colA, :colB, :colC, :colD, :colE ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Std Dev Chart( 0 ),
Where( :Parameter_Class == "Weight" )
);
Variability Chart(
Y( :Value ),
X( :colC, :colE ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Std Dev Chart( 0 ),
Where( :Parameter_Class == "Length" )
);
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 17:50:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-formatting-for-Variability-Charts/m-p/30891#M19597</guid>
      <dc:creator>ylee</dc:creator>
      <dc:date>2016-11-30T17:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Script formatting for Variability Charts</title>
      <link>https://community.jmp.com/t5/Discussions/Script-formatting-for-Variability-Charts/m-p/30893#M19599</link>
      <description>&lt;P&gt;Here are the modification you would need to make to change the titles on the outline boxes as you require:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window( "Variability Chart for Parameters",
	v1=Variability Chart(
		Y( :Value ),
		X( :colA, :colB, :colC, :colD ),
		Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
		Std Dev Chart( 0 ),
		Where( :Parameter_Class == "Height" )
	);
	report(V1)["Variability Guage"]&amp;lt;&amp;lt;set title("Variability Guage Parameter_Class=Weight");
	V2=Variability Chart(
		Y( :Value ),
		X( :colA, :colB, :colC, :colD, :colE ),
		Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
		Std Dev Chart( 0 ),
		Where( :Parameter_Class == "Weight" )
	);
	report(V2)["Variability Guage"]&amp;lt;&amp;lt;set title("Variability Guage Parameter_Class=Weight");
	V3=Variability Chart(
		Y( :Value ),
		X( :colC, :colE ),
		Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
		Std Dev Chart( 0 ),
		Where( :Parameter_Class == "Length" )
	);
	report(V3)["Variability Guage"]&amp;lt;&amp;lt;set title("Variability Guage Parameter_Class=Length");
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Nov 2016 17:01:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-formatting-for-Variability-Charts/m-p/30893#M19599</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-11-30T17:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Script formatting for Variability Charts</title>
      <link>https://community.jmp.com/t5/Discussions/Script-formatting-for-Variability-Charts/m-p/30931#M19618</link>
      <description>&lt;P&gt;Hello Jim,&lt;/P&gt;&lt;P&gt;Thank you for the suggestion, it works :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;In the process I have found that we could also script "By" on top of the "Where", and that'll get us a nicely formatted graph too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OutlineBox("CATEGORY = Height",&lt;BR /&gt;V List Box(&lt;BR /&gt;v3=Variability Chart(&lt;BR /&gt;Y( :Value ),&lt;BR /&gt;X( :colA, :colE ),&lt;BR /&gt;Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),&lt;BR /&gt;Std Dev Chart( 0 ),&lt;BR /&gt;Where( :Parameter == "Height" ),&lt;BR /&gt;By( :Parameter )&lt;BR /&gt;);&lt;BR /&gt;);&lt;BR /&gt;),&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 01:46:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-formatting-for-Variability-Charts/m-p/30931#M19618</guid>
      <dc:creator>ylee</dc:creator>
      <dc:date>2016-12-01T01:46:03Z</dc:date>
    </item>
  </channel>
</rss>

