@Jay323 wrote:
Hi All,
Wish someone can help me for my graph. I am trying to remove the highlighted part 24H in below graph on day 1 day 7 and day 8, but keep the day 2.
proc template; define statgraph datapanel; begingraph / designwidth=9in designheight=5.9in attrpriority=none dataColors=(red black) dataContrastColors=(red black) dataSymbols=(squarefilled circlefilled) dataLinePatterns=(solid solid); layout DATAPANEL classvars=(NDAY) / rows=1 columns=4 headerlabeldisplay=value rowdatarange=union row2datarange=union columnaxisopts=(linearopts=(tickvaluelist=(0 1 2 8 12 24)) linearopts=(TICKVALUEFITPOLICY=none)) rowaxisopts=(LabelPosition=DataCenter linearopts=(viewmin=-8 viewmax=12 tickvaluelist=(-8 -6 -4 -2 0 2 4 6 8 10 12))); layout PROTOTYPE; scatterplot x=TIME y=MEANCHG / yerrorupper=ulm yerrorlower=llm group=PLBO groupdisplay=cluster; seriesplot x=TIME y=MEANCHG / group=PLBO groupdisplay=cluster display=(markers) name='s' markerattrs=(size=2pct); endlayout;
sidebar / spacefill=false; discretelegend 's' / title='' across=1; endsidebar; endlayout; endgraph; end; run;
Please look at your tickvaluelist for the columnaxisopts. if you don't want the 24 there then don't put it in the option list.
... View more