<?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: Some of tick values have bee thinned in SAS Gplot, How can display all tick values? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/283762#M10036</link>
    <description>&lt;P&gt;Also, you can use FITPOLICY=none for the yaxis.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2016 13:22:30 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2016-07-12T13:22:30Z</dc:date>
    <item>
      <title>Some of tick values have been thinned in SAS SGplot, How can display all tick values?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/283713#M10029</link>
      <description>&lt;DIV class="page"&gt;
&lt;DIV class="section"&gt;
&lt;DIV class="layoutArea"&gt;
&lt;DIV class="column"&gt;
&lt;P&gt;&lt;SPAN&gt;plot of the odds ratios and their 95% confidence intervals created using SAS PROC SGPLOT,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but some of the tick values have been thinned. How plot the figure without remove or thinned tick values ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks a lot!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; title "SGPLOT: Forest Plot";
   proc sgplot data=excel_b;
    scatter x=oddsratioest y=effect / xerrorlower=lowercl
                                  xerrorupper=uppercl
                                  markerattrs=or
                                 (symbol=DiamondFilled size=5);
    refline 1 / axis=x;
    xaxis label="OR and 95% CI " min=0.9;
    yaxis label="Covariates";
  run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="vBQcbWl.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/4010i2BA10E047713268C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vBQcbWl.png" alt="vBQcbWl.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Jun 2021 13:18:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/283713#M10029</guid>
      <dc:creator>zinojeng</dc:creator>
      <dc:date>2021-06-14T13:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Some of tick values have bee thinned in SAS Gplot, How can display all tick values?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/283721#M10031</link>
      <description>&lt;P&gt;With that many discrete vertical labels, there isn't enough room to plot them all without labels overlapping (which SGPLOT tries to avoid). You can&lt;/P&gt;
&lt;P&gt;1. Decrease the font size for the tick values. Probably size=8 is about the smallest that can be read.&lt;/P&gt;
&lt;P&gt;2. Increase the vertical size of the plot. Plots can stretch arbitrarily long.&lt;/P&gt;
&lt;P&gt;3. Do both&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To decrease the font size, use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;YAXIS / valueattrs=(size=8);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To increase the vertical dimension of the graph, use the following BEFORE the call to PROC SGPLOT, For example:&lt;/P&gt;
&lt;P&gt;ods graphics / width=500px height=800px;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option: Since you have two stages, you could use PROC SGPANEL to create a panel of plots, one for each stage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 09:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/283721#M10031</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-07-12T09:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Some of tick values have bee thinned in SAS Gplot, How can display all tick values?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/283762#M10036</link>
      <description>&lt;P&gt;Also, you can use FITPOLICY=none for the yaxis.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 13:22:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/283762#M10036</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-07-12T13:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Some of tick values have bee thinned in SAS Gplot, How can display all tick values?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/412202#M14136</link>
      <description>&lt;P&gt;I have a similar problem with SGPLOT - it seems to ignore all my suggestions.&amp;nbsp; I want an x axis with a format of monname1., i.e., JFMAMJJASOND, but with the code below (and variations) I always get this in the log, and an axis that shows "01Jan 01Feb 01Mar..."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics / width=1000px height=600px;&lt;/P&gt;&lt;P&gt;proc sgpanel data=work.mean_xyz;&lt;BR /&gt;where upcase(some_category) = "BLAHBLAH";&lt;BR /&gt;panelby product;&lt;BR /&gt;&lt;STRONG&gt;colaxis valuesformat=monname1. valueattrs=(size=8) fitpolicy=none;&lt;/STRONG&gt;&lt;BR /&gt;rowaxis label="XYZ";&lt;BR /&gt;series x=obsdate y=model_xyz;&lt;BR /&gt;series x=obsdate y=act_xyz;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: The column format YYMMDDD10 is replaced by an auto-generated format on the axis.&lt;BR /&gt;NOTE: Some of the tick values have been thinned.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 02:30:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/412202#M14136</guid>
      <dc:creator>DougZ</dc:creator>
      <dc:date>2017-11-10T02:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Some of tick values have bee thinned in SAS Gplot, How can display all tick values?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/412203#M14137</link>
      <description>&lt;P&gt;I meant SGPANEL, not SGPLOT&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 02:53:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Some-of-tick-values-have-been-thinned-in-SAS-SGplot-How-can/m-p/412203#M14137</guid>
      <dc:creator>DougZ</dc:creator>
      <dc:date>2017-11-10T02:53:09Z</dc:date>
    </item>
  </channel>
</rss>

