TransWikia.com

tmap wrong histogramm

Geographic Information Systems Asked on August 9, 2021

I am making a map but my histogramm doesnt seems to be good.

 sgf_var <- "V"
tab <- "REC_T234"


label <- labels_rec %>%
 filter(VAR == sgf_var & TABLEAU == tab)


 map <- tm_shape(sgf_polyg_t234) +
     tm_polygons(col = "V8", style = "jenks", title="sgf_var",
     legend.hist = TRUE,
     legend.format=list(fun=function(x) formatC(x, digits=0, format="f"), text.separator= "-")) +
     tm_borders("#9E9E9E") +
 tm_layout(main.title = label$LIBELLE, main.title.size = 0.5,legend.outside = TRUE,  legend.title.size = 0.7, legend.hist.width = 1) 

Here the result :

enter image description here map

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP