From c82524d9acbdf6b51361397353d677733ea4336d Mon Sep 17 00:00:00 2001 From: Andrew Gene Brown Date: Thu, 18 Jan 2024 12:06:25 -0800 Subject: [PATCH] wcs vignette: fix use of ordinal colors from Soil Data Viewer --- vignettes/wcs-ssurgo.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/wcs-ssurgo.Rmd b/vignettes/wcs-ssurgo.Rmd index 3016d50c..39b4c73d 100644 --- a/vignettes/wcs-ssurgo.Rmd +++ b/vignettes/wcs-ssurgo.Rmd @@ -642,7 +642,7 @@ activeCat(mu2) <- 'corsteel' # plot plot( mu2, - col = cols$hex, + col = cols$hex[na.omit(match(unique(tab$corsteel), cols$label))], axes = FALSE, legend = "topleft" )