<?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 Let’s talk graphs. Custom graphs. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279733#M9938</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I started to learn SAS university edition.&lt;/P&gt;&lt;P&gt;When I import .csv file and convert to SAS table, the result will be stored in WORK library. When I close the session and open next time I could not find the table in WORK library. How to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to plot Sg plot. I would like to specify major and minor axis grid . I would like to show minor axis and major axis with more division. How do I achive ? &amp;nbsp;How do I edit graph like I need to draw a line inside the graph write something inside the graph etc after I get regression line&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=work.CAR_DATA;&lt;BR /&gt;title 'time vs speed';&lt;BR /&gt;scatter x=time y=speed;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Govind&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2016 13:50:22 GMT</pubDate>
    <dc:creator>kmgraju</dc:creator>
    <dc:date>2016-06-23T13:50:22Z</dc:date>
    <item>
      <title>Let’s talk graphs. Custom graphs.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279733#M9938</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I started to learn SAS university edition.&lt;/P&gt;&lt;P&gt;When I import .csv file and convert to SAS table, the result will be stored in WORK library. When I close the session and open next time I could not find the table in WORK library. How to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to plot Sg plot. I would like to specify major and minor axis grid . I would like to show minor axis and major axis with more division. How do I achive ? &amp;nbsp;How do I edit graph like I need to draw a line inside the graph write something inside the graph etc after I get regression line&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=work.CAR_DATA;&lt;BR /&gt;title 'time vs speed';&lt;BR /&gt;scatter x=time y=speed;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Govind&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 13:50:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279733#M9938</guid>
      <dc:creator>kmgraju</dc:creator>
      <dc:date>2016-06-23T13:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Let’s talk graphs. Custom graphs.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279740#M9940</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question 1: Work is a temporary library pointing to the temporary SAS area, when SAS is closed work is removed. &amp;nbsp;Set a libname to a physical network path and put data you want to store there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question 2: &amp;nbsp;To learn about SGPLOT, or Graph Template Language, rather than me give a long winded example, pop over to this blog. &amp;nbsp;Examples of all types of graphs, layouts etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 14:08:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279740#M9940</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-06-23T14:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Let’s talk graphs. Custom graphs.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279769#M9942</link>
      <description>&lt;P&gt;Use the AXIS statements to control grids and tick marks. The GRID option puts grid lines at each tick location. The VALUES= option enables you to specify the location of ticks, like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc sgplot data=sashelp.cars;
scatter x=weight y=mpg_city;
xaxis grid values=(2000 to 7000 by 1000);
yaxis grid values=(10 to 60 by 5);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The easiest way to edit a graph and add custom lables, arrows, text boxes, etc, is to use the Graphics Editor. An example and discussion is available in the article &lt;A href="http://blogs.sas.com/content/iml/2012/08/06/change-a-plot-title-by-using-the-ods-graphics-editor.html" target="_self"&gt;"Change a plot title by using the ODS Graphics Editor."&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 16:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279769#M9942</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-06-23T16:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Let’s talk graphs. Custom graphs.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279904#M9951</link>
      <description>Dear Rick&lt;BR /&gt;I am using university edition. ODS graphic editor is not available . how to enable the ODI graphic editor. .I could not enable minor tick also.I am trying to learn myself the SAS . Thank you for your help&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jun 2016 04:37:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279904#M9951</guid>
      <dc:creator>kmgraju</dc:creator>
      <dc:date>2016-06-24T04:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Let’s talk graphs. Custom graphs.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279965#M9952</link>
      <description>&lt;P&gt;The GRID and VALUES= options enable you to control the lies and ticks.&amp;nbsp; You can often use the DATALABELS= option on the SCATTER statement to&lt;A href="http://blogs.sas.com/content/iml/2011/11/11/label-only-certain-observations-with-proc-sgplot.html" target="_self"&gt; label individual observations&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is also the TEXT statement and the VECTOR statement, which enables you to draw text and arrows at arbitrary locations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You say,&amp;nbsp;&amp;nbsp;"I need to draw a line inside the graph write something inside the graph etc after I get regression line." Please clarify. Specify what you want to do, perhaps by referring to the graph that I created. &amp;nbsp;&amp;nbsp;For example, I can &lt;A href="http://blogs.sas.com/content/iml/2011/07/27/add-a-diagonal-line-to-a-scatter-plot-the-sas-9-3-way.html" target="_self"&gt;add a line to a plot by using the LINEPARM&amp;nbsp;statement,&amp;nbsp;&lt;/A&gt;and information about the line by using the INSET statements:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.cars;
scatter x=weight y=mpg_city;
lineparm x=0 y=38 slope=-0.005;
inset "Intercept = 38" "Slope = -0.005" / 
       border title="Parameter Estimates" position=topright;
xaxis grid values=(2000 to 7000 by 1000);
yaxis grid values=(10 to 60 by 5);
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Jun 2016 13:09:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279965#M9952</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-06-24T13:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Let’s talk graphs. Custom graphs.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279990#M9953</link>
      <description>&lt;P&gt;ODS Graphics Editor is really meant for use for editing of graphs from stat procedures, where you do not have access to the code that made the graph. &amp;nbsp;When you are using SGPLOT, you can easily change the code yourself, which is better than using Editor. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is true, except for the free form annotation. &amp;nbsp;In your case using University Edition, you can add the annotation using the SGANNOTATE feature. &lt;A href="http://support.sas.com/rnd/datavisualization/papers/sgf2016/SAS5300-2016.pdf" target="_blank"&gt;See SGF 2016 paper&lt;/A&gt;. &amp;nbsp;Or, you can use any image editor like Microsoft Publisher to add hard coded annotations after the fact.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 14:12:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Let-s-talk-graphs-Custom-graphs/m-p/279990#M9953</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-06-24T14:12:06Z</dc:date>
    </item>
  </channel>
</rss>

