Patterns as GNUplot datafile separators?
In GNUplot, it is possible to set the delimiter for the input data to any single character by setting the datafile separator. I am wondering if it is possible to have it deal with a variable span of characters or even a fancier patter. The following built-in option allows it to deal with any single whitespace character,
Code:
set datafile separator whitespace Code:
2020-05-17 06:35 20.812 21.937 |
Well, there's a possibility to invoke awk from inside GNUplot. Does it count as preprocessing?
|
Very interesting. Piped-data for gnuplot is buried deep down in the gnuplot manual and I would not have seen that section otherwise. Thanks. I wish that their manual was HTML too not just PDF.
However, looking at the two scripts and four files involved, I think it'll just be better to adjust my workflow a little for now. I see some big changes which I can make but will procrastinate on refactoring for a while longer and just make a few tweaks instead. |
All times are GMT -5. The time now is 05:54 PM. |