BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
imstrizn
Calcite | Level 5

hello guys, this is my first time writing a program and using SAS, so I need a help.

I will create GDP trends graph 2000-2022, but the Y-axis scale just follows the GDP point.
I wanna adjust Y-Axis (0-1400 interval 100) and the X-axis followed by every single year (not every 10 years). 

 

%%SASK
proc sgplot data=gdpIndonesia;
title "Indonesia Nominal GDP Trends 2000-2022";
series x=Year y=GDP_Nominal/markers curvelabel curvelabelattrs=(size=12pt)
curvelabelpos=max curvelabelloc=outside
lineattrs=(thickness=2pt) markers markerattrs=(size=6)
datalabel datalabelattrs=(size=10pt);

yaxis label='Nominal GDP (in billions USD)';

footnote j=L "GDP Deflator base 2015" ;
footnote2 j=L " " ;
run;

1 ACCEPTED SOLUTION
1 REPLY 1

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

5 Steps to Your First Analytics Project Using SAS

For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 319 views
  • 2 likes
  • 2 in conversation