<?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: Annotate Text Problem in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Annotate-Text-Problem/m-p/50310#M1699</link>
    <description>Just glancing at the code you use to create your annotate data set, it looks like you're using the correct things to control the annotated text size ...&lt;BR /&gt;
&lt;BR /&gt;
hsys='3';     says that the number specified in the 'size' variable is % of screen&lt;BR /&gt;
size=3 and size=3.5 seem "reasonable" numbers.&lt;BR /&gt;
&lt;BR /&gt;
So, does the size= have no effect on the graph, if you change it?&lt;BR /&gt;
&lt;BR /&gt;
Try this with dev=gif ... perhaps this is one of the things that dev=activex only "partially supports"(?)</description>
    <pubDate>Mon, 01 Feb 2010 19:11:37 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2010-02-01T19:11:37Z</dc:date>
    <item>
      <title>Annotate Text Problem</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Annotate-Text-Problem/m-p/50309#M1698</link>
      <description>Both the text from "trim(left(avg_emp))" and "correlation: &amp;amp;rate1" appear in the gplot.&lt;BR /&gt;
However, the text from "trim(left(avg_emp))" is very small.&lt;BR /&gt;
How can I fix the font size of "trim(left(avg_emp))"?&lt;BR /&gt;
&lt;BR /&gt;
proc corr data=wes5 PEARSON noprint outp=newp;&lt;BR /&gt;
	var rate1 pf2;&lt;BR /&gt;
	where item2=&amp;amp;qn;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
	set newp;&lt;BR /&gt;
	if _NAME_="pf2" then call symput('rate1',trim(left(rate1)));&lt;BR /&gt;
run;&lt;BR /&gt;
%put ########## rate1=&amp;amp;rate1;&lt;BR /&gt;
&lt;BR /&gt;
data anno1;&lt;BR /&gt;
	set wes5 end=last;&lt;BR /&gt;
	length function color $8 style $20 text $20;&lt;BR /&gt;
	retain xsys ysys '2' hsys '3' when 'b';&lt;BR /&gt;
	x=pf2;&lt;BR /&gt;
	y=rate1;&lt;BR /&gt;
	function='label';&lt;BR /&gt;
		x=pf2;&lt;BR /&gt;
		y=rate1;&lt;BR /&gt;
		size=3.5; &lt;BR /&gt;
		color='black';&lt;BR /&gt;
		text=trim(left(avg_emp));&lt;BR /&gt;
		x=75;y=16;&lt;BR /&gt;
		size=3;&lt;BR /&gt;
		text="correlation: &amp;amp;rate1";&lt;BR /&gt;
	output;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
goptions device=ACTIVEX;&lt;BR /&gt;
proc gplot data=wes5 anno=anno1;</description>
      <pubDate>Mon, 01 Feb 2010 18:45:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Annotate-Text-Problem/m-p/50309#M1698</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-01T18:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Annotate Text Problem</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Annotate-Text-Problem/m-p/50310#M1699</link>
      <description>Just glancing at the code you use to create your annotate data set, it looks like you're using the correct things to control the annotated text size ...&lt;BR /&gt;
&lt;BR /&gt;
hsys='3';     says that the number specified in the 'size' variable is % of screen&lt;BR /&gt;
size=3 and size=3.5 seem "reasonable" numbers.&lt;BR /&gt;
&lt;BR /&gt;
So, does the size= have no effect on the graph, if you change it?&lt;BR /&gt;
&lt;BR /&gt;
Try this with dev=gif ... perhaps this is one of the things that dev=activex only "partially supports"(?)</description>
      <pubDate>Mon, 01 Feb 2010 19:11:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Annotate-Text-Problem/m-p/50310#M1699</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-02-01T19:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Annotate Text Problem</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Annotate-Text-Problem/m-p/50311#M1700</link>
      <description>I found the problem.&lt;BR /&gt;
For whatever reason this didn't work the first time I tried it.&lt;BR /&gt;
&lt;BR /&gt;
	function='label';&lt;BR /&gt;
		x=pf2;&lt;BR /&gt;
		y=rate1;&lt;BR /&gt;
		size=3.5; &lt;BR /&gt;
		color='black';&lt;BR /&gt;
		text=trim(left(avg_emp));&lt;BR /&gt;
	output;&lt;BR /&gt;
	function='label';&lt;BR /&gt;
		x=75;y=16;&lt;BR /&gt;
		size=3;&lt;BR /&gt;
		text="correlation: &amp;amp;rate1";&lt;BR /&gt;
	output;</description>
      <pubDate>Mon, 01 Feb 2010 20:01:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Annotate-Text-Problem/m-p/50311#M1700</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-01T20:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Annotate Text Problem</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Annotate-Text-Problem/m-p/50312#M1701</link>
      <description>Do you know how to make the dots on my graph go away?&lt;BR /&gt;
They're located in the middle of each value from avg_emp (outputted from text in annotate output).&lt;BR /&gt;
&lt;BR /&gt;
symbol i=none v=dot;&lt;BR /&gt;
symbol2 i=none v=dot c='CXD9576E' h=0;&lt;BR /&gt;
symbol3 i=none v=dot c='CXBFBFBF' h=0;&lt;BR /&gt;
SYMBOL1 i=none v=dot h=0.01 c='blue' I=r;&lt;BR /&gt;
proc gplot data=wes5 anno=anno1;&lt;BR /&gt;
	plot rate1*pf2/  noframe nolegend haxis=axis1 vaxis=axis2 href=&amp;amp;vline</description>
      <pubDate>Mon, 01 Feb 2010 20:05:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Annotate-Text-Problem/m-p/50312#M1701</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-01T20:05:18Z</dc:date>
    </item>
  </channel>
</rss>

