I'm trying to generate a scatter plot inwhich I can set the axis crossing point. The code I've tried so far is: proc sgplot data=pi.LdIcuHospState; where groupid=1 and year(edarrivaldate)=2015 and FacilityIDo ne "State"; title '2015 Survival Group 1'; scatter x=IssAvg_Ldr y=LiveDieAvgr / group=FacilityIdo xorigin=&y_LD_Avg yorigin=&y_LD_Avg; run; But - I get an error message when I use the xorigin and yorigin statements. ERROR 22-322: Syntax error, expecting one of the following: ;, ATTRID, CLUSTERWIDTH, COLORMODEL, COLORRESPONSE, DATALABEL, DATALABELATTRS, DATALABELPOS, DATASKIN, DISCRETEOFFSET, ERRORBARATTRS, FILLEDOUTLINEDMARKERS, FREQ, GROUP, GROUPDISPLAY, GROUPORDER, JITTER, JITTERWIDTH, LABELSTRIP, LEGENDLABEL, MARKERATTRS, MARKERCHAR, MARKERCHARATTRS, MARKERFILLATTRS, MARKEROUTLINEATTRS, NAME, NOERRORCAPS, NOMISSINGGROUP, RATTRID, SPLITCHAR, SPLITCHARNODROP, SPLITJUSTIFY, TIP, TIPFORMAT, TIPLABEL, TRANSPARENCY, URL, X2AXIS, XERRORLOWER, XERRORUPPER, Y2AXIS, YERRORLOWER, YERRORUPPER. ERROR 76-322: Syntax error, statement will be ignored I'd like the output graph to look like the picture below. . Suggestions? Thanks!
... View more