<?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: Font of xaxis, text box and mnior tick marks in sgplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Font-of-xaxis-text-box-and-mnior-tick-marks-in-sgplot/m-p/854245#M23437</link>
    <description>&lt;P&gt;Setting TYPE-DISCRETE on the X axis will prevent you from displaying any axis minor tick values, as minor ticks are not applicable in that case.&lt;/P&gt;
&lt;P&gt;If your "year" data is in date time format, remove the TYPE=DISCRETE and set INTERVAL=YEAR and MINOR.&lt;/P&gt;
&lt;P&gt;If your "year" data is just a double column,&amp;nbsp;remove the TYPE=DISCRETE and set INTEGER and MINOR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if either of these work for you.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 02:19:15 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2023-01-18T02:19:15Z</dc:date>
    <item>
      <title>Font of xaxis, text box and mnior tick marks in sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Font-of-xaxis-text-box-and-mnior-tick-marks-in-sgplot/m-p/853603#M23418</link>
      <description>&lt;P&gt;I'm running this code in SAS:&lt;/P&gt;&lt;P&gt;* Series plot;&lt;BR /&gt;PROC SGPLOT DATA = UsGR;&lt;BR /&gt;SERIES X = Year Y = Overall_RBC /lineattrs =(color=red thickness =2pt);&lt;BR /&gt;SERIES X = Year Y = New/lineattrs =(color=blue thickness =2pt);&lt;BR /&gt;SERIES X = Year Y = Existing/lineattrs =(color=green thickness =2pt);&lt;BR /&gt;SERIES X = Year Y = Replace/lineattrs =(color=purple thickness =2pt);&lt;BR /&gt;XAXIS TYPE = Discrete labelattrs=(size=2);&lt;BR /&gt;XAXIS values =(1953 to 2016 by 2);&lt;BR /&gt;YAXIS LABEL = 'RBC Score';&lt;BR /&gt;title 'U.S. Decomposition';&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It gives me the graph I want however on the x-axis I want minor tick marks between the years (i.e 1953 (a tick mark for 1954) 1955 etc.&amp;nbsp; Also I want all my&amp;nbsp; xaxis years to be horizontal not slanted labels.&amp;nbsp; I would also like to have textbox (legend) in the topleft&amp;nbsp; if it can be done that looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Samasim_0-1673569236215.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79336i68B8A35731C03B70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Samasim_0-1673569236215.png" alt="Samasim_0-1673569236215.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 00:21:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Font-of-xaxis-text-box-and-mnior-tick-marks-in-sgplot/m-p/853603#M23418</guid>
      <dc:creator>Samasim</dc:creator>
      <dc:date>2023-01-13T00:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Font of xaxis, text box and mnior tick marks in sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Font-of-xaxis-text-box-and-mnior-tick-marks-in-sgplot/m-p/854242#M23436</link>
      <description>&lt;P&gt;Can you attach an example of what your graph looks like?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 01:17:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Font-of-xaxis-text-box-and-mnior-tick-marks-in-sgplot/m-p/854242#M23436</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2023-01-18T01:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Font of xaxis, text box and mnior tick marks in sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Font-of-xaxis-text-box-and-mnior-tick-marks-in-sgplot/m-p/854245#M23437</link>
      <description>&lt;P&gt;Setting TYPE-DISCRETE on the X axis will prevent you from displaying any axis minor tick values, as minor ticks are not applicable in that case.&lt;/P&gt;
&lt;P&gt;If your "year" data is in date time format, remove the TYPE=DISCRETE and set INTERVAL=YEAR and MINOR.&lt;/P&gt;
&lt;P&gt;If your "year" data is just a double column,&amp;nbsp;remove the TYPE=DISCRETE and set INTEGER and MINOR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if either of these work for you.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 02:19:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Font-of-xaxis-text-box-and-mnior-tick-marks-in-sgplot/m-p/854245#M23437</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2023-01-18T02:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Font of xaxis, text box and mnior tick marks in sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Font-of-xaxis-text-box-and-mnior-tick-marks-in-sgplot/m-p/854264#M23438</link>
      <description>&lt;P&gt;" I would also like to have textbox (legend) in the topleft if it can be done that looks like this".&lt;/P&gt;
&lt;P&gt;This would be an INSET such as below:&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=sashelp.class;
   scatter x=height y=height;
   inset  "Line 1 of inset text"
          "Line 2 of inset text"
          "Line 3 of inset text"
         /title='This is title for inset box'
   ;
run;
         &lt;/PRE&gt;
&lt;P&gt;You show a picture that I am too lazy to type. There are options to specify text appearance and location options. The default is upper left inside the graph area.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LEGENDS are something completely different and describe such things as line color/type or marker meanings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 05:57:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Font-of-xaxis-text-box-and-mnior-tick-marks-in-sgplot/m-p/854264#M23438</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-01-18T05:57:05Z</dc:date>
    </item>
  </channel>
</rss>

