Skip to content

xendai66/Glyph-Maps-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Glyph-Maps-Solutions

Easy: Download the cubble package and run the glyph map examples (?geom_glyph)

Solution: First I installed the latest released version of cubble from CRAN with: install.packages("cubble")

      library(cubble)
      library(ggplot2)
      
      #basic glyph map with reference line and box---------------
      
      print_p <- GGally::print_if_interactive
      p <- ggplot(data = GGally::nasa,
      aes(x_major = long, x_minor = day,
      y_major = lat, y_minor = surftemp)) +
      geom_glyph_box() +
      geom_glyph_line() +
      geom_glyph() +
      theme_bw()
      print_p(p)

gsoc easy plot

Medium: Read the Geoms section in the ggplot2 package reference and other geoms available in the ggplot2 extensions. Create a example that is applicable to be used as a glyph on a map.

Solution: https://github.com/xendai66/Glyph-Maps-Solutions/commit/66ab998fbfd936abba0199e5ca5096c0b2d43ac9

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages