Data visualization with SAS programming

proc sgpanel removing panel frame of panelby variable

Reply
Contributor
Posts: 44

proc sgpanel removing panel frame of panelby variable

When I use the proc sgpanel procedure, I want to remove the panel frame surrounding the panelby variable. Does anybody know how? Here is an example from Sanjay@SAS.

proc sgpanel data=sashelp.cars(where=(type ne 'Hybrid'));

  panelby origin / onepanel rows=1 novarname layout=columnlattice

          spacing=20 colheaderpos=bottom noborder;

  scatter x=Type y=mpg_city / jitter markerattrs=(size=5);

  rowaxis display=(noline) valueattrs=(size=7) grid;

  colaxis display=(noline nolabel) valueattrs=(size=7) fitpolicy=none;

run;

Notice the frame surrounding 'Asia' 'Europe'. I want to remove that frame. Thank you.

SAS Super FREQ
Posts: 1,080

Re: proc sgpanel removing panel frame of panelby variable

With SAS9.40M2, you can use the NOHEADERBORDER option.

  panelby origin / onepanel rows=1 novarname layout=columnlattice

          spacing=20 colheaderpos=bottom noborder noheaderborder;

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