Skip to content

Commit

Permalink
sorry, but I had to use the pipe to see what's going on here
Browse files Browse the repository at this point in the history
  • Loading branch information
heike committed May 23, 2024
1 parent 74eb390 commit e0702e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ parse_rgluiprev <- function(x)
render_land <- function(src,x3p,ccut)
{
imgsrc <- gsub(".x3p$",".png",src)
x3p_image(x3p_sample(x3p_add_hline(x3p,yintercept = ccut, size = 20, color = "#ea2b1f"),m=5) %>% x3p_rotate(),zoom=1)
x3p %>%
x3p_add_hline(yintercept = ccut, size = 20, color = "#ea2b1f") %>%
x3p_sample(m=5) %>%
x3p_rotate() %>%
x3p_image(size = c(750,250), zoom=1)
snapshot3d(imgsrc,webshot=TRUE)
return(imgsrc)
}
Expand Down

0 comments on commit e0702e7

Please sign in to comment.