Ganesh Vaid - 2017-12-15

I do have one problem which I'm unable to solve with gnuplots. I would really appreciate if you can provide an answer.

I have a text file with data as below.

I am able to plot a line graph for column1 and column2 (weeknum x-axis and value on y-axis). This, I was able to figure out.

however, I want a "dot" on the chart, where weekno2 is not "zero". Weekno2 value will always be either 0 or the same value as Weekno. It will not be any other value. Since for various datasets the (value, y-axis) might be different, I want the dot to be along the middle of the chart with respect to y-axis.

In other words, I was the Dots to show up (Weekno2,<middle of="" y-axis="" value="">)

Please let me know how this can be achieved. Thanks for your help.

WeekNo Value WeekNo2

1 10 0
2 11 0
3 11 3
4 10 0
5 12 5