get_model_display_order {loon} | R Documentation |
Get the Order of the Display
Description
In loon
, if points (in scatter plot) or lines
(in parallel or radial coordinate) are highlighted, the displayed order will be changed.
This function always reflects the current displayed order
Usage
get_model_display_order(widget)
Arguments
widget |
An |
Examples
if(interactive()) {
p <- l_plot(rnorm(10))
get_model_display_order(p)
p['selected'][c(1,3,5,7)] <- TRUE
# The 1st, 3rd, 5th, 7th points will be drawn afterwards
# to make sure that they are displayed on top
get_model_display_order(p)
}
[Package loon version 1.4.1 Index]