<?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: Doubt on SAS graph in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Doubt-on-SAS-graph/m-p/530099#M17710</link>
    <description>&lt;P&gt;You can use AXISTABLEs to get what you want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class;
set sashelp.class;
cap="Arrow";
run;

proc sgplot data=class;
yaxis display=(noticks novalues) grid;
highlow y=name high=weight low=height / hgihcap=cap;
yaxistable name / location=inside position=left;
yaxistable weight / location=inside position=right;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jan 2019 15:44:44 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2019-01-25T15:44:44Z</dc:date>
    <item>
      <title>Doubt on SAS graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Doubt-on-SAS-graph/m-p/529744#M17705</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting 1 st diagram as my output but I needed output same as like the 2nd diagram.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the following code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=graph;&lt;/P&gt;&lt;P&gt;highlow y=term low=stdy high=endy / type=line group=ser&lt;BR /&gt;lineattrs=(pattern=solid) barwidth=0.8&amp;nbsp;highcap=FILLEDARROW ;&lt;BR /&gt;scatter y=term x=adurn / x2axis markerattrs=(size=0);&lt;BR /&gt;xaxis grid display=(nolabel) offsetmax=0.02 values=(0 to 60 by 2);&lt;BR /&gt;yaxis grid display=(noticks nolabel);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. the Plot term should present inside the graph. (I have specified with arrow)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I have to specify condition&amp;nbsp;at the end plot. (please refer to the second diagram)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MH_GRAPH_MINE.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26538i92E3E378727AF06B/image-size/large?v=v2&amp;amp;px=999" role="button" title="MH_GRAPH_MINE.PNG" alt="MH_GRAPH_MINE.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MH_GRAPH_ORIGINAL.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26540i1BE9D9407BE12AD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="MH_GRAPH_ORIGINAL.PNG" alt="MH_GRAPH_ORIGINAL.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 16:32:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Doubt-on-SAS-graph/m-p/529744#M17705</guid>
      <dc:creator>Sarah16</dc:creator>
      <dc:date>2019-01-24T16:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on SAS graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Doubt-on-SAS-graph/m-p/529772#M17706</link>
      <description>&lt;P&gt;Data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hard to plot something we don't have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do we know what is supposed to be plotted with the dashed line?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 17:41:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Doubt-on-SAS-graph/m-p/529772#M17706</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-24T17:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on SAS graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Doubt-on-SAS-graph/m-p/530069#M17707</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.class;
 min=11;max=16;
 run;


proc sgplot data=have;
scatter x=max y=name/markerchar=sex;
scatter x=min y=name / markerchar=name;
yaxis display=none grid ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Jan 2019 14:12:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Doubt-on-SAS-graph/m-p/530069#M17707</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-01-25T14:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on SAS graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Doubt-on-SAS-graph/m-p/530099#M17710</link>
      <description>&lt;P&gt;You can use AXISTABLEs to get what you want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class;
set sashelp.class;
cap="Arrow";
run;

proc sgplot data=class;
yaxis display=(noticks novalues) grid;
highlow y=name high=weight low=height / hgihcap=cap;
yaxistable name / location=inside position=left;
yaxistable weight / location=inside position=right;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 15:44:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Doubt-on-SAS-graph/m-p/530099#M17710</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-01-25T15:44:44Z</dc:date>
    </item>
  </channel>
</rss>

