illustrate_extrapolation | R Documentation |
illustrate_extrapolation
plots elements of extrapolations
(e.g., marked points, reference lines) in the same style as
illustrate_signal
.
illustrate_extrapolation( df, dynamic_range, title = NULL, show_neighbors = TRUE, show_extrapolated_points_and_lines = TRUE, ... )
df |
data.frame.The original data before extrapolation. |
dynamic_range |
numerical vector. The dynamic ranges of the input
signal. Should be a 2-element numerical vector. |
title |
Char. The title of the plot. |
show_neighbors |
bool. Show the points used for extrapolation if TRUE. |
show_extrapolated_points_and_lines |
bool. Show the extrapolated points and curves used for extrapolation. |
... |
Parameters that can be used to tune extrapolation, including
|
ggplot2 graph object. The graph to be shown.
Other visualization functions.:
generate_interactive_plot()
,
illustrate_signal()
# Use the maxed-out data for the conceptual diagram df = conceptual_diagram_data[ conceptual_diagram_data['GRANGE'] == 2, c("HEADER_TIME_STAMP", "X")] # Plot extrapolation illustration using default settings illustrate_extrapolation(df, dynamic_range=c(-2,2)) # Do not show neighbor points illustrate_extrapolation(df, dynamic_range=c(-2,2), show_neighbors=FALSE) # Do not show extrapolated points and lines illustrate_extrapolation(df, dynamic_range=c(-2,2), show_extrapolated_points_and_lines=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.