I'm trying to plot some data from a file which contains a timestamp and comments as a string and various other data.
What's woking so far is to plot all comments as label with the time, but I'm looking for some kind of intelligent spacing, so that the comments don't overlap.
I'm also looking for a way to filter the comments. I got another column which specifies if the comment is supposed to be hidden or not. I'm using this Statment for conditional plotting:
plot 'data' using $1:0:($7==0?$6:" ")
It's filtering the datapoints but instead of showing the string in ($6) it's showing 0 if the Statment is true.
I think I can work around the spacing by manipulating the time by hand if the distance is too small, but a working filter would be a great help.
Has anyone dealt with this kind of problem before? I added a picture below of my progress so far.
I appreciate any suggestions. Thank you.