SaveCSV saves the Table data to a csv (comma-separated values) file with headers (any delim)
(fname core.Filename, delim table.Delims)
| 211 | |
| 212 | // SaveCSV saves the Table data to a csv (comma-separated values) file with headers (any delim) |
| 213 | func (pl *PlotEditor) SaveCSV(fname core.Filename, delim table.Delims) { //types:add |
| 214 | pl.table.SaveCSV(fname, delim, table.Headers) |
| 215 | pl.dataFile = fname |
| 216 | } |
| 217 | |
| 218 | // SaveAll saves the current plot to a png, svg, and the data to a tsv -- full save |
| 219 | // Any extension is removed and appropriate extensions are added |