put XY or XYZ data to worksheet
void save_data_2_Wks( Worksheet & wks, vector & vX, vector & vY, vector & vZ = NULL )
No return
EX1
void save_data_2_Wks_ex1() { vector vx = {1, 2, 3, 4, 5}; vector vy = {0, 1, 2, 3, 4}; Worksheet wks("book1"); save_data_2_Wks(wks, vx, vy); }
This function will reset the worksheet as XY or XYZ. All extra columns will be removed.
origin.h