Pages

Saturday, May 31, 2014

Mindoro Digital Elevation Map Updated

Almost 2 years ago, I made a post on creating digital elevation map using R. For that post, I used the basic R plotting function to create the map. Recently, I started learning to use ggplot2 package for visualizing data. Today, I created the same map that I did two years ago, using raster and gpplot2, its for you guys to tell the difference.

Happy Coding! Use R!


































Before                                                       

















After



5 comments:

  1. Pretty cool stuff. It would be great if you could share the code as well. Thanks,

    ReplyDelete
  2. Nice work.. Keeping with the true spirit of R. Why dont you educate your readers with the code. so they can really use your work for their problem areas... After all it is this spirit of other generous programmers that must have allowed you reach this far...

    ReplyDelete
  3. Hi Geoquest and Vijay, I just tweak the code I got from this discussion (http://stackoverflow.com/questions/11179666/ggplot2-raster-plotting-does-not-work-as-expected-when-setting-alpha-values) to fit the data that I have.

    ReplyDelete
  4. Thanks @arsalvacion ! This is quite helpful.

    ReplyDelete
  5. Pretty Nice, can you share the code of this map, please! Thank you! Paulo

    ReplyDelete