Graphics Programming

Data visualization using SAS programming, including ODS Graphics and SAS/GRAPH. Charts, plots, maps, and more!
BookmarkSubscribeRSS Feed
twildone
Pyrite | Level 9

Hi....I was wondering if it is possible to increase the size of the graph that is displayed insider the border especially vertically as some the countries are hard to distinguish or is this fixed since the map is pre-produced. Also, is there a way to suppress the title for this map as if I don't specify a title, a title of World Population appears. Thanks.

 

 

goptions gunit=pct cback=white htitle=4 htext=3  border reset=all;
title Enrolment - Fall 2018;
proc sgmap mapdata = maps.world	maprespdata = List114 plotdata = List114;    
	choromap IDName / mapid = id id = id;
	text X = xc Y = yc text = IDName1 / textattrs = (weight = bold size = 1.5pct color = black );
run;
1 REPLY 1
ChrisNZ
Tourmaline | Level 20

1. Have you tried this?

   ods graphics on / width=6in;
   ods graphics on / height=4in;
   ods graphics on / width=4cm height=3cm;

 

2.This is invalid syntax:

title Enrolment - Fall 2018;

 The title text must be quoted.

 

3. This suppresses titles :

title ;

 

sas-innovate-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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