LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2003, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 7 Jul 2003 13:35:02 -0700
Reply-To:   Jishnu <jishguha@YAHOO.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Jishnu <jishguha@YAHOO.COM>
Organization:   http://groups.google.com/
Subject:   ANNOTATE
Content-Type:   text/plain; charset=ISO-8859-1

hI ALL, BY THE CODE BELOW i AM TRYING TO ANNOTATE , BUT I CAN NOT GET THE LABELLING OF THE STATES SUCCESSFUL.

ods listing close;

ods html file="E:/your_filename.htm";

goptions reset = all device = activex xpixels = 640 ypixels = 480 cback = white border gunit = pct htext = 3 ftext=swiss ;

data center; length function $ 8; retain flag 0 xsys ysys '2' hsys '3' when 'a' style 'swiss'; set maps.ussenter (where=(fipstate(state) ne 'DC') drop=long lat);

function='label'; text=fipstate(state); size=2.5; position='5';

if ocean='Y' then do; position='6'; output; function='move'; flag=1; end;

else if flag=1 then do; function='draw'; size=.25; flag=0; end; output; run; proc gmap map=maps.us data=mapnew; id state; choro Number_of_Accounts/ annotate=center; run; quit; ods html close; ods listing;


Back to: Top of message | Previous page | Main SAS-L page