R: barplot where x-axis has many identical values
I have data that looks like:
0.2 0.8 val1
0.3 0.7 val1
0.9 0.1 val1
0.22 0.78 val2
0.30 0.70 val3
0.00 1.00 val3
What I would like is a barplot where each row is plotted as its own bar
but in the names for the x-axis, I would don't want "val1" 3 times, I just
want it once and centralized (with respect to the val1 bars). I googled a
lot but do not know what to google honestly.
No comments:
Post a Comment