It seems like when plotting to a table the string length of a column is apparently limited to about 62 characters. The code below is a minimal example (gnuplot 5.2.5).
Why is the string length limited to such a "small" value? Is there a way around to be able to use longer strings?
### plot dataset to table including strings
reset session
$DataInput <<EOD
# tab separated data
1 0.123 This is some text, actually a lot of text, which apparently is too much for gnuplot. 84
2 0.456 This is some text, actually a lot of text, which apparently is too much. 72
3 0.789 This is some text, actually a lot of text. 42
EOD
set datafile commentschar ""
set datafile separator "\n"
set table $DataOutput
plot $DataInput u (stringcolumn(1)) with table
unset table
set datafile separator "\t"
set datafile commentschar "#"
print "DataInput:"
print $DataInput
print "DataOutput:"
print $DataOutput
### end of code
Output:
DataInput:
# tab separated data
1 0.123 This is some text, actually a lot of text, which apparently is too much for gnuplot. 84
2 0.456 This is some text, actually a lot of text, which apparently is too much. 72
3 0.789 This is some text, actually a lot of text. 42
DataOutput:
# tab separated data
1 0.123 This is some text, actually a lot of text, which appar
2 0.456 This is some text, actually a lot of text, which appar
3 0.789 This is some text, actually a lot of text. 42