Skip to content
Prev 11945 / 398502 Next

plotting 2 y axes

David White <dwhite at ling.ohio-state.edu> writes:
By default there is only room for 2.1 lines of text on the right hand
side of a plot. The tick marks take one and the labels another and
there needs to be a blank line between labels and axis title....
I.e. you likely need to play with par(mar=) to get at least 4 lines
on that side. Also, axis() doesn't take
a ylab argument so try

 mtext("Heyho",side=4,line=3)