Data visualization with SAS programming

Control Cell Headers in SGPANEL

Reply
Super User
Posts: 993

Control Cell Headers in SGPANEL

Dear Experts,

This is with regard to query i have with regard to the cell headers in the graph generated by the SGPANEL. From the graph like the one below, SGPANEL procedure could be used. However the cell headers generated are displayed separately. I wanted to check if we could display the circled text as one rather than two. Is it possible. could you please provide a possible option if we have or any hint. appreciate your response.

I am using sas9.3.

Thanks,
Jag
Respected Advisor
Posts: 3,768

Re: Control Cell Headers in SGPANEL

What does it look like if you use LAYOUT=LATTICE?

Super User
Posts: 993

Re: Control Cell Headers in SGPANEL

when i do not use the layout=lattice  i get

with layout=lattice then

However i wish to remove the highlighted portion and get only single sex=M for all the three cells

Thanks,
Jag
Respected Advisor
Posts: 3,768

Re: Control Cell Headers in SGPANEL

I understand what you want.  Sometimes an alternative that conveys the same data and meaning can be just as good, or better.

I think in your case that a LATTICE layout solves your problem and is aesthetically pleasing.

Post a Question
Discussion Stats
  • 3 replies
  • 313 views
  • 0 likes
  • 2 in conversation