<?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 to change axis variables? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246991#M8953</link>
    <description>&lt;P&gt;I assume you are using PROC UNIVARIATE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The standard form is the way that PROC UNIVARIATE creates it, so I encourage you to use that form. However, if you insist of making the Q-Q plot "backawards," you have two options:&lt;/P&gt;
&lt;P&gt;1. Forget about UNIVARIATE and create the data yourself by using the DATA step and the SCATTER statement in PROC SGPLOT. See the end of &lt;A href="http://blogs.sas.com/content/iml/2011/10/28/modeling-the-distribution-of-data-create-a-qq-plot.html" target="_self"&gt;my blog post about Q-Q plots&lt;/A&gt; for an example.&lt;/P&gt;
&lt;P&gt;2. Use PROC UNIVARIATE to create the plot, but write the data from the graph into a data set and then use PROC SGPLOT to reverse the axes.&amp;nbsp; To write the data, put the following statement before your UNIVARIATE call:&lt;/P&gt;
&lt;P&gt;ODS OUTPUT QQPLOT=QQ;&lt;/P&gt;
&lt;P&gt;Then use the techniques in my blog post &lt;A href="http://blogs.sas.com/content/iml/2012/08/01/data-fro-ods-graphics.html" target="_self"&gt;"How to get data values out of ODS graphics"&lt;/A&gt;&amp;nbsp;to figure out the names of the variables that you need. The SCATTER statement in PROC SGPLOT completes the job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2016 21:41:05 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-01-29T21:41:05Z</dc:date>
    <item>
      <title>How to change axis variables?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246986#M8949</link>
      <description>&lt;P&gt;I am quite new to SAS, and I am trying to make a quantile diagram where the data is aligned along the 1. axis, and the normal distribution quantiles along the 2. axis, but I don't know how - when I use qqplot it aligns it the other way around.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 21:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246986#M8949</guid>
      <dc:creator>zg5002</dc:creator>
      <dc:date>2016-01-29T21:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to change axis variables?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246987#M8950</link>
      <description>&lt;P&gt;What are you using to create your graphics? What version of SAS are you using?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 21:24:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246987#M8950</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-01-29T21:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to change axis variables?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246990#M8952</link>
      <description>&lt;P&gt;I am using SAS 9.4, and the code I am using is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC UNIVARIATE data = diff;&lt;BR /&gt;QQPLOT differens / NORMAL(mu = est sigma = est l=2)&lt;BR /&gt;square;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that answers your question?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 21:40:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246990#M8952</guid>
      <dc:creator>zg5002</dc:creator>
      <dc:date>2016-01-29T21:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to change axis variables?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246991#M8953</link>
      <description>&lt;P&gt;I assume you are using PROC UNIVARIATE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The standard form is the way that PROC UNIVARIATE creates it, so I encourage you to use that form. However, if you insist of making the Q-Q plot "backawards," you have two options:&lt;/P&gt;
&lt;P&gt;1. Forget about UNIVARIATE and create the data yourself by using the DATA step and the SCATTER statement in PROC SGPLOT. See the end of &lt;A href="http://blogs.sas.com/content/iml/2011/10/28/modeling-the-distribution-of-data-create-a-qq-plot.html" target="_self"&gt;my blog post about Q-Q plots&lt;/A&gt; for an example.&lt;/P&gt;
&lt;P&gt;2. Use PROC UNIVARIATE to create the plot, but write the data from the graph into a data set and then use PROC SGPLOT to reverse the axes.&amp;nbsp; To write the data, put the following statement before your UNIVARIATE call:&lt;/P&gt;
&lt;P&gt;ODS OUTPUT QQPLOT=QQ;&lt;/P&gt;
&lt;P&gt;Then use the techniques in my blog post &lt;A href="http://blogs.sas.com/content/iml/2012/08/01/data-fro-ods-graphics.html" target="_self"&gt;"How to get data values out of ODS graphics"&lt;/A&gt;&amp;nbsp;to figure out the names of the variables that you need. The SCATTER statement in PROC SGPLOT completes the job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 21:41:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246991#M8953</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-01-29T21:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to change axis variables?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246993#M8955</link>
      <description>&lt;P&gt;Thanks, I'll see if I can get it working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 21:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/246993#M8955</guid>
      <dc:creator>zg5002</dc:creator>
      <dc:date>2016-01-29T21:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to change axis variables?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/247004#M8956</link>
      <description>&lt;P&gt;Out of curiousity why do you want it different than the standard view?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 23:38:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-axis-variables/m-p/247004#M8956</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-29T23:38:44Z</dc:date>
    </item>
  </channel>
</rss>

