Certainly! - That would be the very basic line plots - described in more detail in the doc - you've checked there first, right? 🙂
All you'd have to do is modify the symbol statement in the above example, as follows:
data test;
input month count ;
cards;
1 10
2 20
4 19
5 5
;
symbol1 value=dot height=2 interpol=join;
axis1 order=(1 to 5 by 1) minor=none offset=(5,5);
axis2 order=(0 to 25 by 5) minor=none offset=(0,0);
proc gplot data=test;
plot count*month=1 / haxis=axis1 vaxis=axis2;
run;
Or, if you want to have a "gap" in the line plot, where the value at 3 is missing, then insert a SAS "missing value" in the data, and use the 'skipmiss' gplot option...
data test;
input month count ;
cards;
1 10
2 20
3 .
4 19
5 5
;
symbol1 value=dot height=2 interpol=join;
axis1 order=(1 to 5 by 1) minor=none offset=(5,5);
axis2 order=(0 to 25 by 5) minor=none offset=(0,0);
proc gplot data=test;
plot count*month=1 / haxis=axis1 vaxis=axis2 skipmiss;
run;
proc print data=test; run;