Removing Legend in ggplot

I have the following plots:

The code for the plots are as follows:

How can I remove the legends for the first and second plots?

Thanking you in advance

I'm not sure I understand your question "How can I remove the legends for the first and second plots", there is no legend in the second plot. Maybe you mean "first and third plots"? If so, just add the line

theme(legend.position="none")

to the first and third ggplot statements.

Cheers
Steen

1 Like

Many thanks, that works

Regards.

Chris

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.