Skip to content
Prev 374690 / 398513 Next

Plot qualitative y axis

Hi all,

I?m trying to plot this data

N M W
I 10 106
II 124 484
III 321 874
IV 777 1140
V 896 996
VI 1706 1250
VII 635 433
VIII 1437 654
IX 693 333
X 1343 624
XI 1221 611
XII 25 15
XIII 3
XIV 7 8
So that in de Y axis will be the level (qualitative data) and in the X axis
will be M and W variables. So x axis will be wwith a lenght between 0 and
2000.

I would like to plot a line with M and other with W so it will be obvious
that above V (in the Y axis) thera are more W and below level V there are
more M.

Can you please guide me?

In excel putting Y as X axis is easy but dind?nt achieve to invert rows and
I ?m trying to plot it in R.

Many thanks in advance