<?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: 3 Y-axes with 3 different elements in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/3-Y-axes-with-3-different-elements/m-p/915412#M107569</link>
    <description>&lt;P&gt;Create range 0-1 from your windows at GC%&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1764170165311.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87770iDC3EA7459E2BBB24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1764170165311.png" alt="jthi_0-1764170165311.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Add that new column to your Y-axis.&lt;/P&gt;
&lt;P&gt;Add bar chart to your graph and disable variables from points/bar accordingly&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1764170236364.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87771iD09D2CBEE3816212/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1764170236364.png" alt="jthi_1-1764170236364.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size(730, 719),
	Show Control Panel(0),
	Variables(
		X(:GC% of 100 base windows),
		Y(:Mean base quality, Side("Right")),
		Y(:Fraction of normalized coverage, Position(1)),
		Y(:"Range Scale[Windows at GC%]"n, Position(1))
	),
	Elements(
		Points(X, Y(2), Legend(16)),
		Line(X, Y(1), Legend(18)),
		Bar(X, Y(3), Legend(29))
	),
	SendToReport(
		Dispatch({}, "GC% of 100 base windows", ScaleBox,
			{Min(-2.43663303909206), Add Ref Line(50, "Solid", "Black", "", 1)}
		),
		Dispatch({}, "Fraction of normalized coverage", ScaleBox,
			{Format("Fixed Dec", 12, 1), Min(-0.0597014925373134), Max(2), Inc(0.5),
			Minor Ticks(1), Add Ref Line(1, "Solid", "Black", "", 1)}
		),
		Dispatch({}, "Mean base quality", ScaleBox,
			{Format("Best", 12), Min(-1.21054871739173), Max(40.0924512083527),
			Inc(10), Minor Ticks(1)}
		),
		Dispatch({}, "400", ScaleBox,
			{Legend Model(
				16,
				Type Properties(0, "Marker", {Line Color(5), Marker("Circle")}),
				Properties(
					0,
					{Line Color(5), Marker("Circle")},
					Item ID("Fraction of normalized coverage", 1)
				),
				Properties(
					-1,
					{Line Color(5), Marker("Circle")},
					Item ID("Range Scale[Windows at GC%]", 1)
				),
				Properties(
					-1,
					{Line Color(5), Marker("Circle")},
					Item ID("Normalized_Coverage", 1)
				),
				Properties(-1, {Fill Color(35)}, Item ID("WINDOWS", 1)),
				Properties(
					-1,
					{Line Color(5), Marker("Circle")},
					Item ID("NORMALIZED_COVERAGE", 1)
				),
				Properties(
					-1,
					{Line Color(5), Marker("Circle")},
					Item ID("Windows at GC%", 1)
				)
			), Legend Model(
				18,
				Type Properties(0, "H Line", {Line Color(4)}),
				Properties(0, {Line Color(4)}, Item ID("Mean base quality", 1)),
				Properties(-1, {Line Color(4)}, Item ID("Base_Quality", 1))
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;Or you could add two y-axis and use Parallel Y Axes&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1764170419821.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87772iF54F16A8CD99EB43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1764170419821.png" alt="jthi_2-1764170419821.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and similarly tinker with enable/disable variables until you get what you wish&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1764170657299.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87773i166322830FE3A128/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1764170657299.png" alt="jthi_3-1764170657299.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Nov 2025 15:24:42 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-11-26T15:24:42Z</dc:date>
    <item>
      <title>3 Y-axes with 3 different elements</title>
      <link>https://community.jmp.com/t5/Discussions/3-Y-axes-with-3-different-elements/m-p/915388#M107568</link>
      <description>&lt;P&gt;I'm trying to recreate this GC metric chart from Picard in JMP but am having trouble figuring out how to get 3 different Y-axes that all have different elements.&amp;nbsp; Here is the graph I am trying to make:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KScott_0-1764167487851.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87758i3E4F95DE18E6D38B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KScott_0-1764167487851.png" alt="KScott_0-1764167487851.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is as far as I have gotten. I added the base quality to the y axis and then moved it to the right to get two Y-axes but can't figure out how to add in the red histogram as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KScott_1-1764167661305.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87759i2F1B5E9D614A7257/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KScott_1-1764167661305.png" alt="KScott_1-1764167661305.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I've attached the data with the script I have so far. I'd prefer a non-coding answer if possible and am using JMP 19. Thanks so much for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 14:39:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/3-Y-axes-with-3-different-elements/m-p/915388#M107568</guid>
      <dc:creator>KScott</dc:creator>
      <dc:date>2025-11-26T14:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Y-axes with 3 different elements</title>
      <link>https://community.jmp.com/t5/Discussions/3-Y-axes-with-3-different-elements/m-p/915412#M107569</link>
      <description>&lt;P&gt;Create range 0-1 from your windows at GC%&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1764170165311.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87770iDC3EA7459E2BBB24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1764170165311.png" alt="jthi_0-1764170165311.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Add that new column to your Y-axis.&lt;/P&gt;
&lt;P&gt;Add bar chart to your graph and disable variables from points/bar accordingly&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1764170236364.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87771iD09D2CBEE3816212/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1764170236364.png" alt="jthi_1-1764170236364.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size(730, 719),
	Show Control Panel(0),
	Variables(
		X(:GC% of 100 base windows),
		Y(:Mean base quality, Side("Right")),
		Y(:Fraction of normalized coverage, Position(1)),
		Y(:"Range Scale[Windows at GC%]"n, Position(1))
	),
	Elements(
		Points(X, Y(2), Legend(16)),
		Line(X, Y(1), Legend(18)),
		Bar(X, Y(3), Legend(29))
	),
	SendToReport(
		Dispatch({}, "GC% of 100 base windows", ScaleBox,
			{Min(-2.43663303909206), Add Ref Line(50, "Solid", "Black", "", 1)}
		),
		Dispatch({}, "Fraction of normalized coverage", ScaleBox,
			{Format("Fixed Dec", 12, 1), Min(-0.0597014925373134), Max(2), Inc(0.5),
			Minor Ticks(1), Add Ref Line(1, "Solid", "Black", "", 1)}
		),
		Dispatch({}, "Mean base quality", ScaleBox,
			{Format("Best", 12), Min(-1.21054871739173), Max(40.0924512083527),
			Inc(10), Minor Ticks(1)}
		),
		Dispatch({}, "400", ScaleBox,
			{Legend Model(
				16,
				Type Properties(0, "Marker", {Line Color(5), Marker("Circle")}),
				Properties(
					0,
					{Line Color(5), Marker("Circle")},
					Item ID("Fraction of normalized coverage", 1)
				),
				Properties(
					-1,
					{Line Color(5), Marker("Circle")},
					Item ID("Range Scale[Windows at GC%]", 1)
				),
				Properties(
					-1,
					{Line Color(5), Marker("Circle")},
					Item ID("Normalized_Coverage", 1)
				),
				Properties(-1, {Fill Color(35)}, Item ID("WINDOWS", 1)),
				Properties(
					-1,
					{Line Color(5), Marker("Circle")},
					Item ID("NORMALIZED_COVERAGE", 1)
				),
				Properties(
					-1,
					{Line Color(5), Marker("Circle")},
					Item ID("Windows at GC%", 1)
				)
			), Legend Model(
				18,
				Type Properties(0, "H Line", {Line Color(4)}),
				Properties(0, {Line Color(4)}, Item ID("Mean base quality", 1)),
				Properties(-1, {Line Color(4)}, Item ID("Base_Quality", 1))
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;Or you could add two y-axis and use Parallel Y Axes&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1764170419821.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87772iF54F16A8CD99EB43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1764170419821.png" alt="jthi_2-1764170419821.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and similarly tinker with enable/disable variables until you get what you wish&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1764170657299.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87773i166322830FE3A128/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1764170657299.png" alt="jthi_3-1764170657299.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 15:24:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/3-Y-axes-with-3-different-elements/m-p/915412#M107569</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-26T15:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Y-axes with 3 different elements</title>
      <link>https://community.jmp.com/t5/Discussions/3-Y-axes-with-3-different-elements/m-p/915426#M107572</link>
      <description>&lt;P&gt;Perfect, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 15:47:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/3-Y-axes-with-3-different-elements/m-p/915426#M107572</guid>
      <dc:creator>KScott</dc:creator>
      <dc:date>2025-11-26T15:47:36Z</dc:date>
    </item>
  </channel>
</rss>

