Data visualization with SAS programming

SGPLOT - How to remove the border on a graph?

Accepted Solution Solved
Reply
Contributor
Posts: 65
Accepted Solution

SGPLOT - How to remove the border on a graph?

[ Edited ]

I use proc sgplot to make a graph. I don't want the border around the graph. Is there a way to get rid off the border? Thanks!


Accepted Solutions
Solution
‎03-02-2017 09:36 AM
SAS Super FREQ
Posts: 925

Re: SGPLOT - How to remove the border on a graph?

If you are trying to get rid of the border around the entire graph, you can use the NOBORDER option on the ODS GRAPHICS statement.

 

ods graphics / noborder;

 

Hope this helps!

Dan

View solution in original post


All Replies
Frequent Contributor
Posts: 102

Re: sgplot

Super User
Posts: 19,167

Re: sgplot

If you're using later versions, not sure when it was added, see the NOBORDER and NOWALL options on PROC SGPLOT statement. 

 

http://support.sas.com/documentation/cdl/en/grstatproc/69716/HTML/default/viewer.htm#p073bl97jzadkmn...

Solution
‎03-02-2017 09:36 AM
SAS Super FREQ
Posts: 925

Re: SGPLOT - How to remove the border on a graph?

If you are trying to get rid of the border around the entire graph, you can use the NOBORDER option on the ODS GRAPHICS statement.

 

ods graphics / noborder;

 

Hope this helps!

Dan

Contributor
Posts: 65

Re: SGPLOT - How to remove the border on a graph?

It works. Thank you very much!
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 1525 views
  • 4 likes
  • 4 in conversation