<?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: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831969#M23125</link>
    <description>&lt;P&gt;Could you explain how I am mixing raster and vector? The output must be in vector format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2022 15:39:29 GMT</pubDate>
    <dc:creator>JohnKeighley</dc:creator>
    <dc:date>2022-09-06T15:39:29Z</dc:date>
    <item>
      <title>Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831949#M23120</link>
      <description>&lt;P&gt;I am creating a graph for a publication and require the plot to be in vector format. I was happy with the plot in raster format. I have changed the sgplot output to create pdf's in vector format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Issues:&lt;/P&gt;
&lt;P&gt;1. Title is splitting&lt;/P&gt;
&lt;P&gt;2. The x-axis labels look like they are left justified&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code :&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;data attrmap;&lt;BR /&gt;input @1 id $5. @7 Value $7. linecolor $ fillcolor $ MarkerColor $ ;&lt;BR /&gt;datalines;&lt;BR /&gt;Group Group 1 cxA5A5A5 cxA5A5A5 cxA5A5A5&lt;BR /&gt;Group Group 2 cxFFC000 cxFFC000 cxFFC000&lt;BR /&gt;Group Group 3 cxED7D31 cxED7D31 cxED7D31&lt;BR /&gt;Group Group 4 cx4472C4 cx4472C4 cx4472C4&lt;BR /&gt;;&lt;BR /&gt;RUN ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let dpi=350;&lt;BR /&gt;ods graphics on/ reset=all border=off width=8.0in outputfmt=svg;&lt;BR /&gt;ods pdf dpi=&amp;amp;dpi file="P:\IRB_STUDY6101-Data Staff\Possible Papers\Prostate 2021\Final draft\Plots\graph1.pdf";&lt;BR /&gt;title j=l h=14pt f="Arial" "Figure 1. This is an example showing how sas is splitting of a title when I do not want SAS to do this" ; &lt;BR /&gt;proc sgplot data=rates0 noautolegend noborder dattrmap=attrmap;&lt;BR /&gt;series x=yeardx y=rate_pred/group=Group lineattrs=(pattern=solid thickness=2.0px) name="line" attrid=Group;&lt;BR /&gt;scatter x=yeardx y=rate_pred/group=Group markerattrs=(symbol=diamondfilled size=7) attrid=Group;&lt;BR /&gt;scatter x=yeardx1 y=rate_pred1/group=Group markerattrs=(symbol=circlefilled color=black size=11);&lt;BR /&gt;xaxis values=(2004 to 2019 by 1) label="Year of visit" labelattrs=(Family='Arial' Size=12) valueattrs=(Size=10);&lt;BR /&gt;yaxis values=(0 to 220 by 20) label="Rate (per 100,000)" labelattrs=(Family='Arial' Size=12) valueattrs=(Size=10);&lt;BR /&gt;keylegend "line"/ location=inside position=topright linelength=.25in across=4 noborder valueattrs=(Family='Arial' Size=10);&lt;BR /&gt;footnote j=l h=10pt f="Arial/bold" "*black dot indicates a spline location";&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 14:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831949#M23120</guid>
      <dc:creator>JohnKeighley</dc:creator>
      <dc:date>2022-09-06T14:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831952#M23121</link>
      <description>Try setting the linesize option?&lt;BR /&gt;&lt;BR /&gt;ods pdf linesize 500;</description>
      <pubDate>Tue, 06 Sep 2022 14:35:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831952#M23121</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-09-06T14:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831954#M23122</link>
      <description>&lt;P&gt;The example, as given, wraps for both raster and vector output. This happens because the font size is too large for the length of the title and the width of the graph. If I set the title font size to 10pt, it does not wrap for either raster or vector output.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 14:39:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831954#M23122</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2022-09-06T14:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831965#M23123</link>
      <description>&lt;P&gt;I have removed the&amp;nbsp;&lt;SPAN&gt;outputfmt=svg from the ods graphics statement. It is understanding that all ods pdf documents are vector graphics.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ods pdf linesize statement gives the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1896 ods pdf linesize 150;&lt;BR /&gt;--------&lt;BR /&gt;22&lt;BR /&gt;202&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, (, ACCESSIBLE,&lt;BR /&gt;ACCESSIBLE_IDENTIFIER, ANCHOR, AUTHOR, BACKGROUND, BASE, BODY,&lt;BR /&gt;BOOKMARK, BOOKMARKGEN, BOOKMARKLIST, BOX_SIZING, CLOSE, COLOR,&lt;BR /&gt;COLUMNS, COMPRESS, CONTENTS, CSSSTYLE, DISPLAY, DOM, DPI, EXCLUDE,&lt;BR /&gt;FILE, FONTSCALE, GFOOTNOTE, GTITLE, HOST, KEYWORDS, NAMED_DEST,&lt;BR /&gt;NEWFILE, NOACCESSIBLE, NOACCESSIBLE_IDENTIFIER, NOBACKGROUND,&lt;BR /&gt;NOBOOKMARKGEN, NOBOOKMARKLIST, NOCOLOR, NOCONTENTS, NOGFOOTNOTE,&lt;BR /&gt;NOGTITLE, NOPDFNOTE, NOTOC, PACKAGE, PCL, PDF, PDFMARK, PDFNOTE,&lt;BR /&gt;PDFTOC, PRINTER, PS, SAS, SELECT, SGE, SHOW, STARTPAGE, STYLE,&lt;BR /&gt;SUBJECT, TEXT, TITLE, UNIFORM.&lt;BR /&gt;ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure if linesize can be used with ods pdf.&lt;/P&gt;
&lt;P&gt;I have changed the font size for the title to 8 which doesn't wrap but it's unacceptable. It's left justified instead of centered on plot. Wrapping starts when the title length aligns with the left side of the lengend.&lt;/P&gt;
&lt;P&gt;I have attached the updated plot.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;%let dpi=350;&lt;BR /&gt;ods graphics on/ reset=all border=off width=8.0in;&lt;BR /&gt;ods pdf linesize 150;&lt;BR /&gt;ods pdf dpi=&amp;amp;dpi file="G:\Data\Papers\Plots\graph1.pdf";&lt;BR /&gt;title j=c h=10pt f="Arial" "Figure 1. This is an example showing how sas is splitting of a title when I do not want SAS to do this" ; &lt;BR /&gt;proc sgplot data=rates0 noautolegend noborder dattrmap=attrmap;&lt;BR /&gt;series x=yeardx y=rate_pred/group=Group lineattrs=(pattern=solid thickness=2.0px) name="line" attrid=Group;&lt;BR /&gt;scatter x=yeardx y=rate_pred/group=Group markerattrs=(symbol=diamondfilled size=7) attrid=Group;&lt;BR /&gt;scatter x=yeardx1 y=rate_pred1/group=Group markerattrs=(symbol=circlefilled color=black size=11);&lt;BR /&gt;xaxis values=(2004 to 2019 by 1) label="Year of visit" labelattrs=(Family='Arial' Size=9);&lt;BR /&gt;yaxis values=(0 to 220 by 20) label="Rate (per 100,000)" labelattrs=(Family='Arial' Size=9);&lt;BR /&gt;keylegend "line"/ location=inside position=topright linelength=.25in across=4 noborder valueattrs=(Family='Arial' Size=8);&lt;BR /&gt;footnote j=l h=8pt f="Arial/bold" "*black dot indicates a spline location";&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 15:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831965#M23123</guid>
      <dc:creator>JohnKeighley</dc:creator>
      <dc:date>2022-09-06T15:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831966#M23124</link>
      <description>&lt;P&gt;I am running SAS 9.4 m7 64 bit on Windows 10&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 15:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831966#M23124</guid>
      <dc:creator>JohnKeighley</dc:creator>
      <dc:date>2022-09-06T15:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831969#M23125</link>
      <description>&lt;P&gt;Could you explain how I am mixing raster and vector? The output must be in vector format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 15:39:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831969#M23125</guid>
      <dc:creator>JohnKeighley</dc:creator>
      <dc:date>2022-09-06T15:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831982#M23126</link>
      <description>&lt;P&gt;LINESIZE is not an option for ODS PDF. (It only makes sense for text output, as far as I know)&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 16:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831982#M23126</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-06T16:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831984#M23127</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16177"&gt;@JohnKeighley&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Could you explain how I am mixing raster and vector? The output must be in vector format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't think Dan is saying you're mixing the two, but that the results are the same regardless of format type. The issue is the font size makes the text too long to be on a single line. You need to reduce the font size.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 16:52:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831984#M23127</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-09-06T16:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831985#M23128</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16177"&gt;@JohnKeighley&lt;/a&gt;&amp;nbsp;my mistake! Linesize is not the correct fix here. It does look like the text is long enough to fit on a line at first glance, but I'd trust&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;testing over my non testing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&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>Tue, 06 Sep 2022 16:53:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831985#M23128</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-09-06T16:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831986#M23129</link>
      <description>&lt;P&gt;In your original post, you said that your graph looked fine with raster output, but not with vector output. To test that statement. I changed OUTPUTFMT=SVG to OUTPUTFMT=PNG on the ODS Graphics statement to have the raster output put into the PDF document. I got the same title-wrapping result using both PNG and SVG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you said you have a different result with raster output, my theory now is that you first created the graph using ODS LISTING. One important point to note is that the default ODS styles are different between LISTING and PDF output, so that title might look different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, changing the size of the title text in your TITLE statement should eliminate your wrapping problem (or shortening the length of the string). I assume the width of the graph must be at the current size due to publication requirements.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 16:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/831986#M23129</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2022-09-06T16:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832003#M23130</link>
      <description>&lt;P&gt;Paige&lt;/P&gt;
&lt;P&gt;Thank you for your comment. From what I was seeing on-line I agree.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, I've seen a lot of very good comments from Reeza so I'm not going to ignore a suggestion from her without testing or searching the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 18:17:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832003#M23130</guid>
      <dc:creator>JohnKeighley</dc:creator>
      <dc:date>2022-09-06T18:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832016#M23131</link>
      <description>&lt;P&gt;Do you have any suggestions about the point where the title starts wrapping? If you notice the legend in the upper right corner takes about half of the width of the graph. The tittle starts wrapping when it aligns with the left edge of the legend.&amp;nbsp; The graph should be 4 inches wide I have been trying different widths to see if the splitting starts on a different word when changing the width. My graph is going to look very strange if I have a title that takes multiple lines but it's only half the width of the graph area and it's left justified. I have tried to center and right justify the title to no effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am considering trying to use an ods text command to get the title since a title statement doesn't seem to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 18:26:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832016#M23131</guid>
      <dc:creator>JohnKeighley</dc:creator>
      <dc:date>2022-09-06T18:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832017#M23132</link>
      <description>&lt;P&gt;I have changed the font and it fits on one line as long as the text is short enough to fit on the left half of the graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 18:28:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832017#M23132</guid>
      <dc:creator>JohnKeighley</dc:creator>
      <dc:date>2022-09-06T18:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832024#M23133</link>
      <description>&lt;P&gt;I'm not seeing any of the behavior you describe. The legend is inside of the data area, so it has no impact on the title. For me, the title goes all of the way across the graph and wraps due to the length.&lt;/P&gt;
&lt;P&gt;Can you run your test setting OUTPUTFMT=PNG for your PDF output and post it here? I want to make sure this is not a font issue. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 18:36:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832024#M23133</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2022-09-06T18:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832028#M23134</link>
      <description>&lt;P&gt;This is what I see:&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="DanH_sas_0-1662489727652.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75028iE843F5422070A911/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanH_sas_0-1662489727652.png" alt="DanH_sas_0-1662489727652.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 18:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832028#M23134</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2022-09-06T18:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832033#M23135</link>
      <description>&lt;P&gt;Dan&lt;/P&gt;
&lt;P&gt;These are the options that used earlier when creating the png files. I believe you are correct, and I was using listing previously. Code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let gpath='G:\Data\Papers\Plots\'; &lt;BR /&gt;%let dpi=350;&lt;BR /&gt;ods listing style=htmlblue image_dpi=&amp;amp;dpi gpath=&amp;amp;gpath; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have alos attached the result of the PNG file and title doesn't wrap and it centered on the graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I get this with the pdf vector output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 18:57:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832033#M23135</guid>
      <dc:creator>JohnKeighley</dc:creator>
      <dc:date>2022-09-06T18:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832045#M23136</link>
      <description>&lt;P&gt;This looks like some sort of font issue on your system. The title is not breaking due to the legend. If you notice, the title is breaking in the same place as the image I posted, but the FONT is compressed. In fact, ALL of the text in the plot looks compressed in the original PDF you posted. Let's try another experiment: on the ODS PDF statement, set STYLE=HTMLENCORE. This style uses a different font face.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By any chance do you have OPTIONS NOFONTEMBEDDING set anywhere?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 19:29:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832045#M23136</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2022-09-06T19:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832046#M23137</link>
      <description>&lt;P&gt;I agree that the results are very different when using the&amp;nbsp;&lt;SPAN&gt;OUTPUTFMT=PNG vs not using when creating the pdf.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am not sure of how to check the&amp;nbsp;OPTIONS NOFONTEMBEDDING. I know that it's not in my program. I ran a proc options, and a proc goptions and checked for that text string in the log and didn't find it so I don't think that it is set.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have a copy of the file after using the style option in the ods pdf statement.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I agree that it appears that the text is compressed in the pdf vector file. This is the first time that I have explicitly requested used the vector format in a pdf file. From searches I believe that all of the pdf's that I have created in the past were vector files and I didn't know it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2 id="n1t73d1kv8sjwjn1npcr1qv0vnkf" class="xisDoc-title"&gt;Specifying the Image Format&lt;/H2&gt;
&lt;P class="xisDoc-paragraph"&gt;Each ODS destination uses a default format for its output. You can use the OUTPUTFMT= option in the ODS GRAPHICS statement to change the output format.&lt;/P&gt;
&lt;DIV id="p08p4eltper80cn1edfhjrn8o6kr" class="xisDoc-note"&gt;&lt;SPAN class="xisDoc-noteGenText"&gt;Note:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;Unless you have a special requirement for changing the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN aria-live="polite"&gt;&lt;BUTTON class="Glossary_term__1sogC LinkButton_button__17uC9" aria-label="image format"&gt;&lt;SPAN class="xisDoc-glossTerm" data-gloss-term="1"&gt;image format&lt;/SPAN&gt;&lt;/BUTTON&gt;&lt;/SPAN&gt;, we recommend that you not change it. The default PNG or vector graphic format is far superior to other formats, such as GIF, in support for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN aria-live="polite"&gt;&lt;BUTTON class="Glossary_term__1sogC LinkButton_button__17uC9" aria-label="transparency"&gt;&lt;SPAN class="xisDoc-glossTerm" data-gloss-term="1"&gt;transparency&lt;/SPAN&gt;&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and a large number of colors. Also, PNG and vector graphics images require much less disk storage space than JPEG or TIFF formats.&lt;/DIV&gt;
&lt;P class="xisDoc-paragraph"&gt;If you want to generate vector graphics images, you can use the following OUTPUTFMT= values for each destination:&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;&amp;nbsp;&lt;/P&gt;
&lt;SECTION class="xisDoc-tableWrap"&gt;
&lt;TABLE id="p10gt2jsjjnfngn1d6dyhv216rdk" class="xisDoc-table"&gt;&lt;CAPTION class="xisDoc-title"&gt;Generating Vector Graphics Output with ODS&lt;/CAPTION&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="xisDoc-verticalTop"&gt;
&lt;P class="xisDoc-paragraph"&gt;ODS Destination&lt;/P&gt;
&lt;/TH&gt;
&lt;TH class="xisDoc-verticalTop"&gt;
&lt;P class="xisDoc-paragraph"&gt;OUTPUTFMT=value&lt;/P&gt;
&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;ODS EPUB&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;OUTPUTFMT=SVG&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;ODS destination for Excel&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;OUTPUTFMT=EMF&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;ODS HTML&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;OUTPUTFMT=SVG&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;ODS LISTING&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;OUTPUTFMT=EMF&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;OUTPUTFMT=PDF&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;OUTPUTFMT=PS | EPS | EPSI&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;OUTPUTFMT=SVG&lt;/P&gt;
&lt;P class="xisDoc-paragraph"&gt;OUTPUTFMT=PCL&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;ODS PDF&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P class="xisDoc-paragraph"&gt;Vector graphics images are generated by default&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/SECTION&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 19:54:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832046#M23137</guid>
      <dc:creator>JohnKeighley</dc:creator>
      <dc:date>2022-09-06T19:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832182#M23142</link>
      <description>&lt;P&gt;I discussed this font behavior with some other colleagues. One suggested setting the SASPRTC graph driver might clear this up. Please add this line to the beginning of your program and see if it helps:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;goptions device=SASPRTC;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please let me know if that helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 17:17:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832182#M23142</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2022-09-07T17:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Graph title is splitting across lines. I haven’t asked for splitting and don’t want this.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832194#M23143</link>
      <description>&lt;P&gt;Dan&lt;/P&gt;
&lt;P&gt;I teach until 5:30 CST but I run this and post after class.&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 18:12:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-title-is-splitting-across-lines-I-haven-t-asked-for/m-p/832194#M23143</guid>
      <dc:creator>JohnKeighley</dc:creator>
      <dc:date>2022-09-07T18:12:00Z</dc:date>
    </item>
  </channel>
</rss>

