View source: R/get_graph_limits.R
get_graph_limits | R Documentation |
A helper function for InSpectoR. To get plotting limits from a list of spectral data files. Not exported.
get_graph_limits(x)
x |
a list of spectral data files. Usually XData or XData_p |
A list with two elements
xlimits: a vector c(xmin,xmax)
ylimits: a vector c(ymin,ymax)
dfile <- system.file("foodstuff_powder","Y_foodstuff.txt",package="inspectrar") InSpectoR(dfile,0,1600,1024) #************************************************** #GUI may wait for your answer for creating a backup! #************************************************** leslimites <- get_graph_limits(XData_p) #****************************************** #Don't forget that an active GUI is running. #******************************************
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.