I hear what you are saying but I would counter then that 'separator tab' directives don't actually do what they claim to do. To me, delimited data means that everything that is between the delimiters is considered data. I'm somewhat familiar with RFC4180 and in my reading, I believe RFC 4180 agrees with this. That is, in CSV foo,bar is not the same as foo, bar (note the space) And from the RFC 4180 BNF: TEXTDATA = %x20-21 / %x23-2B / %x2D-7E Here hex 0x20 is the space character The command set datafile...
Hi Ethan, I think the trim command will be useful in general. I was achieving a similar workaround using the word call. I think that there still is an underlying bug however. It seems that the with table command prepends characters to your data (specifically the space char) when it shouldn't. It is reasonable to expect gnuplot to change how your data is delimited (since it was set via a separator) but I think that it is unreasonable for gnuplot (or any application for that matter) to modify the data...
Selecting columns using strcol adds extra spaces
Selecting columns using strcol adds extra spaces
Thanks again Ethan. Just now had the opportunity to test. Confirmed the fix. I appreciate all your time and dedication. Mike
Incorrect number of columns reported in stats command in datablock
Ethan- Disregard previous. In my swapping out of different versions of gnuplot I was accidently running the above examples on 5.2.4 not your patched version. It appears things might be fixed including the segfault. Again, thanks for taking care of this. Mike
Hi again Ethan, Applied your patches. First, segfault issue appears to be fixed. so that is a good thing. Thanks! So yes, the actual results are not what I was expecting due to the way the number of columns are interpreted. The "load_block.gp" script essentially just loads a datafile and plots it to block but as you suggest above, the unexpected bahavior appears to be really how columns are parsed in and used. To me, simply plotting one column of data from an infile should result in one column of...