<?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 DRAWTEXT to the left of row axis. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/DRAWTEXT-to-the-left-of-row-axis/m-p/144033#M5447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I decided to annotate my Y axis tick labels.&amp;nbsp; This drawtext statement works to place the text at the correct Y value and X=-10 is pretty close to where I want it on the left.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drawtext 'this is it' / x=-10 xaxis=x2 y='10-001'&amp;nbsp; xspace=layoutpercent yspace=datavalue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's just one small problem the text is drawn in all columns (in my case 2) and I can't figure out how to only get it drawn in one column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I move the statement to outside the LAYOUT PROTOTYPE; block I cannot use YSPACE=DATAVALUE and I don't see how I can find the correct place to draw the text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2014 21:54:51 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2014-01-16T21:54:51Z</dc:date>
    <item>
      <title>DRAWTEXT to the left of row axis.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/DRAWTEXT-to-the-left-of-row-axis/m-p/144033#M5447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I decided to annotate my Y axis tick labels.&amp;nbsp; This drawtext statement works to place the text at the correct Y value and X=-10 is pretty close to where I want it on the left.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drawtext 'this is it' / x=-10 xaxis=x2 y='10-001'&amp;nbsp; xspace=layoutpercent yspace=datavalue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's just one small problem the text is drawn in all columns (in my case 2) and I can't figure out how to only get it drawn in one column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I move the statement to outside the LAYOUT PROTOTYPE; block I cannot use YSPACE=DATAVALUE and I don't see how I can find the correct place to draw the text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 21:54:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/DRAWTEXT-to-the-left-of-row-axis/m-p/144033#M5447</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-01-16T21:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: DRAWTEXT to the left of row axis.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/DRAWTEXT-to-the-left-of-row-axis/m-p/144034#M5448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you moved the draw text outside of the prototype and used "layoutpercent" for the Y as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 22:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/DRAWTEXT-to-the-left-of-row-axis/m-p/144034#M5448</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2014-01-16T22:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: DRAWTEXT to the left of row axis.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/DRAWTEXT-to-the-left-of-row-axis/m-p/144035#M5449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;DanH@sas wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;What if you moved the draw text outside of the prototype and used "layoutpercent" for the Y as well?&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;But how can I associated the text with the Y tick values when I change to percent.&amp;nbsp; I am trying to label the common Y similar to way the X is is annotated here.&amp;nbsp; &lt;A class="active_link" href="http://support.sas.com/kb/44/129.html" title="http://support.sas.com/kb/44/129.html"&gt;44129 - Split axis values across multiple lines with the Graph Template Language (GTL)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want multiple calls to produce uniform panels, this question. &lt;A _jive_internal="true" class="active_link" href="https://communities.sas.com/message/193891#193891"&gt;https://communities.sas.com/message/193891#193891&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I've got part of that working using a fixed font for Y axis tick labels of all 'a0'x and then annotate the values I wan't using DRAWTEXT with proportional font. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I'm doing it all wrong and need to start over.&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 23:12:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/DRAWTEXT-to-the-left-of-row-axis/m-p/144035#M5449</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-01-16T23:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: DRAWTEXT to the left of row axis.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/DRAWTEXT-to-the-left-of-row-axis/m-p/144036#M5450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any statements in the PROTOTYPE of a LAYOUT DATAPANEL are always drawn in all the cells.&amp;nbsp; So, any DRAW statements will also draw in both cells.&amp;nbsp; This would be fine for the two X axes if they are UNION, and in both cases, a negative Y dimension will take you below each axis line.&amp;nbsp; For Y axis, the negative X dimension will take you to the left of both cells, which is ok for left cell, but not the right cell.&amp;nbsp; Example 44129 is for a single cell graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, DATAPANEL creates equal size cells anyway, so I don't understand the issue.&amp;nbsp; Can you attach your graph output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use a 1x2&amp;nbsp; LAYOUT LATTICE, and populate each cell yourself with the right plot statements with the subset of the data.&amp;nbsp; In GTL, you can use the IFN or IFC syntax to subset the data by a class variable.&amp;nbsp; Keeping Y axis for both cells, you can then use the DRAW statements in each LAYOUT OVERLAY to draw the split axis tick values.&amp;nbsp; You will have to do something to reserve the right amount of white space for DRAWing the custom tick values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS 9.4 will do split tick values for you with just an option.&amp;nbsp; This was going to be the topic of my next blog.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 04:48:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/DRAWTEXT-to-the-left-of-row-axis/m-p/144036#M5450</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-01-17T04:48:20Z</dc:date>
    </item>
  </channel>
</rss>

