basically this should take a table, the columns to plot (x & y axes) and plot type (line, boxes etc.)
this should then automatically detect the type of the x column (supporting different date & time types etc., plus string or sym columns - these are handled by adding i column and using this for plotting, with the string/sym column as labels)
eventual return is plot as a list of strings
updated pts.q to make use of this new function, greatly simplifying the code used here for plotting
big change here is the .plot.auto function
basically this should take a table, the columns to plot (x & y axes) and plot type (line, boxes etc.)
this should then automatically detect the type of the x column (supporting different date & time types etc., plus string or sym columns - these are handled by adding i column and using this for plotting, with the string/sym column as labels)
eventual return is plot as a list of strings
updated pts.q to make use of this new function, greatly simplifying the code used here for plotting