Relative Content

Tag Archive for sas

How do I print formated text in a barchart segment using sgrender/sgplot?

I´d like to make a barchart in SAS using proc sgplot/sgrender and be able to adjust the font color according to the fill color or the perticular segment value. The fill color could go from dark to light as the font at some value the font color switches from white to black to get a good contrast.

SAS Base: KEEP Statement and KEEP = Option

Hi I am new to SAS and I came across a SAS Base Programming Reference Sheet. In the section of The Data Step: Controlling Variable Output, the example code in the box confuses me.