<?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: Dochotomized line graph with variables along x axis - HELP! in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558408#M18137</link>
    <description>&lt;P&gt;1. Summarize your data so that it's ready to graph - don't expect SAS procs to do the calculations for you - that's a lot harder to get for a line chart specifically.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Use SGPLOT to create your graphics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The graph gallery has many examples - see line chart.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=n121lznfa1jnlvn1q95t0r5sd2gq.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0439r26gfqvy9n1tzvs9ejj42rh"&gt;https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=n121lznfa1jnlvn1q95t0r5sd2gq.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0439r26gfqvy9n1tzvs9ejj42rh&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you want a graph with two lines, two graphs side by side for easier comparison (SGPANEL) or two entirely separate graph objects?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/273975"&gt;@GMartel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create a line graph for pressure measurements made a various time points. Each time point variable contains pressure measurements for each subject (eg. t1, t2, t3, t4, etc.). These time point variables should each form my x-axis. The pressure measurements within each variable should me my y axis. I then have an intervention coded 1/0, for which I would like to dichotomize the data, creating two line graphs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am hoping to plot means with error bars (SD or SE).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to look through posts and synthax guides but I am not finding a way to plot the x-axis as being each of my t1, t2, t3, t4 etc variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using 9.4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Guillaume Martel&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2019 18:21:13 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-05-13T18:21:13Z</dc:date>
    <item>
      <title>Dochotomized line graph with variables along x axis - HELP!</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558369#M18133</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a line graph for pressure measurements made a various time points. Each time point variable contains pressure measurements for each subject (eg. t1, t2, t3, t4, etc.). These time point variables should each form my x-axis. The pressure measurements within each variable should me my y axis. I then have an intervention coded 1/0, for which I would like to dichotomize the data, creating two line graphs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am hoping to plot means with error bars (SD or SE).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to look through posts and synthax guides but I am not finding a way to plot the x-axis as being each of my t1, t2, t3, t4 etc variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guillaume Martel&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 16:38:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558369#M18133</guid>
      <dc:creator>GMartel</dc:creator>
      <dc:date>2019-05-13T16:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dochotomized line graph with variables along x axis - HELP!</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558381#M18134</link>
      <description>&lt;P&gt;The best way to do this is to create a numeric variable (let's call it TIME) which has numbers 1 through 4, and then draw a plot of Y versus TIME.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example: (untested code)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=have;
    series x=time y=y/group=intervention;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 May 2019 17:04:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558381#M18134</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-05-13T17:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dochotomized line graph with variables along x axis - HELP!</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558408#M18137</link>
      <description>&lt;P&gt;1. Summarize your data so that it's ready to graph - don't expect SAS procs to do the calculations for you - that's a lot harder to get for a line chart specifically.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Use SGPLOT to create your graphics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The graph gallery has many examples - see line chart.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=n121lznfa1jnlvn1q95t0r5sd2gq.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0439r26gfqvy9n1tzvs9ejj42rh"&gt;https://documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=n121lznfa1jnlvn1q95t0r5sd2gq.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0439r26gfqvy9n1tzvs9ejj42rh&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you want a graph with two lines, two graphs side by side for easier comparison (SGPANEL) or two entirely separate graph objects?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/273975"&gt;@GMartel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create a line graph for pressure measurements made a various time points. Each time point variable contains pressure measurements for each subject (eg. t1, t2, t3, t4, etc.). These time point variables should each form my x-axis. The pressure measurements within each variable should me my y axis. I then have an intervention coded 1/0, for which I would like to dichotomize the data, creating two line graphs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am hoping to plot means with error bars (SD or SE).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to look through posts and synthax guides but I am not finding a way to plot the x-axis as being each of my t1, t2, t3, t4 etc variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using 9.4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Guillaume Martel&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 18:21:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558408#M18137</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-05-13T18:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dochotomized line graph with variables along x axis - HELP!</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558911#M18153</link>
      <description>&lt;P&gt;Thank you! I will review the documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can output the means + standard deviations/standard errors for team time point variable. Would you say that that is the simplest way to proceed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am hoping to create one graph with two lines. The actual line is optional. This is an example of what I am hoping to generate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 400px;"&gt;&lt;SPAN class="lia-message-image-wrapper lia-message-image-actions-narrow lia-message-image-actions-below"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/29538i7E91B4B91EC59444/image-size/medium?v=1.0&amp;amp;px=400" alt="image.png" title="image.png" border="0" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 13:24:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558911#M18153</guid>
      <dc:creator>GMartel</dc:creator>
      <dc:date>2019-05-15T13:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dochotomized line graph with variables along x axis - HELP!</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558923#M18154</link>
      <description>&lt;P&gt;The HIGHLOW command of PROC SGPLOT will certainly create such a plot. You would have to compute the uppper and lower confidence interval limits yourself before running PROC SGPLOT.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 13:41:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558923#M18154</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-05-15T13:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dochotomized line graph with variables along x axis - HELP!</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558942#M18155</link>
      <description>&lt;P&gt;Thank you I will give it a try!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GM&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 14:02:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Dochotomized-line-graph-with-variables-along-x-axis-HELP/m-p/558942#M18155</guid>
      <dc:creator>GMartel</dc:creator>
      <dc:date>2019-05-15T14:02:20Z</dc:date>
    </item>
  </channel>
</rss>

