<?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: Box-plot + dot plot + half violin plot in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488784#M73236</link>
    <description>&lt;P&gt;Dear Txnelson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS YOU SO MUCH,&lt;/P&gt;&lt;P&gt;always valuable advice and above all problem solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2022 09:04:31 GMT</pubDate>
    <dc:creator>GiuseppeC</dc:creator>
    <dc:date>2022-05-20T09:04:31Z</dc:date>
    <item>
      <title>Box-plot + dot plot + half violin plot</title>
      <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488422#M73193</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does anyone know if with JMP it is possible to create a graph showing the box-plots with the points inside each box and showing half of a violin plot.&lt;BR /&gt;In practice, a graph similar to the one attached, but with the points inside each box-plot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GiuseppeC_0-1652961439345.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/42538iA0E31861A6E20B22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GiuseppeC_0-1652961439345.png" alt="GiuseppeC_0-1652961439345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:24:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488422#M73193</guid>
      <dc:creator>GiuseppeC</dc:creator>
      <dc:date>2023-06-11T11:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Box-plot + dot plot + half violin plot</title>
      <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488471#M73201</link>
      <description>&lt;P&gt;Yes, it is possible. Graph Builder is the tool in JMP for this visualization. Have you read the &lt;A href="https://www.jmp.com/support/help/en/16.2/#page/jmp/introduction-to-interactive-graphing.shtml#" target="_self"&gt;Essential Graphing&lt;/A&gt; guide in JMP Hlep?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 13:20:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488471#M73201</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-05-19T13:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Box-plot + dot plot + half violin plot</title>
      <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488502#M73202</link>
      <description>&lt;P&gt;I don't know a direct way of getting Graph Builder to do the half Violin chart, except to add a rectangle to hide half of it.&amp;nbsp; But here is an example&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1652971840156.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/42565iAD2251D5A64CDAC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1652971840156.png" alt="txnelson_0-1652971840156.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
// Open Data Table: big class.jmp
// → Data Table( "big class" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );

gb = Graph Builder(
	Size( 570, 510 ),
	Variables( X( :sex ), Y( :height ) ),
	Elements(
		Box Plot( X, Y, Legend( 6 ) ),
		Points( X, Y, Legend( 7 ) ),
		Contour( X, Y, Legend( 8 ), Adapt to Axis Scale( 0 ) )
	)
);
Report( gb )[FrameBox( 1 )] &amp;lt;&amp;lt; Add Graphics Script(
	5,
	Description( "" ),
	Pen Color( "white" );
	Pen Size( 2 );
	Fill Color( "white" );
	Rect( -.5, 75, 0, 40, 1 );

);
Report( gb )[FrameBox( 1 )] &amp;lt;&amp;lt; Add Graphics Script(
	6,
	Description( "" ),
	Pen Color( "white" );
	Pen Size( 2 );
	Fill Color( "white" );	
	Rect( .5, 75, 1, 40, 1 );
);
Report( gb )[FrameBox( 1 )] &amp;lt;&amp;lt; Reorder Segs( {1, 2, 10, 11, 5, 6} );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 14:51:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488502#M73202</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-05-19T14:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Box-plot + dot plot + half violin plot</title>
      <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488548#M73207</link>
      <description>&lt;P&gt;Another option: Use "Positive Grid" jittering for the points. Data and script attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jordan_Hiller_0-1652977186849.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/42567i7A594B850AD14ADE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jordan_Hiller_0-1652977186849.png" alt="Jordan_Hiller_0-1652977186849.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 16:20:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488548#M73207</guid>
      <dc:creator>Jordan_Hiller</dc:creator>
      <dc:date>2022-05-19T16:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Box-plot + dot plot + half violin plot</title>
      <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488698#M73221</link>
      <description>&lt;P&gt;Thank you so much.&lt;BR /&gt;I tried to run the program on my data, but I realized that I have to change the values in "rect", because using your data I don't get the half violin.&lt;BR /&gt;What do the 5 values present in "rect" represent?&lt;BR /&gt;If I wanted to load external data for example in excel format, what should I write in "open"?&lt;BR /&gt;I can program a little in SAS, but I don't know the JMP language which I use because it helps me to make graphics without going crazy writing long programs that SAS requires.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 20:56:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488698#M73221</guid>
      <dc:creator>GiuseppeC</dc:creator>
      <dc:date>2022-05-19T20:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Box-plot + dot plot + half violin plot</title>
      <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488699#M73222</link>
      <description>&lt;P&gt;Thanks for the reply,&lt;BR /&gt;however my goal is to show half violin which gives me the idea of how the data are distributed.&lt;BR /&gt;The dots alone don't help me much.&lt;BR /&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 20:59:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488699#M73222</guid>
      <dc:creator>GiuseppeC</dc:creator>
      <dc:date>2022-05-19T20:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Box-plot + dot plot + half violin plot</title>
      <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488703#M73223</link>
      <description>&lt;P&gt;Thanks for the reply,&lt;BR /&gt;I have seen the documents present in the Essential Graphing, but there is nothing that comes close to my goal.&lt;BR /&gt;The only way is to write an ad-hoc program.&lt;BR /&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 21:02:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488703#M73223</guid>
      <dc:creator>GiuseppeC</dc:creator>
      <dc:date>2022-05-19T21:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Box-plot + dot plot + half violin plot</title>
      <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488708#M73225</link>
      <description>&lt;P&gt;The Essential Graphing document covers the usage of Graph Builder.&amp;nbsp; For the adding of a graphics script, that documentation is in the Scripting Guide, with the functions detailed with examples in the Scripting Index.&amp;nbsp; All of these are available under the Help pull down menu.&lt;/P&gt;
&lt;P&gt;The Add Graphis Scripts that I added to the base Graph Builder simply places a white rectangle over half of the violin plot, using a rect() function.&amp;nbsp; Rect() draws a rectangle.&amp;nbsp; This is detailed in the Scripting Index.&amp;nbsp; The values are (left, top, right, bottom, and should the rectangle be a filled or empty rectangle).&amp;nbsp; Since the X variable is a nominal(character) variable the x coordinates for each of the values in X start at 0 and are incremented by 1.&amp;nbsp; This determines the Left and Right values for the rectangle.&amp;nbsp; Typically the top and bottom values are set by the Col Min() and Col Max() values for the Y column.&lt;/P&gt;
&lt;P&gt;There will have to be 1 Add Graphics Script section for each of the values of the X variable.&lt;/P&gt;
&lt;P&gt;The Reorder Segs sets the order the various components of the chart and which front&amp;nbsp; to back order they should have.&amp;nbsp; One needs to have the rectangle object in front of the violin, but behind the box plot.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 22:15:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488708#M73225</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-05-19T22:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Box-plot + dot plot + half violin plot</title>
      <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488784#M73236</link>
      <description>&lt;P&gt;Dear Txnelson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS YOU SO MUCH,&lt;/P&gt;&lt;P&gt;always valuable advice and above all problem solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 09:04:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/488784#M73236</guid>
      <dc:creator>GiuseppeC</dc:creator>
      <dc:date>2022-05-20T09:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Box-plot + dot plot + half violin plot</title>
      <link>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/549708#M76614</link>
      <description>&lt;P&gt;Dear Jim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to reapply your procedure on other data, but I can't see the graph.&lt;/P&gt;&lt;P&gt;I changed the data in the "rect" statement by putting the values of min, max, 25 ° and 75 ° of the box-plot, but nothing.&lt;/P&gt;&lt;P&gt;I have read what is indicated in the Scripting Index, but the result is a failure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could I ask you for help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess a direct way to overcome this problem doesn't exist, does it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 09:32:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Box-plot-dot-plot-half-violin-plot/m-p/549708#M76614</guid>
      <dc:creator>GiuseppeC</dc:creator>
      <dc:date>2022-09-27T09:32:01Z</dc:date>
    </item>
  </channel>
</rss>

