BookmarkSubscribeRSS Feed
Hanyu
Fluorite | Level 6

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;

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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