<?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: Quadratic graphs in proc sgplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/431863#M14900</link>
    <description>&lt;P&gt;Depending on how complex your SG procedure is, most statements have options for specifying line colors and such.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can use Attribute Maps:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/30/auto-discrete-attr-map.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/30/auto-discrete-attr-map.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2018 17:03:10 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-01-29T17:03:10Z</dc:date>
    <item>
      <title>Quadratic graphs in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/431826#M14897</link>
      <description>&lt;P&gt;ods graphics on;&lt;BR /&gt;proc logistic data=HEERDT.VPICU_label plots(only)=effect(x=Ind_SBP1 connect yrange=(0,1) cl );&lt;BR /&gt;model VP24_VasoNE_012(ref='0') = Ind_SBP1 |Ind_SBP1 / nooddsratio link=glogit ct covb clodds=wald;&lt;BR /&gt;where VP24_VasoNE_012 NE 1;&lt;BR /&gt;title '';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Above is the code I used to contruct a graph &amp;nbsp;in an ordinal logistic regression, with a quadratic transformation of a continuous independent variable.&lt;/P&gt;&lt;P&gt;I didn't seem to have many choices here in terms of changing the title, getting rid of gridlines, adjusting the axes etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better way using proc sgplot or otherwise?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 16:04:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/431826#M14897</guid>
      <dc:creator>ChristosK</dc:creator>
      <dc:date>2018-01-29T16:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Quadratic graphs in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/431851#M14898</link>
      <description>&lt;P&gt;You can get the data for that graph using ODS and then use PROC SGPLOT to customize it as desired.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 16:46:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/431851#M14898</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-29T16:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Quadratic graphs in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/431860#M14899</link>
      <description>&lt;P&gt;Thanks for that Reeza.&lt;/P&gt;&lt;P&gt;Its working beautifully although the graphs from the logistic output and sgplot look a little different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I needed to choose specific colors for the estimate and boundary lines as well as shading, how would one do that?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 16:59:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/431860#M14899</guid>
      <dc:creator>ChristosK</dc:creator>
      <dc:date>2018-01-29T16:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Quadratic graphs in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/431863#M14900</link>
      <description>&lt;P&gt;Depending on how complex your SG procedure is, most statements have options for specifying line colors and such.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can use Attribute Maps:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/30/auto-discrete-attr-map.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/30/auto-discrete-attr-map.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 17:03:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/431863#M14900</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-29T17:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Quadratic graphs in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/432023#M14901</link>
      <description>&lt;P&gt;Ok, so I am playing about with some choices I found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data = QuadSBPVp ;&lt;BR /&gt;Title "Severe Vasolegia up to 24h by Induction SBP";&lt;BR /&gt;band x=Ind_SBP1 lower=l upper=u;&lt;BR /&gt;YAXIS label = "Estimated probably of Severe Vasoplegia in 1st 24 hours";&lt;BR /&gt;series x = Ind_SBP1 y = fit/ curvelabel = "Predicted value" lineattrs=(color= Blue pattern=dash);;&lt;BR /&gt;series x = Ind_SBP1 y = u/ curvelabel = "95% Upper CI" lineattrs= (color=purple pattern=dash);&lt;BR /&gt;series x = Ind_SBP1 y = l/ curvelabel = "95% Lower CI"lineattrs = (color = yellow pattern = solid thickness =5);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I assign a specific colour to the band (the shaded area between the CI's?&lt;/P&gt;&lt;P&gt;Besides standard colours, how to I specify an exact colour, eg:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Colour 1 (blue): &lt;/STRONG&gt;&lt;SPAN&gt;c100 m57 y0 k2 &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Colour 2 (green): &lt;/STRONG&gt;&lt;SPAN&gt;c71 m26 y100 k25 &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Colour 3 (Pink): &lt;/STRONG&gt;&lt;SPAN&gt;c10 m70 y0 k0 &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Colour 4 (gold): &lt;/STRONG&gt;&lt;SPAN&gt;c0 m50 y100 k0 &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Colour 5 (light blue): &lt;/STRONG&gt;&lt;SPAN&gt;c80 m0 y0 k0 &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Colour 6 (orange): &lt;/STRONG&gt;&lt;SPAN&gt;c0 m80 y100 k0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are critical to get right as they are the only colours the journal I am aiming for will accept.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 01:30:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/432023#M14901</guid>
      <dc:creator>ChristosK</dc:creator>
      <dc:date>2018-01-30T01:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Quadratic graphs in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/432024#M14902</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Depending on how complex your SG procedure is, most statements have options for specifying line colors and such.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or you can use Attribute Maps:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/30/auto-discrete-attr-map.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/30/auto-discrete-attr-map.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 01:38:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/432024#M14902</guid>
      <dc:creator>ChristosK</dc:creator>
      <dc:date>2018-01-30T01:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Quadratic graphs in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/432044#M14905</link>
      <description>&lt;P&gt;Use Hex coding with CX in front of it when specifying colours.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Color = CXffffff&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can consider&amp;nbsp;a BAND statement for your confidence limits, then you can specify a shading to be filled in between the lines.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 02:55:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Quadratic-graphs-in-proc-sgplot/m-p/432044#M14905</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-30T02:55:58Z</dc:date>
    </item>
  </channel>
</rss>

