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! 🙂
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
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.
Ready to level-up your skills? Choose your own adventure.