<?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: Can you rename the y-axis when using an overlay option for a proc plot step? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/892934#M352709</link>
    <description>&lt;P&gt;Sorry for the late reply, but I appreciate the info. Is it something that is covered in the courses? Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2023 13:32:18 GMT</pubDate>
    <dc:creator>FattahMArif</dc:creator>
    <dc:date>2023-09-06T13:32:18Z</dc:date>
    <item>
      <title>Can you rename the y-axis when using an overlay option for a proc plot step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/891963#M352340</link>
      <description>&lt;P&gt;Sorry if this is the wrong location. It's confusing to figure out which one is the correct forum, but I want to rename the y-axis of the plot that is produced by&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;proc plot;

	plot energy_weekday * temp = 'W'
		energy_weekend * temp = 'S'
		/overlay;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to "energy" (right now, the plot shows "energy_weekday" as the y-axis).&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 15:15:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/891963#M352340</guid>
      <dc:creator>FattahMArif</dc:creator>
      <dc:date>2023-08-31T15:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can you rename the y-axis when using an overlay option for a proc plot step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/891965#M352341</link>
      <description>&lt;P&gt;Put a label statement into the code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc plot;
    plot energy_weekday * temp = 'W' energy_weekend * temp = 'S'/overlay;
    label energy_weekday='Energy';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Aug 2023 15:17:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/891965#M352341</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-08-31T15:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can you rename the y-axis when using an overlay option for a proc plot step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/891966#M352342</link>
      <description>Thanks, it worked! It looks a bit awkward, so idk if there's a way to format it better, but it at least got the job done</description>
      <pubDate>Thu, 31 Aug 2023 15:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/891966#M352342</guid>
      <dc:creator>FattahMArif</dc:creator>
      <dc:date>2023-08-31T15:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can you rename the y-axis when using an overlay option for a proc plot step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/891982#M352348</link>
      <description>&lt;P&gt;Haven't used Proc PLOT in over 30 years.&lt;/P&gt;
&lt;P&gt;Is there a reason you don't want a nicer looking plot or is this intended for line-printer output?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 15:50:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/891982#M352348</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-08-31T15:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can you rename the y-axis when using an overlay option for a proc plot step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/891983#M352349</link>
      <description>&lt;P&gt;This is what my team has been doing since before I joined. What do you recommend instead?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 15:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/891983#M352349</guid>
      <dc:creator>FattahMArif</dc:creator>
      <dc:date>2023-08-31T15:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can you rename the y-axis when using an overlay option for a proc plot step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/892002#M352359</link>
      <description>&lt;P&gt;With any version of SAS since 9.1 I would be using Proc SGPLOT or SGPANEL for plots.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should have the SASHELP.Class data set available to test the following code which produces two similar plots:&lt;/P&gt;
&lt;PRE&gt;proc plot data=sashelp.class;
  plot weight*height
     /vpos=25
  ;
run;

proc sgplot data=sashelp.class;
  scatter x=height y=weight/markerattrs=(color=blue) transparency=.5;
run;&lt;/PRE&gt;
&lt;P&gt;I used the transparency setting to make the colors in the SGPLOT output a bit transparent so when multiple values overlay that is shown by a more intense color fill instead of the letter B in the Plot result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sgplot adds multiple types of graphs, quite a bit more appearance options and will create pretty nice appearing output when sent to document formats like PDF and RTF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 17:08:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/892002#M352359</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-08-31T17:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can you rename the y-axis when using an overlay option for a proc plot step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/892934#M352709</link>
      <description>&lt;P&gt;Sorry for the late reply, but I appreciate the info. Is it something that is covered in the courses? Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 13:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-rename-the-y-axis-when-using-an-overlay-option-for-a/m-p/892934#M352709</guid>
      <dc:creator>FattahMArif</dc:creator>
      <dc:date>2023-09-06T13:32:18Z</dc:date>
    </item>
  </channel>
</rss>

