powered by
This function plots previously created data.
generate_plot( df, file_name, polar, filetype, color = "black", background_color = "white" )
the data frame created with `generate_data()`
filetype of the final image. Default is `png`, for other options see the `devics` argument in `gggplot::gsave()`
do you want to use a polar coordinate system? The default is a cartesian coordinate system.
set the file type for the image
color of the points. default is black
background color of the plaut. default is white.
a png file
generate_data where the data is created
generate_data
# NOT RUN { generate_plot(df, file_name, polar = FALSE) # }
Run the code above in your browser using DataLab