<?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 Creating Panel Plot using pivoted data in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Creating-Panel-Plot-using-pivoted-data/m-p/782918#M96681</link>
    <description>&lt;P&gt;Hi JMP Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using JMP 17.0.0 and I understand that I can use the "Wrap" box in Graph Builder to create a panel plot for an unpivoted dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, how do I create a panel plot for a dataset that has already been pivoted? The closest I can come up with is to drag individual columns to the y-axis of graph builder to stack the plots one by one, but not in a panel format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would love to hear everyone's input on this. Thanks!&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="JZ_0-1724172598393.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67333iC9847B0E6EC8826B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JZ_0-1724172598393.png" alt="JZ_0-1724172598393.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 16:51:39 GMT</pubDate>
    <dc:creator>JZ</dc:creator>
    <dc:date>2024-08-20T16:51:39Z</dc:date>
    <item>
      <title>Creating Panel Plot using pivoted data</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-Panel-Plot-using-pivoted-data/m-p/782918#M96681</link>
      <description>&lt;P&gt;Hi JMP Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using JMP 17.0.0 and I understand that I can use the "Wrap" box in Graph Builder to create a panel plot for an unpivoted dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, how do I create a panel plot for a dataset that has already been pivoted? The closest I can come up with is to drag individual columns to the y-axis of graph builder to stack the plots one by one, but not in a panel format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would love to hear everyone's input on this. Thanks!&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="JZ_0-1724172598393.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67333iC9847B0E6EC8826B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JZ_0-1724172598393.png" alt="JZ_0-1724172598393.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 16:51:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-Panel-Plot-using-pivoted-data/m-p/782918#M96681</guid>
      <dc:creator>JZ</dc:creator>
      <dc:date>2024-08-20T16:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Panel Plot using pivoted data</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-Panel-Plot-using-pivoted-data/m-p/782939#M96683</link>
      <description>&lt;P&gt;With JMP you might have to utilize table in both formats (wide/split or tall/stack) so stack your data and create the plot (unless you want to add them as separate columns to y-axis like you have done).&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 16:59:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-Panel-Plot-using-pivoted-data/m-p/782939#M96683</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-20T16:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Panel Plot using pivoted data</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-Panel-Plot-using-pivoted-data/m-p/782975#M96687</link>
      <description>&lt;P&gt;- Often Graph Builder can do the pivoting, no need to do it manually.&lt;/P&gt;&lt;P&gt;- as Jarmo suggested, "stack" the values and use "Label" to wrap the plots.&lt;/P&gt;&lt;P&gt;- if you need different axis scales for the individual plots, "Wrap" will not work.&lt;BR /&gt;-&amp;gt; Upgrade to JMP18 and use "Page" instead of "Wrap"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1724183095637.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67342i7772971A9DDA14BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1724183095637.png" alt="hogi_0-1724183095637.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;dt = Open( "$SAMPLE_DATA/Water Treatment.jmp" );

dtstacked = dt  &amp;lt;&amp;lt; Stack(
	columns(
		:"Q-E"n, :"ZN-E"n, :"PH-E"n, :"DBO-E"n, :"DQO-E"n, :"SS-E"n, :"SSV-E"n,
		:"SED-E"n, :"COND-E"n
	),
	"Non-stacked columns"n( Keep( :Date ) )
);

dtstacked  &amp;lt;&amp;lt; Graph Builder(
	Transform Column(
		"Month[Date]",
		Format( "Format Pattern", "&amp;lt;MM&amp;gt;&amp;lt;/&amp;gt;&amp;lt;YYYY&amp;gt;", 15 ),
		Formula( Date Increment( :Date, "Month", 0 ) )
	),
	Link Page Axes( "X Only" ),
	Replicate Linked Page Axes( 0 ),
	Variables(
		X( :"Month[Date]"n ),
		Y( :Data ),
		Page( :Label, Levels per Row( 3 ), Show Title( 0 ) )
	),
	Elements(
		Points( X, Y, Summary Statistic( "Mean" ) ),
		Smoother( X, Y )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 19:46:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-Panel-Plot-using-pivoted-data/m-p/782975#M96687</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-08-20T19:46:50Z</dc:date>
    </item>
  </channel>
</rss>

