<?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 connecting plot data points on GPLOT: can discontinuity be introduced? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65265#M2198</link>
    <description>Hello wise people who know more than me! This is my first post and I don't even know if I am using the correct SAS procedure for what I need.&lt;BR /&gt;
&lt;BR /&gt;
I am using GPLOT in SAS 9.1.3 to make plots of the type  y-variable*x-variable, and using INTERPOL=JOIN to connect data points with a line.&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to introduce discontinuity in the line? That is, join up data points for x values of A, B and C and join up data points for x values of D, E and F &lt;I&gt;without&lt;/I&gt; having the line join up C and D?</description>
    <pubDate>Sun, 23 Jan 2011 01:26:35 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2011-01-23T01:26:35Z</dc:date>
    <item>
      <title>connecting plot data points on GPLOT: can discontinuity be introduced?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65265#M2198</link>
      <description>Hello wise people who know more than me! This is my first post and I don't even know if I am using the correct SAS procedure for what I need.&lt;BR /&gt;
&lt;BR /&gt;
I am using GPLOT in SAS 9.1.3 to make plots of the type  y-variable*x-variable, and using INTERPOL=JOIN to connect data points with a line.&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to introduce discontinuity in the line? That is, join up data points for x values of A, B and C and join up data points for x values of D, E and F &lt;I&gt;without&lt;/I&gt; having the line join up C and D?</description>
      <pubDate>Sun, 23 Jan 2011 01:26:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65265#M2198</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-01-23T01:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: connecting plot data points on GPLOT: can discontinuity be introduced?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65266#M2199</link>
      <description>Consider using OVERLAY, possibly also "subgroup", and assign unique SAS variable(s) in a DATA step to plot as needed based on your SAS input file conditions.  &lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
gplot subgroup overlay join data points site:sas.com</description>
      <pubDate>Sun, 23 Jan 2011 15:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65266#M2199</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-01-23T15:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: connecting plot data points on GPLOT: can discontinuity be introduced?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65267#M2200</link>
      <description>Hi:&lt;BR /&gt;
  In addition to Scott's suggestions, investigate the SKIPMISS option with PROC GPLOT -- for example, in the data below, the month of June has an observation, but the value for EXPENSE is missing (.) and therefore, the SKIPMISS option tells PROC GPLOT that join should "skip" over the missing value with the line. If your data does not have an observation for June (for example), then the line would be drawn from May - July -- so you might have to put a "dummy" observation into your data for SKIPMISS to work, under that scenario.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
** Missing Y Values;&lt;BR /&gt;
data expense;&lt;BR /&gt;
  infile datalines;&lt;BR /&gt;
  input date : mmddyy10. expense dept $;&lt;BR /&gt;
  format date monyy5.;&lt;BR /&gt;
return;&lt;BR /&gt;
datalines;&lt;BR /&gt;
01/15/2010 100000 Acct&lt;BR /&gt;
02/15/2010 125000 Acct&lt;BR /&gt;
03/15/2010 115000 Acct&lt;BR /&gt;
04/15/2010 135000 Acct&lt;BR /&gt;
05/15/2010 140000 Acct&lt;BR /&gt;
06/15/2010      . Acct&lt;BR /&gt;
07/15/2010 120000 Acct&lt;BR /&gt;
08/15/2010 145000 Acct&lt;BR /&gt;
09/15/2010 160000 Acct&lt;BR /&gt;
10/15/2010 130000 Acct&lt;BR /&gt;
11/15/2010 155000 Acct&lt;BR /&gt;
12/15/2010 150000 Acct&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
                              &lt;BR /&gt;
goptions reset=symbol;&lt;BR /&gt;
symbol1 cv=blue value=dot i=join;&lt;BR /&gt;
proc gplot data=work.expense;&lt;BR /&gt;
   plot expense * date / skipmiss;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Sun, 23 Jan 2011 16:58:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65267#M2200</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-01-23T16:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: connecting plot data points on GPLOT: can discontinuity be introduced?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65268#M2201</link>
      <description>Thank you for your rapid response Scott and Cynthia. I will check it out.</description>
      <pubDate>Sun, 23 Jan 2011 19:17:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65268#M2201</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-01-23T19:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: connecting plot data points on GPLOT: can discontinuity be introduced?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65269#M2202</link>
      <description>Bless you Cynthia, SKIPMISS worked a treat!</description>
      <pubDate>Wed, 26 Jan 2011 00:27:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/connecting-plot-data-points-on-GPLOT-can-discontinuity-be/m-p/65269#M2202</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-01-26T00:27:08Z</dc:date>
    </item>
  </channel>
</rss>

