Question: riboSeqR: legend in plotFS
0
gravatar for antonvila.s
4.2 years ago by
Spain
antonvila.s0 wrote:

Hi Tom,

i'd like to change the position of the legend in plotFS, as it sits on top of some of the bars. Can you tell me how to do this?

best,

Antón

riboseqr • 553 views
ADD COMMENTlink modified 4.2 years ago by Thomas J Hardcastle180 • written 4.2 years ago by antonvila.s0
Answer: riboSeqR: legend in plotFS
0
gravatar for Thomas J Hardcastle
4.2 years ago by
United Kingdom
Thomas J Hardcastle180 wrote:

The underlying plotting function of plotFS is barplot, and you can pass barplot arguments to plotFS; the legend arguments in barplot are defined in the args.legend variable. So, if you wanted to move the legend to the top left corner:

plotFS(fS, args.legend = list(x = "topleft"))

 

Cheers,

Tom

 

ADD COMMENTlink written 4.2 years ago by Thomas J Hardcastle180
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 313 users visited in the last hour