Need to create the equivalent of a static variable so that whenever this function is run, it increments the counter by one. That way filenames will be sequential
1 | plot_tree(g, outname)
|
Function for plotting tree with certain color and plotting parameters
@param g The graph to plot. @param outname Name of the output file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.