<?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 Efficient way to customize dual-axis graph with markers, colors, and lines in Big Class.jmp (JMP 18.2.1) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Efficient-way-to-customize-dual-axis-graph-with-markers-colors/m-p/895790#M105639</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Hi everyone,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I'm a native Japanese speaker and using translation tools to write this post. Please excuse any awkward phrasing.&lt;/P&gt;
&lt;P&gt;I'm using &lt;STRONG&gt;JMP 18.2.1&lt;/STRONG&gt; and working with a modified version of the sample dataset &lt;STRONG&gt;Big Class.jmp&lt;/STRONG&gt;.&lt;BR /&gt;&lt;STRONG&gt;I have uploaded the JMP file with all necessary columns already created.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;The manually created script is saved in the JMP file under the name “Prototype.”&lt;/STRONG&gt;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;STRONG&gt;Here’s what I want to achieve with the graph:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Graph setup:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;X-axis&lt;/STRONG&gt;: Name&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Y-axis 1&lt;/STRONG&gt;: 身長, 身長_TopLine, 身長_BotLine, 身長_MidLine&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Y-axis 2&lt;/STRONG&gt;: 体重, 体重_TopLine, 体重_BotLine, 体重_MidLine&lt;BR /&gt;&lt;EM&gt;(Note: 身長 = Height, 体重 = Weight)&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Marker customization by gender (using Overlay):&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Male&lt;/STRONG&gt;: Circle (○)&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Female&lt;/STRONG&gt;: Plus (+)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Graph style:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;身長 and 体重: plotted as &lt;STRONG&gt;points&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;*_TopLine and *_BotLine: &lt;STRONG&gt;blue lines&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;*_MidLine: &lt;STRONG&gt;green lines&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Export:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I want to export the graph as &lt;STRONG&gt;interactive HTML&lt;/STRONG&gt; with full interactivity.&lt;BR /&gt;Currently, I’m manually changing each line style, color, and marker type from the legend, which is very time-consuming.&lt;BR /&gt;Ultimately, I want to automate the entire graph creation process using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;JSL&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Is there a better way to fully control these settings via scripting?&lt;/P&gt;
&lt;P&gt;Any advice, examples, or best practices would be greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Aug 2025 05:06:04 GMT</pubDate>
    <dc:creator>tsuku24</dc:creator>
    <dc:date>2025-08-21T05:06:04Z</dc:date>
    <item>
      <title>Efficient way to customize dual-axis graph with markers, colors, and lines in Big Class.jmp (JMP 18.2.1)</title>
      <link>https://community.jmp.com/t5/Discussions/Efficient-way-to-customize-dual-axis-graph-with-markers-colors/m-p/895790#M105639</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi everyone,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I'm a native Japanese speaker and using translation tools to write this post. Please excuse any awkward phrasing.&lt;/P&gt;
&lt;P&gt;I'm using &lt;STRONG&gt;JMP 18.2.1&lt;/STRONG&gt; and working with a modified version of the sample dataset &lt;STRONG&gt;Big Class.jmp&lt;/STRONG&gt;.&lt;BR /&gt;&lt;STRONG&gt;I have uploaded the JMP file with all necessary columns already created.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;The manually created script is saved in the JMP file under the name “Prototype.”&lt;/STRONG&gt;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;STRONG&gt;Here’s what I want to achieve with the graph:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Graph setup:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;X-axis&lt;/STRONG&gt;: Name&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Y-axis 1&lt;/STRONG&gt;: 身長, 身長_TopLine, 身長_BotLine, 身長_MidLine&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Y-axis 2&lt;/STRONG&gt;: 体重, 体重_TopLine, 体重_BotLine, 体重_MidLine&lt;BR /&gt;&lt;EM&gt;(Note: 身長 = Height, 体重 = Weight)&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Marker customization by gender (using Overlay):&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Male&lt;/STRONG&gt;: Circle (○)&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Female&lt;/STRONG&gt;: Plus (+)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Graph style:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;身長 and 体重: plotted as &lt;STRONG&gt;points&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;*_TopLine and *_BotLine: &lt;STRONG&gt;blue lines&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;*_MidLine: &lt;STRONG&gt;green lines&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Export:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I want to export the graph as &lt;STRONG&gt;interactive HTML&lt;/STRONG&gt; with full interactivity.&lt;BR /&gt;Currently, I’m manually changing each line style, color, and marker type from the legend, which is very time-consuming.&lt;BR /&gt;Ultimately, I want to automate the entire graph creation process using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;JSL&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Is there a better way to fully control these settings via scripting?&lt;/P&gt;
&lt;P&gt;Any advice, examples, or best practices would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 05:06:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Efficient-way-to-customize-dual-axis-graph-with-markers-colors/m-p/895790#M105639</guid>
      <dc:creator>tsuku24</dc:creator>
      <dc:date>2025-08-21T05:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way to customize dual-axis graph with markers, colors, and lines in Big Class.jmp (JMP 18.2.1)</title>
      <link>https://community.jmp.com/t5/Discussions/Efficient-way-to-customize-dual-axis-graph-with-markers-colors/m-p/895801#M105640</link>
      <description>&lt;P&gt;In my opinion, it is easiest to do it interactively in JMP once and then copy the script. You can then use that JMP created script in your automated process.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, to edit the lines, you can double click on the legend, select all top/bot lines and modify them at the same time&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1755754750949.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80802iCCFA814EBD3C5F75/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1755754750949.png" alt="jthi_0-1755754750949.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, in some cases you might be able to use Presets.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 05:40:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Efficient-way-to-customize-dual-axis-graph-with-markers-colors/m-p/895801#M105640</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-21T05:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way to customize dual-axis graph with markers, colors, and lines in Big Class.jmp (JMP 18.2.1)</title>
      <link>https://community.jmp.com/t5/Discussions/Efficient-way-to-customize-dual-axis-graph-with-markers-colors/m-p/895828#M105644</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This method has improved the operation speed.&lt;BR /&gt;As you mentioned, it seems to be the most effective approach.&lt;BR /&gt;For example, if we later change the column used for overlay—such as adding a "Nationality" column—we can update the script like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Item ID( "Mean(体重_TopLine)(性別=F)" ) → Item ID( "Mean(体重_TopLine)(Nationality=JAPAN)" )
Item ID( "Mean(体重_TopLine)(性別=M)" ) → Item ID( "Mean(体重_TopLine)(Nationality=USA)" )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This way, we can easily switch the grouping condition by replacing the label inside the&amp;nbsp;Item ID&amp;nbsp;function.&lt;CODE class=" language-jsl"&gt;
&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 07:57:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Efficient-way-to-customize-dual-axis-graph-with-markers-colors/m-p/895828#M105644</guid>
      <dc:creator>tsuku24</dc:creator>
      <dc:date>2025-08-21T07:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way to customize dual-axis graph with markers, colors, and lines in Big Class.jmp (JMP 18.2.1)</title>
      <link>https://community.jmp.com/t5/Discussions/Efficient-way-to-customize-dual-axis-graph-with-markers-colors/m-p/895831#M105645</link>
      <description>&lt;P&gt;If you will always have similarly formatted graphs with the same amount of graphs, you could create functions/expressions to handle it&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 08:35:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Efficient-way-to-customize-dual-axis-graph-with-markers-colors/m-p/895831#M105645</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-21T08:35:39Z</dc:date>
    </item>
  </channel>
</rss>

