<?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 combine Pie with other graphs? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/combine-Pie-with-other-graphs/m-p/940714#M109405</link>
    <description>&lt;P&gt;Can I combine Pie graphs with other graphs?&lt;BR /&gt;2 problems:&lt;BR /&gt;- Pie uses "X" as input for the categories - not Overlay or Y - this interferes with other data on the x axis&amp;nbsp;&lt;BR /&gt;- Pie plots are placed at x=0, so the other x axes have to be centered around 0&amp;nbsp; (this is why I subtracted the median)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1775741960831.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/98884i0EE5CDBEA8C6C5FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1775741960831.png" alt="hogi_0-1775741960831.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
Graph Builder(
	Transform Column( "pie: sex", Nominal, Formula( "pie" ) ),
	Transform Column(
		"height-median",
		Formula(
			:height - Col Quantile(
				:height,
				0.5
			)
		)
	),
	Variables(
		X( :sex ),
		X( :"height-median"n, Position( 1 ) ),
		Y( :"pie: sex"n ),
		Y( :weight ),
		Group X( :age )
	),
	Elements( Position( 1, 1 ), Pie( X( 1 )) ),
	Elements( Position( 1, 2 ), Points( X( 2 ), Y ) )
);
	
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2026 13:39:34 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2026-04-09T13:39:34Z</dc:date>
    <item>
      <title>combine Pie with other graphs?</title>
      <link>https://community.jmp.com/t5/Discussions/combine-Pie-with-other-graphs/m-p/940714#M109405</link>
      <description>&lt;P&gt;Can I combine Pie graphs with other graphs?&lt;BR /&gt;2 problems:&lt;BR /&gt;- Pie uses "X" as input for the categories - not Overlay or Y - this interferes with other data on the x axis&amp;nbsp;&lt;BR /&gt;- Pie plots are placed at x=0, so the other x axes have to be centered around 0&amp;nbsp; (this is why I subtracted the median)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1775741960831.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/98884i0EE5CDBEA8C6C5FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1775741960831.png" alt="hogi_0-1775741960831.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
Graph Builder(
	Transform Column( "pie: sex", Nominal, Formula( "pie" ) ),
	Transform Column(
		"height-median",
		Formula(
			:height - Col Quantile(
				:height,
				0.5
			)
		)
	),
	Variables(
		X( :sex ),
		X( :"height-median"n, Position( 1 ) ),
		Y( :"pie: sex"n ),
		Y( :weight ),
		Group X( :age )
	),
	Elements( Position( 1, 1 ), Pie( X( 1 )) ),
	Elements( Position( 1, 2 ), Points( X( 2 ), Y ) )
);
	
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 13:39:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/combine-Pie-with-other-graphs/m-p/940714#M109405</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2026-04-09T13:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: combine Pie with other graphs?</title>
      <link>https://community.jmp.com/t5/Discussions/combine-Pie-with-other-graphs/m-p/940765#M109407</link>
      <description>&lt;P&gt;The most obvious answer is: Don't use Pie Charts!&lt;BR /&gt;&lt;BR /&gt;Bar charts&amp;nbsp;&lt;BR /&gt;- uses &lt;STRONG&gt;Overlay&lt;/STRONG&gt; for the categories, not x&lt;BR /&gt;- centers the plot automatically within the view - not at 0&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1775744252419.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/98894iACFB531388420AB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1775744252419.png" alt="hogi_1-1775744252419.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables(
		X( :height ),
		Y( :ratio ),
		Y( :weight ),
		Group X( :age ),
		Overlay( :sex )
	),
	Relative Sizes( "Y", [66 119] ),
	Elements(
		Position( 1, 1 ),
		Bar(
			Y,
			Legend( 11 ),
			Bar Style( "Stacked" ),
			Summary Statistic( "% of Factor" )
		)
	),
	Elements(
		Position( 1, 2 ),
		Points( X, Y, Overlay( 0 )),
		Smoother( X, Y, Overlay( 0 ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Apr 2026 14:20:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/combine-Pie-with-other-graphs/m-p/940765#M109407</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2026-04-09T14:20:11Z</dc:date>
    </item>
  </channel>
</rss>

