Data visualization with SAS programming

Proc sgchart marking

Reply
Contributor
Posts: 22

Proc sgchart marking

Hello.

I drew a chart using proc sgchart. The follwing code is the code I used to draw the chart.

 

proc sgplot data=prc. prc_stock_short_th_m;
where day_public>=-50 and day_public<=50;
vbar day_public / response=short_ratio stat=mean;
run;

plot.png

The result is this.

 

However, I cannot see the chart since its markings in x-axis are too small.

Can I alter these marking without changing the contents of the graph?

SAS Super FREQ
Posts: 4,124

Re: Proc sgchart marking

tell the procedures that your X axis is linear:

 

xaxis type=linear;

Ask a Question
Discussion stats
  • 1 reply
  • 118 views
  • 0 likes
  • 2 in conversation