Home > Net >  Hiding the Legend in this Graph
Hiding the Legend in this Graph

Time:04-14

I made this graph to demonstrate the progress being made by an optimization algorithm (enter image description here

  • The "legend" seems to be obscuring the graph - is it somehow possible to hide the legend?

Normally, graphs that are made using Base R and GGPLOT2 libraries can have their legends disabled pretty easily - but since the graphing function being used here is from a different library, I am not sure if it is possible to disable this legend.

Thank you!

CodePudding user response:

This should work: plot(GA, legend = FALSE)

P.S, if you are not familiar with a package function I always find it helpful to look up the R-documentation in the console using ??GA::plot

  • Related