<?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 How to italicize single word in axis title/legend in Graph Builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-italicize-single-word-in-axis-title-legend-in-Graph/m-p/282088#M54596</link>
    <description>&lt;P&gt;Is there any way to italicize just a single word in legends and axis titles in Graph Builder? When selecting fonts in Graph Builder, it allows you to change the font of the entire title or legend entry but not one specific word. Specifically, I need to change the word "Salmonella" to "&lt;EM&gt;Salmonella&lt;/EM&gt;" without changing the font of the rest of the words to italics as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately, I'd like to see "Bev1 + &lt;EM&gt;Salmonella&lt;/EM&gt;" and "Bev2 + &lt;EM&gt;Salmonella&lt;/EM&gt;".&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course I could copy the graph in word and paste over the title with the correct word and font, but that seems like a sloppy way to do it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated!&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:04:02 GMT</pubDate>
    <dc:creator>SB_UTK_UGA</dc:creator>
    <dc:date>2023-06-11T11:04:02Z</dc:date>
    <item>
      <title>How to italicize single word in axis title/legend in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-italicize-single-word-in-axis-title-legend-in-Graph/m-p/282088#M54596</link>
      <description>&lt;P&gt;Is there any way to italicize just a single word in legends and axis titles in Graph Builder? When selecting fonts in Graph Builder, it allows you to change the font of the entire title or legend entry but not one specific word. Specifically, I need to change the word "Salmonella" to "&lt;EM&gt;Salmonella&lt;/EM&gt;" without changing the font of the rest of the words to italics as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately, I'd like to see "Bev1 + &lt;EM&gt;Salmonella&lt;/EM&gt;" and "Bev2 + &lt;EM&gt;Salmonella&lt;/EM&gt;".&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course I could copy the graph in word and paste over the title with the correct word and font, but that seems like a sloppy way to do it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated!&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:04:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-italicize-single-word-in-axis-title-legend-in-Graph/m-p/282088#M54596</guid>
      <dc:creator>SB_UTK_UGA</dc:creator>
      <dc:date>2023-06-11T11:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to italicize single word in axis title/legend in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-italicize-single-word-in-axis-title-legend-in-Graph/m-p/310920#M56413</link>
      <description>&lt;P&gt;its a little tricky, and you have to knock a decade or two of dust off your HTML skills.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Save the script of your figure, make sure you have edited the text that you want to change.&lt;/P&gt;
&lt;P&gt;Then go in to the script and add good ol'e markup to &amp;nbsp;&amp;lt;I&amp;gt;italicize &amp;lt;I/&amp;gt; the text. Check the scripting index for MARKUP and to find examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//open Big Class.jmp and run this
obj=Graph Builder(
	Size( 570, 490 ),
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ), Group X( :age ), Group Y( :sex ) ),
	Elements( Points( X, Y, Legend( 2 ) ), Smoother( X, Y, Legend( 3 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"graph title",
			TextEditBox,
			{Set Text( "&amp;lt;i&amp;gt;italic&amp;lt;/i&amp;gt; vs. normal" )}
		)
	)
);

go= report (obj) [texteditbox(1)]&amp;lt;&amp;lt;markup;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Sep 2020 14:31:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-italicize-single-word-in-axis-title-legend-in-Graph/m-p/310920#M56413</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2020-09-22T14:31:04Z</dc:date>
    </item>
  </channel>
</rss>

