Data visualization with SAS programming

x-axis has ".0%" instead of "0%"

Reply
N/A
Posts: 0

x-axis has ".0%" instead of "0%"

My x-axis has ".0%" instead of "0%".
Does anyone know how to change this?

proc gchart data=q5 anno=anno_labels;
hbar bu1 / discrete
nostats
type=sum sumvar=percent1
group=q5
patternid=group
freq
format percent1 percent5.2;
run;
SAS Employee
Posts: 980

Re: x-axis has ".0%" instead of "0%"

How about something like this (specifying a percent format with no decimal places)...


data foo;
x=1; y=0; output;
x=2; y=.1; output;
run;

symbol1 v=dot i=join;
proc gplot data=foo;
format y percent5.0;
plot y*x;
run;

Message was edited by: Robert Allison @ SAS Message was edited by: Robert Allison @ SAS
Ask a Question
Discussion stats
  • 1 reply
  • 110 views
  • 0 likes
  • 2 in conversation