From: Daniel J S. <dan...@ie...> - 2004-07-11 12:49:07
|
Hans-Bernhard Broeker wrote: >So, let's see: the general plan (before datastrings) is > >*) datafiles have colums >*) 'using' processes columns into records of at most 7 numbers >*) get_data() maps numbers from that record to data points > >Of these three actions, only the first two take place in datafile.c At >some point in the process, datafile handling *will* become dependent on >the plot style, but datafile.c is not where that point should be. > >I think we may have to turn all that on its head: let the caller tell the >df_... routines in advance how many using specs it needs, and what values >(axis assignment, time/date flag, datastring flag) each of those should >represent. > From what I remember, the issue in the image case had to do with how to route the columns in the instance where the user doesn't give the "using" details. The question for me is should the user be required *always* to enter specifically how columns are to be used via "using"? I mean, there are some logical default methods of treating the data if the user doesn't give the "using". However, that kind of "logical default" is plot_type dependent. Dan |