SaveSVG saves the plot to an svg -- first updates to ensure that plot is current
(fname core.Filename)
| 196 | |
| 197 | // SaveSVG saves the plot to an svg -- first updates to ensure that plot is current |
| 198 | func (pl *PlotEditor) SaveSVG(fname core.Filename) { //types:add |
| 199 | pl.UpdatePlot() |
| 200 | // TODO: get plot svg saving working |
| 201 | // pc := pl.PlotChild() |
| 202 | // SaveSVGView(string(fname), pl.Plot, sv, 2) |
| 203 | pl.svgFile = fname |
| 204 | } |
| 205 | |
| 206 | // SavePNG saves the current plot to a png, capturing current render |
| 207 | func (pl *PlotEditor) SavePNG(fname core.Filename) { //types:add |