It's not really supported. Adding a "push!" function to add layers to plots was proposed (https://github.com/dcjones/Gadfly.jl/issues/332), but I haven't done so yet. In fact, adding layers to a plot p will usually work with "push!(p.layers, layer(...))", but that's kind of an unofficial solution.
On Wednesday, December 31, 2014 12:26:49 AM UTC-8, AVF wrote: > > So, if I created a plot in a block of code, and then want to add another > array of data to it in another block of code, is that possible? (I.e., I > find it inconvenient that I have only one chance to plot all the layers... > or did I misunderstand how it works?) >