<?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: How could I change the X axis tickvalues direction in Layout LATTICE in GTL? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/282069#M10003</link>
    <description>&lt;P&gt;Hi Sanjay,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes you are absolutely right. I am really pleased to see your point on this question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jack&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2016 01:42:12 GMT</pubDate>
    <dc:creator>Jack2012</dc:creator>
    <dc:date>2016-07-05T01:42:12Z</dc:date>
    <item>
      <title>How could I change the X axis tickvalues direction in Layout LATTICE in GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/281972#M9996</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to seek your help on adjusting the X-axis tickvalues direction in order to add space between month 30 (in column 1) and Baseline (in column 2).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jack&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC TEMPLATE;
    define statgraph time_pro_lattice;
	   begingraph /designwidth=40in designheight=15in ;
	     dynamic _x _y1 _y2 _title _footnote  _group _ymean  _ymean2 _LCI  _UCI  _LCI2  _UCI2;
		 entrytitle _title
		 entryfootnote _footnote;
	     layout lattice/columns=2 rows=1 order=columnmajor rowdatarange=UNIONALL columndatarange=UNION columngutter=2.5cm;

	     	/*DEFINE THE FIRST CELL*/
	     	cell;
	     	  cellheader;
	     	    entry "Left Eye"/border=FALSE;
	     	  endcellheader;

	     	  layout overlay;
	     	    scatterplot x=_x y=_y1/group=_group 
	     	                          xaxis=x 
                                      yaxis=y 
	     	                          
	     	                          markerattrs=(color=black);
				scatterplot x=_x y=_ymean;
				scatterplot x=_x y=_lci;
				scatterplot x=_x y=_uci;
	     	                          
	     	    seriesplot x=_x y=_ymean/lineattrs=(pattern=solid color=red) name="ps1" legendlabel="Mean of CS Left";
	     	    seriesplot x=_x y=_lci/lineattrs=(pattern=dot color=pink) name="ps2" legendlabel="Lower 90% CI limit";
	     	    seriesplot x=_x y=_uci/lineattrs=(pattern=dot color=pink) name="ps3" legendlabel="Upper 90% CI limit";
	     	  endlayout;
	     	
	     	endcell;

	     	/**Define the 2nd Cell**/
	     	cell;
	     		cellheader;
	     			entry "Rigth Eye"/border=FALSE;
	     		endcellheader;
	     		layout overlay;
	     		  scatterplot x=_x y=_y2/xaxis=x yaxis=y group=_group
	     		                         /*colorresponse=_y2*/
	     		                         
	     		                         markerattrs=(color=black);
				scatterplot x=_x y=_ymean2;
				 scatterplot x=_x y=_lci2;
                 scatterplot x=_x y=_uci2; 
	     		                        ;
	     		  seriesplot x=_x y=_ymean2/lineattrs=(pattern=solid color=red) name="ps4" legendlabel="Mean of CS Right";
	     		  seriesplot x=_x y=_lci2/lineattrs=(pattern=dot color=yellow) name="ps5" legendlabel="Lower 90% CI limit Right";
	     		  seriesplot x=_x y=_uci2/lineattrs=(pattern=dot color=yellow) name="ps6" legendlabel="Upper 90% CI limit Right";
	     		endlayout;
	     	endcell;

			/*define the axis attributes**/
			columnaxes;
			columnaxis/display=(ticks tickvalues label) label="Visit (month)" labelattrs=(color=blue) 
			           linearopts=(tickvaluefitpolicy=ROTATE tickvaluerotation=DIAGONAL tickvaluelist=(2 3 3.5 4 4.5 5 6 7 7.5)) griddisplay=ON name="column"
					   ;
            columnaxis/display=(ticks tickvalues label) label="Visit (month)" labelattrs=(color=green)
			           linearopts=( tickvaluefitpolicy=ROTATE tickvaluerotation=DIAGONAL  tickvaluelist=(2 3 3.5 4 4.5 5 6 7 7.5)) griddisplay=ON name="column"
					   ;
			endcolumnaxes;

			rowaxes;
			rowaxis/display=(ticks tickvalues label) label="Contrast Sensitivity" griddisplay=ON name="row";
			rowaxis/display=(ticks tickvalues label) label="Contrast Sensitivity" griddisplay=ON;
			endrowaxes;

			/***Specify how to define the legend to be displayed***/
			sidebar/align=bottom;
			     discretelegend "ps1" "ps2" "ps3" "ps4" "ps5" "ps6"/border=FALSE;
			 endsidebar;


	    endlayout;
	  endgraph;
	end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Jul 2016 09:43:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/281972#M9996</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-07-04T09:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: How could I change the X axis tickvalues direction in Layout LATTICE in GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/282002#M9999</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The gap could be increased with columgutter. If you don't want to increase this gap to avoid lose space. Also you could try to add the option&amp;nbsp;TICKVALUEFITPOLICY= ROTATEALWAYS &amp;nbsp;to try to force to rotate. I think that only can be used in versions 9.4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 14:20:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/282002#M9999</guid>
      <dc:creator>arodriguez</dc:creator>
      <dc:date>2016-07-04T14:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: How could I change the X axis tickvalues direction in Layout LATTICE in GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/282011#M10001</link>
      <description>&lt;P&gt;I believe suggestion by Rodriguez would work. &amp;nbsp;Alternatively, you could set&amp;nbsp;the xaxis offsetmax for the left&amp;nbsp;cell and offsetmin for the 2nd right cell to push the markers furthur into each cell. &amp;nbsp;Personally, I do not prefer rotated tick values, but that would work. &amp;nbsp;Another way would be to allow tick value splitting by setting the TickValueFitPolicy. &amp;nbsp;In that case you would have to provide whitespace for "Month 30". &amp;nbsp;All the Month values will get split.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 14:46:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/282011#M10001</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-07-04T14:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: How could I change the X axis tickvalues direction in Layout LATTICE in GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/282069#M10003</link>
      <description>&lt;P&gt;Hi Sanjay,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes you are absolutely right. I am really pleased to see your point on this question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jack&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 01:42:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/282069#M10003</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-07-05T01:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: How could I change the X axis tickvalues direction in Layout LATTICE in GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/282070#M10004</link>
      <description>Really thanks for your quick and professional advice. The problem is resolved.</description>
      <pubDate>Tue, 05 Jul 2016 01:44:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-could-I-change-the-X-axis-tickvalues-direction-in-Layout/m-p/282070#M10004</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-07-05T01:44:03Z</dc:date>
    </item>
  </channel>
</rss>

