|
From: Daniel J S. <dan...@ie...> - 2007-07-01 06:01:21
|
Daniel J Sebald wrote: > No. v is an array of MAXDATACOLS, which is 7. So if we save those, > along with j that is 8 elements, counting j as a double. The point > structure has x, y, z, xlow, xhigh, ylow, yhigh, and type. Again 8 > elements. We don't save 100 columns. If the user want's to get at > the other columns in the data file he or she will have to issue a new > "plot" command in which case "refresh" is no longer relevant. Saving > a copy of the points, or a copy of the v's and j's is roughly the > same. Also, if memory space is a concern, we could keep track of the largest value of 'j' throughout the data read then condense the dynarray to one of narrower width by tossing out columns max(j)+1:7 which didn't contain any used data. We can't necessarily do that with the point coordinates stored with the plot. The xlow, yhigh, etc. could have been used for something special according to the case statement. So from that standpoint saveing j's and v's is maybe one of the more condensed records of the data. The v/j dynarray (that rhymes!) has its advantages, for what it's worth. Dan |