I am making a gif of diffusion using a series of heatmaps, and come from a Matlab background. In that environment, it was far more efficient to directly set the z-data of a current plot instead of redrawing the plot after every few iterations.
I want to know how to do this most efficiently in Julia. plot!() appends to an existing plot, but I cannot find the correct command to change current data, if it exists. What is the best way to change current data in an existing plot, especially the z/c data for a heatmap?