<?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: How do I make a graph with secondary x-axis? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/200569#M41710</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9068"&gt;@Morten&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;You can&amp;nbsp;&lt;EM&gt;easily&amp;nbsp;&lt;/EM&gt;do that in JMP. If you wanted to do that using a script, here is an example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb1 = dt &amp;lt;&amp;lt; Graph Builder(Variables( X( :sex ), X( :age, Position( 1 ) ), Y( :height ) ),
			  Elements( Points( X( 1 ), X( 2 ), Y, Legend( 24 ) ) )
			 );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If you wanted to use the interactive platform, just drop a variable on the x-axis . Then bring the second variable and hover it on the x-axis, JMP will tell you what will happen depending on where you drop it .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2019 23:05:08 GMT</pubDate>
    <dc:creator>uday_guntupalli</dc:creator>
    <dc:date>2019-05-02T23:05:08Z</dc:date>
    <item>
      <title>How do I make a graph with secondary x-axis?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/199535#M41685</link>
      <description>&lt;P&gt;I want to make a plot of two data series with overlayed x-axes. How is this possible in JMP? It is easily done in MS Excel - see below and attached.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Plot.JPG" style="width: 558px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17069i36EAF9687A226DE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Plot.JPG" alt="Plot.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 15:11:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/199535#M41685</guid>
      <dc:creator>Morten</dc:creator>
      <dc:date>2019-05-01T15:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a graph with secondary x-axis?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/200569#M41710</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9068"&gt;@Morten&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;You can&amp;nbsp;&lt;EM&gt;easily&amp;nbsp;&lt;/EM&gt;do that in JMP. If you wanted to do that using a script, here is an example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb1 = dt &amp;lt;&amp;lt; Graph Builder(Variables( X( :sex ), X( :age, Position( 1 ) ), Y( :height ) ),
			  Elements( Points( X( 1 ), X( 2 ), Y, Legend( 24 ) ) )
			 );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If you wanted to use the interactive platform, just drop a variable on the x-axis . Then bring the second variable and hover it on the x-axis, JMP will tell you what will happen depending on where you drop it .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 23:05:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/200569#M41710</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2019-05-02T23:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a graph with secondary x-axis?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/200716#M41712</link>
      <description>&lt;P&gt;No, unfortunately this is not what I want. Your solution gives me a "nested" x-axis, i.e. in reality&amp;nbsp;two x-axes next to each other. I want them stacked, i.e. both scales span left to right once and each curve is represented by its own axis. Actually, I ask for the very same concept as a secondary y-axis. It just seems not to exist for an x-axis in JMP.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 10:12:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/200716#M41712</guid>
      <dc:creator>Morten</dc:creator>
      <dc:date>2019-05-03T10:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a graph with secondary x-axis?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/200779#M41713</link>
      <description>&lt;P&gt;I believe your assessment is correct.&amp;nbsp; I do not think there currently is a way to generate a second X Axis.&amp;nbsp; It is a great idea, so I encourage you to add it to the JMP Wish List.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 15:19:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/200779#M41713</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-05-03T15:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a graph with secondary x-axis?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/671290#M85923</link>
      <description>&lt;P&gt;A bit late (4 years), I had a similar problem, mine was different time steps but the same scale, and it can be done. If you are using graph builder, drag both variables that you want into the x-axis:&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="2023-08-24 (4).png" style="width: 600px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56004i97A5ED82CD019BA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-08-24 (4).png" alt="2023-08-24 (4).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, right click the data points on the graph where you want to change the x-axis to display the following menu, just select the variable that you want to use for the x-axis.&amp;nbsp; In my case, I had a daily and a weekly time scale.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-24 (2).png" style="width: 476px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56003iE4674817EBF33DCF/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-08-24 (2).png" alt="2023-08-24 (2).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For different scales you can merge the axes.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 23:04:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-a-graph-with-secondary-x-axis/m-p/671290#M85923</guid>
      <dc:creator>HydroBug</dc:creator>
      <dc:date>2023-08-24T23:04:26Z</dc:date>
    </item>
  </channel>
</rss>

