Hi,
I'm learning to use the GMAP functionality but I can't work out how to control the height of the BLOCK. My GMAP code is...
goptions device=png Hsize=40cm Vsize=40cm;
proc gmap gout=region_data data=region_data map=uk_map_w_region all;
id id map_region;
block thing / blocksize=1 legend=legend2 woutline=1;
area map_region / legend=legend1;
run;
And this is my result...
Map of the UK
I know that there are a lot of blocks but I'd really like to make them all about 5% of the height that they currently are so that we can actually see the rest of the map.
How can I do this?
The relzero option might help (depending on your data).
But the 3d block/bar map functionality is very limited, and I don't recommend it for any serious data analytics.
Rather than trying to show 2 things on the map at once (one with the area color, and one with the bar height), use 2 separate maps (a separate map for each thing).
Post up your Excel map when you get that worked out - I'd like to see how they handle it! 🙂
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: