<?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 Help with TEXTPLOT in GTL in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582440#M18717</link>
    <description>I have a graph where I am displying various numeric values with TEXTPLOT in GTL.  My issue is that I have a couple of missing values that are displaying with the standard '.' for numeric missing values.  Is there a way I can get it not to show anything rather than showing the dot?</description>
    <pubDate>Tue, 20 Aug 2019 14:22:21 GMT</pubDate>
    <dc:creator>jimhorne</dc:creator>
    <dc:date>2019-08-20T14:22:21Z</dc:date>
    <item>
      <title>Help with TEXTPLOT in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582440#M18717</link>
      <description>I have a graph where I am displying various numeric values with TEXTPLOT in GTL.  My issue is that I have a couple of missing values that are displaying with the standard '.' for numeric missing values.  Is there a way I can get it not to show anything rather than showing the dot?</description>
      <pubDate>Tue, 20 Aug 2019 14:22:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582440#M18717</guid>
      <dc:creator>jimhorne</dc:creator>
      <dc:date>2019-08-20T14:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with TEXTPLOT in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582447#M18718</link>
      <description>&lt;P&gt;Easiest to test would likely be using&lt;/P&gt;
&lt;P&gt;Options missing=' ';&lt;/P&gt;
&lt;P&gt;prior to the procedure generating the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remember to set it back after you no longer need the blank for missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 14:35:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582447#M18718</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-08-20T14:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with TEXTPLOT in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582452#M18719</link>
      <description>&lt;P&gt;the easiest way is to apply a format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the TEXT= variable numeric or character? If character, you can replace "." with " ".&lt;/P&gt;
&lt;P&gt;If numeric, then presumably you are using the PERCENT. format to produce those percentages.&lt;/P&gt;
&lt;P&gt;Create a new format like this:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc format;&lt;BR /&gt;value missfmt .=' '&lt;BR /&gt;other = [percent7.];&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, here is some fake numeric data and a template:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
  define statgraph textplot;
    begingraph; 
      layout overlay / yaxisopts=(offsetmin=0.05 offsetmax=0.05); 
        textplot x=x y=y text=z / name='textplot1'
          display=all
          textattrs=(weight=bold) fillattrs=(transparency=0.9)
          group=sex groupdisplay=cluster clusterwidth=1;
        discretelegend 'textplot1';
      endlayout; 
   endgraph;
 end;
run;
 
data A;
do x = 1 to 3;
   do y = 1 to 5;
      z = x/y;
      if x = y then z=.;
      output;
   end;
end;
format z percent7.;
run;

proc format;
   value missfmt  .='     '
             other = [percent7.];
run;

proc sgrender data=A template=textplot;
format z missfmt.;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 14:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582452#M18719</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-08-20T14:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with TEXTPLOT in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582454#M18720</link>
      <description>&lt;P&gt;Much to my surprise, that had no effect.&amp;nbsp; I get the same graph with&amp;nbsp; OPTIONS MISSING='' ; as I do with the default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any other ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 14:51:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582454#M18720</guid>
      <dc:creator>jimhorne</dc:creator>
      <dc:date>2019-08-20T14:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with TEXTPLOT in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582478#M18724</link>
      <description>&lt;P&gt;OPTIONS MISSING=" "; does not apply to the GTL graphs. You have to either recode the data or apply a format, as I described in my response.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 15:36:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582478#M18724</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-08-20T15:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with TEXTPLOT in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582489#M18728</link>
      <description>&lt;P&gt;Thanks, Rick, that gave me what I needed!&amp;nbsp; A little manipulation of an existing FORMAT (I didn't realize/remember that missing is valid), a little adjusting of the attribute map going against that graph and it works wonderfully. But your format pointer was the key!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 16:29:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-with-TEXTPLOT-in-GTL/m-p/582489#M18728</guid>
      <dc:creator>jimhorne</dc:creator>
      <dc:date>2019-08-20T16:29:10Z</dc:date>
    </item>
  </channel>
</rss>

