<?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: SGPLOT graph names variables orders by Q3 in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-graph-names-variables-orders-by-Q3/m-p/245836#M8909</link>
    <description>&lt;P&gt;Your question isn't clear to me, but at a guess:&lt;/P&gt;
&lt;P&gt;proc sgplot ...;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; by avariable;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; title "The by variable value here is #byvar1"; &amp;nbsp;/* Note you can also use #byval1 */&lt;/P&gt;
&lt;P&gt;&amp;nbsp; scatter x=... y=...;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi23/Coders/p75.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi23/Coders/p75.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2016 09:49:56 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-01-25T09:49:56Z</dc:date>
    <item>
      <title>SGPLOT graph names variables orders by Q3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-graph-names-variables-orders-by-Q3/m-p/245827#M8908</link>
      <description>&lt;P&gt;Maybe a trivial question, but how can I make the graphs (scatterplots) generated from SGPlot to show the BY variables as the graph title and not "Variables ordered by Q3"? This came about after I used PROC Transpose to change my data from wide to long format and after which I sorted the response variable according to a&amp;nbsp;categorical grouping with PROC Sort.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find anything on this in the documentation or on the web and I'm getting desperate &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 09:16:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-graph-names-variables-orders-by-Q3/m-p/245827#M8908</guid>
      <dc:creator>JulieM</dc:creator>
      <dc:date>2016-01-25T09:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT graph names variables orders by Q3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-graph-names-variables-orders-by-Q3/m-p/245836#M8909</link>
      <description>&lt;P&gt;Your question isn't clear to me, but at a guess:&lt;/P&gt;
&lt;P&gt;proc sgplot ...;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; by avariable;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; title "The by variable value here is #byvar1"; &amp;nbsp;/* Note you can also use #byval1 */&lt;/P&gt;
&lt;P&gt;&amp;nbsp; scatter x=... y=...;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi23/Coders/p75.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi23/Coders/p75.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 09:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-graph-names-variables-orders-by-Q3/m-p/245836#M8909</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-01-25T09:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT graph names variables orders by Q3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-graph-names-variables-orders-by-Q3/m-p/245847#M8910</link>
      <description>&lt;P&gt;Another guess: when you use PROC TRANSPOSE, the new variables are given a default label. If you don't like the label on the axes, you can use the XAXIS and YAXIS statements to change them:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot;&lt;/P&gt;
&lt;P&gt;scatter x=x y=y;&lt;/P&gt;
&lt;P&gt;xaxis label="My X label";&lt;/P&gt;
&lt;P&gt;yaxis label="My&amp;nbsp;Y label";&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 10:55:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-graph-names-variables-orders-by-Q3/m-p/245847#M8910</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-01-25T10:55:12Z</dc:date>
    </item>
  </channel>
</rss>

