<?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: Limiting Log 10 Scale Axis to 2000 in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Limiting-Log-10-Scale-Axis-to-2000/m-p/586812#M14579</link>
    <description>&lt;P&gt;Doesn't work is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the {i} to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat&lt;/A&gt;... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, since this is a graphic issue then you need to post an example of the output and describe what is "wrong". For instance, did you expect a tick mark to appear at equivalent of 200? Of did some or all of your expected values not plot? With out your data or an example of the result it is &lt;STRONG&gt;real hard&lt;/STRONG&gt; to guess what might not have "worked".&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2019 16:44:36 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-09-06T16:44:36Z</dc:date>
    <item>
      <title>Limiting Log 10 Scale Axis to 2000</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Limiting-Log-10-Scale-Axis-to-2000/m-p/586806#M14576</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a figure that displays 0.1 - 10000 in Log 10 scale on the Y-axis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to the nature of the data - the maximum value I have in the data is 1996.&amp;nbsp; Hence is it possible to display the Y-axis from 0.1 to 2000 using Log 10 scale?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the following in my PROC TEMPLATE code using VIEWMIN and VIEWMAX, but this did not work:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template ;
    define statgraph series_ratio;

    begingraph; discreteattrvar attrvar=groupvar var=groupvar attrmap="GROUPVAR";
    layout lattice / columns=2 columnweights=(0.5 0.5) columngutter=15pct;
        legendItem type=line name="q8w" / lineattrs=(color=blue pattern=1) label="Q8W";
        legendItem type=line name="q4w" / lineattrs=(color=red pattern=1)  label="Q4W";

      cell;
        layout overlay / yaxisopts=(label=("Plasma DRUG1 (ng/mL)") labelsplitchar="~" LABELFITPOLICY=SPLIT type=log logopts=(base=10 tickintervalstyle=logexpand minorticks=TRUE thresholdmin=1 thresholdmax=1 viewmin=0 viewmax=2000 ))

                         xaxisopts=(offsetmin=0.05 offsetmax=0.05 label=("Time since Last DRUG1 Injection (weeks)") labelsplitchar="~" LABELFITPOLICY=SPLIT
                                    linearopts=(viewmin=0 viewmax=60 tickvaluesequence=(start=0 end=60 increment=4) tickvaluefitpolicy=none));

           seriesplot x=arelwk_rpv y=aval_rpv / group=groupvar;
        endlayout;
      endcell;

      cell;
        layout overlay / yaxisopts=(label=("Plasma DRUG2 (ug/mL)") labelsplitchar="~" LABELFITPOLICY=SPLIT type=log logopts=(base=10 /*tickintervalstyle=logexpand*/ minorticks=TRUE thresholdmin=1 thresholdmax=1 viewmin=0 viewmax=20 ))

                         xaxisopts=(offsetmin=0.05 offsetmax=0.05 label=("Time since Last DRUG2 Injection (weeks)") labelsplitchar="~" LABELFITPOLICY=SPLIT
                                    linearopts=(viewmin=0 viewmax=60 tickvaluesequence=(start=0 end=60 increment=4) tickvaluefitpolicy=none));

               seriesplot x=arelwk_cab y=aval_cab / group=groupvar;
        endlayout;
      endcell;
    endlayout;

    layout globallegend / border=false;
        discretelegend "q8w" "q4w"/ title="Treatment    ";
    endlayout;
    endgraph;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mani&lt;BR /&gt;Mani&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 16:18:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Limiting-Log-10-Scale-Axis-to-2000/m-p/586806#M14576</guid>
      <dc:creator>Mani2</dc:creator>
      <dc:date>2019-09-06T16:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Log 10 Scale Axis to 2000</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Limiting-Log-10-Scale-Axis-to-2000/m-p/586812#M14579</link>
      <description>&lt;P&gt;Doesn't work is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the {i} to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat&lt;/A&gt;... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, since this is a graphic issue then you need to post an example of the output and describe what is "wrong". For instance, did you expect a tick mark to appear at equivalent of 200? Of did some or all of your expected values not plot? With out your data or an example of the result it is &lt;STRONG&gt;real hard&lt;/STRONG&gt; to guess what might not have "worked".&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 16:44:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Limiting-Log-10-Scale-Axis-to-2000/m-p/586812#M14579</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-06T16:44:36Z</dc:date>
    </item>
  </channel>
</rss>

