Data visualization with SAS programming

skipmiss in gtl

Reply
Occasional Contributor
Posts: 9

skipmiss in gtl

I use the skipmiss option in gplot to break line graphs where data are missing. I was interested in moving up to gtl, but can find no reference to skipmiss in the gtl or sas/graph documentation. Is skipmiss implmented in gtl or sas/graph 9.2?
SAS Employee
Posts: 980

Re: skipmiss in gtl

I use skipmiss in gplot a lot, but I'm not sure if it's possible in GTL.
Here is a gplot example, in case someone would like to play around
with the data in GTL and try it ...


data mydata;
input x y;
datalines;
1 3
2 4
3 3.5
4 .
5 4
6 5
;
run;

symbol1 value=dot interpol=join;
proc gplot data=mydata;
plot y*x=1 / skipmiss;
run;
SAS Super FREQ
Posts: 925

Re: skipmiss in gtl

Yes, it is supported in GTL and the SG procedures. The option is BREAK=true on the SERIESPLOT and STEPPLOT statement. In SGPLOT and SGPANEL, the BREAK boolean option is supported on SERIES, STEP and LINECHART statements.

Thanks!
Dan
SAS Super FREQ
Posts: 925

Re: skipmiss in gtl

One correction: when I said LINECHART statements, I meant the VLINE ahd HLINE statements (which are linecharts :-))

Thanks!
Dan
Occasional Contributor
Posts: 9

Re: skipmiss in gtl

Thank you very much, works like a charm.
Ask a Question
Discussion stats
  • 4 replies
  • 201 views
  • 0 likes
  • 3 in conversation