You would need a split-character format. There is some repetition, so try using a macro like this: %macro cookie; *makes a split-character format; proc format; value $split %do i = 10 %to 230 %by 10; i = break into characters and fuse using ~ symbol, so 10 becomes '1~0'; ... last bit of value statement would be 230 = '2~3~0' ; %end; %mend; %cookie; axis2 split = "~"; xaxis = axis2; format value $split;
This is based on Solution # 3 from "Charting the Basics with PROC GCHART" by Perry Watts. It will apply to sgplot, because axis statement is outside of procedure.
... View more