Skip to content

Instantly share code, notes, and snippets.

@ramnathv
Created March 5, 2011 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramnathv/856695 to your computer and use it in GitHub Desktop.
Save ramnathv/856695 to your computer and use it in GitHub Desktop.
# London Sport Participation
london <- readShapeSpatial('1_data/maps/london_sport.shp');
choro4 = plotChoropleth(.poly = london,
id1 = 'name', field = 'Partic_Per',
title = 'London Sport Participation'
legtitle = 'Partic_Per',
colpal = 'Blues', fixed = T,
breaks = seq(0, 30, by = 5)) +
opts(legend.position = c(0.90, 0.25);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment