<?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 How set range for y axis in scatter plot? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-set-range-for-y-axis-in-scatter-plot/m-p/468909#M16156</link>
    <description>&lt;P&gt;Below is my program to generate a figure.&lt;/P&gt;&lt;P&gt;I would like to fix maximum value for y axis in bar chart .&lt;/P&gt;&lt;P&gt;For example, to fix max=100 for yaxis.&lt;/P&gt;&lt;P&gt;How should I revise my program by using sas 9.3?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc template;&lt;BR /&gt;define statgraph TMT1;&lt;BR /&gt;begingraph;&lt;BR /&gt;entrytitle 'Part B - Total Time (seconds)';&lt;BR /&gt;layout gridded / border=false;&lt;BR /&gt;layout datalattice columnvar=visit / headerlabeldisplay=value cellwidthmin=50&lt;BR /&gt;columnheaders=bottom border=false columndatarange=union&lt;BR /&gt;columnaxisopts=(/*display=(line tickvalues)*/ label='Treatment' )&lt;BR /&gt;rowaxisopts=(offsetmin=0 linearopts=(tickvaluepriority=true) label='Mean Time' griddisplay=on) ;&lt;BR /&gt;layout prototype / walldisplay=(fill);&lt;BR /&gt;barchart x=TRT y=mu / group=TRT&lt;BR /&gt;name='bar' outlineattrs=(color=black);&lt;BR /&gt;scatterplot x=TRT y=mu / group=TRT yerrorlower=lower&lt;BR /&gt;yerrorupper=upper&lt;BR /&gt;markerattrs=(size=0) name='scatter'&lt;BR /&gt;errorbarattrs=(thickness=2) datatransparency=0.6;&lt;BR /&gt;scatterplot x=TRT y=pvalue1 / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='Two sample t -visit' markerattrs=(symbol=Circle size=10);&lt;BR /&gt;scatterplot x=TRT y=pvalue2 / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='Two sample t -change from baseline' markerattrs=(symbol=CircleFilled size=10);&lt;BR /&gt;scatterplot x=TRT y=pvalue3 / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='Two sample t -change from baseline' markerattrs=(symbol=x size=10);&lt;BR /&gt;scatterplot x=TRT y=pvalue4 / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='ANOVA-visit' markerattrs=(symbol=Diamond size=10);&lt;BR /&gt;scatterplot x=TRT y=pvalue5 / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='ANOVA-change from baseline' markerattrs=(symbol=DiamondFilled size=10);&lt;BR /&gt;scatterplot x=TRT y=max / group=TRT&lt;BR /&gt;markerattrs=(size=0) name='max'&lt;BR /&gt;datatransparency=0.6 YAXIS=Y;&lt;BR /&gt;endlayout;&lt;BR /&gt;endlayout;&lt;BR /&gt;endlayout;&lt;BR /&gt;endgraph;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jun 2018 03:36:10 GMT</pubDate>
    <dc:creator>Takamini</dc:creator>
    <dc:date>2018-06-09T03:36:10Z</dc:date>
    <item>
      <title>How set range for y axis in scatter plot?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-set-range-for-y-axis-in-scatter-plot/m-p/468909#M16156</link>
      <description>&lt;P&gt;Below is my program to generate a figure.&lt;/P&gt;&lt;P&gt;I would like to fix maximum value for y axis in bar chart .&lt;/P&gt;&lt;P&gt;For example, to fix max=100 for yaxis.&lt;/P&gt;&lt;P&gt;How should I revise my program by using sas 9.3?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc template;&lt;BR /&gt;define statgraph TMT1;&lt;BR /&gt;begingraph;&lt;BR /&gt;entrytitle 'Part B - Total Time (seconds)';&lt;BR /&gt;layout gridded / border=false;&lt;BR /&gt;layout datalattice columnvar=visit / headerlabeldisplay=value cellwidthmin=50&lt;BR /&gt;columnheaders=bottom border=false columndatarange=union&lt;BR /&gt;columnaxisopts=(/*display=(line tickvalues)*/ label='Treatment' )&lt;BR /&gt;rowaxisopts=(offsetmin=0 linearopts=(tickvaluepriority=true) label='Mean Time' griddisplay=on) ;&lt;BR /&gt;layout prototype / walldisplay=(fill);&lt;BR /&gt;barchart x=TRT y=mu / group=TRT&lt;BR /&gt;name='bar' outlineattrs=(color=black);&lt;BR /&gt;scatterplot x=TRT y=mu / group=TRT yerrorlower=lower&lt;BR /&gt;yerrorupper=upper&lt;BR /&gt;markerattrs=(size=0) name='scatter'&lt;BR /&gt;errorbarattrs=(thickness=2) datatransparency=0.6;&lt;BR /&gt;scatterplot x=TRT y=pvalue1 / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='Two sample t -visit' markerattrs=(symbol=Circle size=10);&lt;BR /&gt;scatterplot x=TRT y=pvalue2 / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='Two sample t -change from baseline' markerattrs=(symbol=CircleFilled size=10);&lt;BR /&gt;scatterplot x=TRT y=pvalue3 / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='Two sample t -change from baseline' markerattrs=(symbol=x size=10);&lt;BR /&gt;scatterplot x=TRT y=pvalue4 / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='ANOVA-visit' markerattrs=(symbol=Diamond size=10);&lt;BR /&gt;scatterplot x=TRT y=pvalue5 / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='ANOVA-change from baseline' markerattrs=(symbol=DiamondFilled size=10);&lt;BR /&gt;scatterplot x=TRT y=max / group=TRT&lt;BR /&gt;markerattrs=(size=0) name='max'&lt;BR /&gt;datatransparency=0.6 YAXIS=Y;&lt;BR /&gt;endlayout;&lt;BR /&gt;endlayout;&lt;BR /&gt;endlayout;&lt;BR /&gt;endgraph;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 03:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-set-range-for-y-axis-in-scatter-plot/m-p/468909#M16156</guid>
      <dc:creator>Takamini</dc:creator>
      <dc:date>2018-06-09T03:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: How set range for y axis in scatter plot?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-set-range-for-y-axis-in-scatter-plot/m-p/469041#M16157</link>
      <description>&lt;P&gt;Add to ROWAXIS:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; rowaxisopts=(offsetmin=0 linearopts=(tickvaluepriority=true) label='Mean Time' griddisplay=on &lt;STRONG&gt;linearopts=(viewmax=value)&lt;/STRONG&gt;) ;&lt;BR /&gt;&lt;BR /&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 17:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-set-range-for-y-axis-in-scatter-plot/m-p/469041#M16157</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-06-10T17:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: How set range for y axis in scatter plot?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-set-range-for-y-axis-in-scatter-plot/m-p/469103#M16159</link>
      <description>&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;But I found a issue that I tried to fix the maximum as 24, the maximum still present as 25.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc template;&lt;BR /&gt;define statgraph ESS;&lt;BR /&gt;begingraph;&lt;BR /&gt;entrytitle 'Total Score';&lt;BR /&gt;layout gridded / border=false;&lt;BR /&gt;layout datalattice columnvar=visit / headerlabeldisplay=value cellwidthmin=50&lt;BR /&gt;columnheaders=bottom border=false columndatarange=union&lt;BR /&gt;columnaxisopts=(/*display=(line tickvalues)*/ label='Treatment' )&lt;BR /&gt;rowaxisopts=(offsetmin=0 linearopts=(tickvaluepriority=true) label='Mean Score' griddisplay=on linearopts=(viewmax=24)) ;&lt;BR /&gt;layout prototype / walldisplay=(fill);&lt;BR /&gt;barchart x=TRT y=res9_mean / group=TRT&lt;BR /&gt;name='bar' outlineattrs=(color=black);&lt;BR /&gt;scatterplot x=TRT y=res9_mean / group=TRT yerrorlower=res9_lclm&lt;BR /&gt;yerrorupper=res9_uclm&lt;BR /&gt;markerattrs=(size=0) name='error bar'&lt;BR /&gt;errorbarattrs=(thickness=2) datatransparency=0.6 DATALABELPOSITION=TOPRIGHT;&lt;BR /&gt;scatterplot x=TRT y=marker / group=TRT&lt;BR /&gt;markerattrs=(size=10) name='scatter' markerattrs=(symbol=x size=10);&lt;BR /&gt;scatterplot x=TRT y=max / group=TRT&lt;BR /&gt;markerattrs=(size=0) name='max'&lt;BR /&gt;datatransparency=0.6 YAXIS=Y;&lt;BR /&gt;endlayout;&lt;BR /&gt;endlayout;&lt;BR /&gt;endlayout;&lt;BR /&gt;endgraph;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 05:48:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-set-range-for-y-axis-in-scatter-plot/m-p/469103#M16159</guid>
      <dc:creator>Takamini</dc:creator>
      <dc:date>2018-06-11T05:48:26Z</dc:date>
    </item>
  </channel>
</rss>

