Me preguntaba cómo podría crear una caja de leyenda opaca en R para mis trazados. Intenté usar bg = "gris", pero las líneas en el gráfico aún cubren la leyenda.Opaque Legend Box
5
A
Respuesta
11
Tienes que usar bg = "blanco" (o cualquier otro color, como ya hiciste) y tienes que dibujar la leyenda después de trazar las líneas/puntos/cuadrícula/etc.
Por ejemplo:
plot(...)
lines(...)
grid(...)
legend(...) # legend has to be the last command!
Cuestiones relacionadas
- 1. Propiedad UIView opaque
- 2. R: legend tipo en ggplot2
- 3. overlay opaque div over youtube iframe
- 4. Matplotlib Legend for Scatter con colores personalizados
- 5. Shadow Box en Firefox
- 6. box-shadow siendo cortado
- 7. Combo Box if declaración
- 8. Matplotlib basemap: Popup box
- 9. Ray-box Intersection Theory
- 10. Restablecer TinyMCE box
- 11. vim y latex-box
- 12. Black Box Unit Testing
- 13. jQuery select box replacement
- 14. box-shadow on tr's
- 15. jEditable input-box CSS style
- 16. Ext JS Message Box Position
- 17. Taper/fade CSS shadow box?
- 18. CSS Box Shadow Bottom Only
- 19. Selenium C# accept confirm box
- 20. CSS3 Box-Shadow Linear Gradient?
- 21. CSS propiedad box-reflect compatibility?
- 22. fb: like-box, custom css?
- 23. flot graph, use legend para activar/desactivar la serie
- 24. ¿Es posible agregar Legend a la gráfica en JFreeChart?
- 25. ¿Se puede diseñar cualquier elemento HTML como fieldset/legend?
- 26. JQuery Select Box and Loop Help
- 27. CSS box-shadow en contenido desplazado
- 28. CSS3 box-shadow de divs superpuestos-como
- 29. Table Row Box-Shadow on Hover (Webkit)
- 30. Google Plus Equivalente a Facebook Like Box
Se puede publicar su código? probablemente solo necesites llamar a la leyenda después de llamar a los puntos. –