<?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: How do I adjust the scale and change the title of the y-axis of effect bars (proc logistic) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-adjust-the-scale-and-change-the-title-of-the-y-axis-of/m-p/914135#M360219</link>
    <description>&lt;P&gt;Most of the graphs produced by analysis procedures like Proc Logistic are to help you see the results and typically are not publication ready.&lt;/P&gt;
&lt;P&gt;If you really want to make a graph look a specific way I suggest that you export the appropriate data from the analysis procedure and use Proc Sgplot or Sgpanel as appropriate to make the graph(s).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without data or even a picture of the result it is hard to make any specific suggestions.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 23:29:20 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2024-02-01T23:29:20Z</dc:date>
    <item>
      <title>How do I adjust the scale and change the title of the y-axis of effect bars (proc logistic)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-adjust-the-scale-and-change-the-title-of-the-y-axis-of/m-p/914133#M360218</link>
      <description>&lt;P&gt;Hi all, I am using SAS studio. This is what my code looks like, but the y-axis looks shrunk for the first graph. I tried running the code again, using one effect plot...statement and it was still the same. I tried double-clicking on the graph, and right-click but no pop-up window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ods graphics on;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;proc logistic&lt;/STRONG&gt; data=multi descending;&lt;BR /&gt;&lt;STRONG&gt;class&lt;/STRONG&gt; damage(ref=first) smell(ref=first) smokeinlive(ref=first) employ(ref=first) pain(ref=first) clinicalinsomnia(ref=first) sleepquality1(ref=first) everasthma(ref=first) evercb(ref=first) evercopd(ref=first) depression(ref=first) everptsd(ref=first)&lt;STRONG&gt;/param=reference&lt;/STRONG&gt;;&lt;BR /&gt;&lt;STRONG&gt;model&lt;/STRONG&gt; everanxiety=damage smell smokeinlive employ clinicalinsomnia sleepquality1 pain everasthma evercb evercopd depression everptsd employ*sleepquality1 smokeinlive*sleepquality1;&lt;BR /&gt;&lt;STRONG&gt;effectplot interaction&lt;/STRONG&gt; (x=employ &lt;STRONG&gt;sliceby&lt;/STRONG&gt;=sleepquality1)/&lt;STRONG&gt;clm connect&lt;/STRONG&gt;;&lt;BR /&gt;&lt;STRONG&gt;effectplot interaction&lt;/STRONG&gt; (x=smokeinlive sliceby=sleepquality1)/&lt;STRONG&gt;clm connect&lt;/STRONG&gt;;&lt;BR /&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ods graphics off;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 23:23:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-adjust-the-scale-and-change-the-title-of-the-y-axis-of/m-p/914133#M360218</guid>
      <dc:creator>Madame_O</dc:creator>
      <dc:date>2024-02-01T23:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I adjust the scale and change the title of the y-axis of effect bars (proc logistic)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-adjust-the-scale-and-change-the-title-of-the-y-axis-of/m-p/914135#M360219</link>
      <description>&lt;P&gt;Most of the graphs produced by analysis procedures like Proc Logistic are to help you see the results and typically are not publication ready.&lt;/P&gt;
&lt;P&gt;If you really want to make a graph look a specific way I suggest that you export the appropriate data from the analysis procedure and use Proc Sgplot or Sgpanel as appropriate to make the graph(s).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without data or even a picture of the result it is hard to make any specific suggestions.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 23:29:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-adjust-the-scale-and-change-the-title-of-the-y-axis-of/m-p/914135#M360219</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-02-01T23:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I adjust the scale and change the title of the y-axis of effect bars (proc logistic)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-adjust-the-scale-and-change-the-title-of-the-y-axis-of/m-p/914147#M360223</link>
      <description>&lt;P&gt;Here is an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods output  InteractionPlot=InteractionPlot;
proc logistic data=sashelp.heart(obs=1000) descending;
class bp_status sex;
model status=height bp_status sex bp_status*sex;
effectplot interaction (x=sex sliceby=bp_status)/clm connect;
run;


ods graphics /width=800px height=600px;
proc sgplot data=InteractionPlot;
series  x=_XCLAS y=_PREDICTED/ group=_GROUP;
scatter x=_XCLAS y=_PREDICTED/yerrorlower=_UCLM yerrorupper=_LCLM group=_GROUP;
yaxis label='Whatever you want' values=(0 to 1 by 0.1) grid ;
xaxis offsetmin=0.1 offsetmax=0.1 ;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1706841807447.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93200i98EB27F189859338/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1706841807447.png" alt="Ksharp_0-1706841807447.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 02:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-adjust-the-scale-and-change-the-title-of-the-y-axis-of/m-p/914147#M360223</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-02-02T02:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I adjust the scale and change the title of the y-axis of effect bars (proc logistic)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-adjust-the-scale-and-change-the-title-of-the-y-axis-of/m-p/914576#M360393</link>
      <description>Thank you for the suggestions, I will try this.</description>
      <pubDate>Mon, 05 Feb 2024 21:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-adjust-the-scale-and-change-the-title-of-the-y-axis-of/m-p/914576#M360393</guid>
      <dc:creator>Madame_O</dc:creator>
      <dc:date>2024-02-05T21:27:43Z</dc:date>
    </item>
  </channel>
</rss>

