Learning SAS? Welcome to the exclusive online community for all SAS learners.

SGPLOT: POLYGON statement

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 146
Accepted Solution

SGPLOT: POLYGON statement

Hi everyone,

 

I'm trying to produce a figue with SGPLOT procedure and the POLYGON statement. My SAS University version is Versión SAS: 9.04.01M5P09132017. According with documentation, POLYGON Statement appear on sas 9.4M1, but the proc sgplot is not producing any error message or warning and is not printing the polygon, it's creating dots instead.

 

Any idea of how to produce polygons in SAS universiy?

 

Kind regards,

   Toni


Accepted Solutions
Solution
‎02-05-2018 01:50 AM
Community Manager
Posts: 3,452

Re: SGPLOT: POLYGON statement

Posted in reply to arodriguez

POLYGON should work fine -- if you don't see it working, share your program here so we can see what might be going wrong.

 

Try the fun program that @tc shared in his USA flag example -- see if that works so you can see POLYGON working in your environment.

View solution in original post


All Replies
Solution
‎02-05-2018 01:50 AM
Community Manager
Posts: 3,452

Re: SGPLOT: POLYGON statement

Posted in reply to arodriguez

POLYGON should work fine -- if you don't see it working, share your program here so we can see what might be going wrong.

 

Try the fun program that @tc shared in his USA flag example -- see if that works so you can see POLYGON working in your environment.

Frequent Contributor
Posts: 146

Re: SGPLOT: POLYGON statement

Posted in reply to ChrisHemedinger

You are right, this sample works, so should be something in my code.

 

Thanks for the help

☑ This topic is solved.

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

Discussion stats
  • 2 replies
  • 307 views
  • 1 like
  • 2 in conversation