<?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 Annotating an SGPANEL plot; &amp;quot;xspace invalid&amp;quot; error in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Annotating-an-SGPANEL-plot-quot-xspace-invalid-quot-error/m-p/203704#M7538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add an annotation to an SGPANEL plot. You can see my code as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P style="text-align: left;"&gt;DATA marg_anno;&lt;BR /&gt; length function widthunit justify anchor $10 label $100;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;retain drawspace function width widthunit textstyle justify anchor textsize;&lt;BR /&gt; drawspace="datavalue";&lt;BR /&gt; function="text";&lt;BR /&gt; width=10;&lt;BR /&gt; widthunit="data";&lt;BR /&gt; textstyle="normal";&lt;BR /&gt; justify="left";&lt;BR /&gt; anchor="left";&lt;BR /&gt; textsize=9;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;label = "P=&amp;amp;pval_marginal66";&lt;BR /&gt; x1=1;&lt;BR /&gt; y1=40;&lt;BR /&gt; output;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;PROC SGPANEL data=marginal66 noautolegend sganno=marg_anno;&lt;BR /&gt; panelby median_dose;&lt;BR /&gt; series y=pred x=visno / group=median_dose;&lt;BR /&gt; scatter y=pred x=visno / errorbarattrs=(color=black) markerattrs=(size=0) yerrorlower=lower yerrorupper=upper;&lt;BR /&gt; colaxis values=(1 to 2 by 1);&lt;BR /&gt; label visno = "Visit" pred="Predicted GMFM-66";&lt;BR /&gt; format visno t.;&lt;BR /&gt;run;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The call to SGPANEL gives me the error:&amp;nbsp;&amp;nbsp; "WARNING: XSPACE= is invalid. Draw statement discarded"&lt;/P&gt;&lt;P&gt;I cannot see any reason why this would be the case. And, in fact, it gives me this error message regardless of what value I enter in, and regardless of the drawspace I enter. It tells me that it is invalid in every single case I have tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have an idea what is going on? I tried searching this error, but have found nothing referencing it in the documentation or forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 15:39:04 GMT</pubDate>
    <dc:creator>RyanSimmons</dc:creator>
    <dc:date>2015-07-15T15:39:04Z</dc:date>
    <item>
      <title>Annotating an SGPANEL plot; "xspace invalid" error</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Annotating-an-SGPANEL-plot-quot-xspace-invalid-quot-error/m-p/203704#M7538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add an annotation to an SGPANEL plot. You can see my code as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P style="text-align: left;"&gt;DATA marg_anno;&lt;BR /&gt; length function widthunit justify anchor $10 label $100;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;retain drawspace function width widthunit textstyle justify anchor textsize;&lt;BR /&gt; drawspace="datavalue";&lt;BR /&gt; function="text";&lt;BR /&gt; width=10;&lt;BR /&gt; widthunit="data";&lt;BR /&gt; textstyle="normal";&lt;BR /&gt; justify="left";&lt;BR /&gt; anchor="left";&lt;BR /&gt; textsize=9;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;label = "P=&amp;amp;pval_marginal66";&lt;BR /&gt; x1=1;&lt;BR /&gt; y1=40;&lt;BR /&gt; output;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P style="text-align: left;"&gt;PROC SGPANEL data=marginal66 noautolegend sganno=marg_anno;&lt;BR /&gt; panelby median_dose;&lt;BR /&gt; series y=pred x=visno / group=median_dose;&lt;BR /&gt; scatter y=pred x=visno / errorbarattrs=(color=black) markerattrs=(size=0) yerrorlower=lower yerrorupper=upper;&lt;BR /&gt; colaxis values=(1 to 2 by 1);&lt;BR /&gt; label visno = "Visit" pred="Predicted GMFM-66";&lt;BR /&gt; format visno t.;&lt;BR /&gt;run;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The call to SGPANEL gives me the error:&amp;nbsp;&amp;nbsp; "WARNING: XSPACE= is invalid. Draw statement discarded"&lt;/P&gt;&lt;P&gt;I cannot see any reason why this would be the case. And, in fact, it gives me this error message regardless of what value I enter in, and regardless of the drawspace I enter. It tells me that it is invalid in every single case I have tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have an idea what is going on? I tried searching this error, but have found nothing referencing it in the documentation or forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:39:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Annotating-an-SGPANEL-plot-quot-xspace-invalid-quot-error/m-p/203704#M7538</guid>
      <dc:creator>RyanSimmons</dc:creator>
      <dc:date>2015-07-15T15:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Annotating an SGPANEL plot; "xspace invalid" error</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Annotating-an-SGPANEL-plot-quot-xspace-invalid-quot-error/m-p/203705#M7539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The "datavalue" drawspace cannot be used with SGPANEL because there are multiple "datavalue" spaces (i.e. panel cells), and there is currently not a way to address a particular cell. With SGPANEL, you must use percentage or pixel-based units for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 16:30:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Annotating-an-SGPANEL-plot-quot-xspace-invalid-quot-error/m-p/203705#M7539</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2015-07-15T16:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Annotating an SGPANEL plot; "xspace invalid" error</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Annotating-an-SGPANEL-plot-quot-xspace-invalid-quot-error/m-p/203706#M7540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I guess I should have been more specific in my OP, but when I said, " regardless of the drawspace I enter" that included both percentage and pixel-based units. It still gave me the same error. It doesn't matter which drawspace I use or how I try to define the positioning in SGPANEL, it always says that the XSPACE is invalid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 17:13:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Annotating-an-SGPANEL-plot-quot-xspace-invalid-quot-error/m-p/203706#M7540</guid>
      <dc:creator>RyanSimmons</dc:creator>
      <dc:date>2015-07-15T17:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Annotating an SGPANEL plot; "xspace invalid" error</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Annotating-an-SGPANEL-plot-quot-xspace-invalid-quot-error/m-p/203707#M7541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I found the answer. My fault for not reading the documentation quite carefully enough. A little footnote at the bottom indicates that the only options that work with SGPANEL are GRAPHPERCENT, GRAPHPIXEL, LAYOUTPERCENT, and LAYOUTPIXEL, when I was trying to use WALLPERCENT and WALLPIXEL. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 17:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Annotating-an-SGPANEL-plot-quot-xspace-invalid-quot-error/m-p/203707#M7541</guid>
      <dc:creator>RyanSimmons</dc:creator>
      <dc:date>2015-07-15T17:25:30Z</dc:date>
    </item>
  </channel>
</rss>

