I have this graph.
Why are the points of the y-axis (black color) are written in the graph?
My code:
xcoord(N) = (N)
ycoord(N) = (column(0)+1)
symbol(N) = strcol(N) ne "/" ? strcol(N) : "/"
array colors = [0xFF0000, 0x0000FF, 0xFFFF00, 0x00FF00, 0xC080FF]
array symbol = ["/", "5", "g", "3", "o"]
color(sym) = sum [i=1:5] (symbol[i] eq sym ? colors[i] : 0)
plot for [N=1:6] 'test.txt' using (xcoord(N)):(ycoord(N)):(symbol(N)):(color(strcol(N))) with labels tc rgb variable font ":Bold" notitle, \
for [N=1:6] 'test1.txt' using (xcoord(N)+6):(ycoord(N)):(symbol(N)):(color(strcol(N))) with labels tc rgb variable font ":Bold" notitle
set xrange [0:12]
set yrange [0:5]
set ytics ("D" 1, "A" 2, "Q" 3, "F" 4)
To draw the graph, I read two files. Both files have the same y-axis. How can I remove the points?
test.txt
| # | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| D | / | / | 5 | / | g |
| A | / | o | / | / | 5 |
| Q | / | / | o | / | 5 |
| F | / | / | 3 | g | 3 |
test1.txt
| # | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|
| D | 5 | / | 5 | / | g |
| A | / | o | / | g | 5 |
| Q | / | o | o | / | 5 |
| F | / | / | 3 | 5 | 3 |
