BookmarkSubscribeRSS Feed
Hanyu
Obsidian | Level 7

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.

1 REPLY 1
Jay54
Meteorite | Level 14

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

  panelby origin / onepanel rows=1 novarname layout=columnlattice

          spacing=20 colheaderpos=bottom noborder noheaderborder;

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 2365 views
  • 0 likes
  • 2 in conversation