r - An equivalent of xpd=TRUE for ggvis -


i playing ggvis , came following code:

library(ggvis) mtcars %>% ggvis(~disp, ~wt) %>%   layer_points() %>%   scale_numeric("x", domain = input_slider(50, 500, c(100, 400)), nice = false) %>%   scale_numeric("y", domain = input_slider(0, 6, c(1, 5)), nice = false) 

this enables me dynamically resize plot. problem when resizing of data points plotted outside range. there option xpd=true base r graph clip plotting region, data points not in range of axes not plotted?


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -