Data visualization with SAS programming

SGPLOT - How to remove the border on a graph?

Accepted Solution Solved
Reply
Contributor
Posts: 67
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: 978

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

Posted in reply to zhuxiaoyan1

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

Posted in reply to zhuxiaoyan1
Super User
Posts: 21,568

Re: sgplot

Posted in reply to zhuxiaoyan1

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: 978

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

Posted in reply to zhuxiaoyan1

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: 67

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
  • 2718 views
  • 4 likes
  • 4 in conversation