Changing attributes of the plot in umxGxEbiv

Posted on
No user picture. noamm Joined: 10/10/2018
Forums
Hi,

Is there a way to control things in the appearance of the plot that comes with umxGxEbiv? Mainly I would like to change the legend size, line colours and maybe adding dots.

Thanks!

Replied on Mon, 10/05/2020 - 18:12
Picture of user. tbates Joined: 07/31/2009

I can see the utility in that. Currently using core graphics - so hard to edit. The development version now includes a gg=TRUE option, and uses add a ggplot2 for the graphs, and returns these as a list(raw, std) of ggplots for you to edit/decorate.

GitHub issue [#139](https://github.com/tbates/umx/issues/139)

comments welcome on further improvements!

Replied on Wed, 10/07/2020 - 14:12
No user picture. noamm Joined: 10/10/2018

In reply to by tbates

Thank you for adding this option! This could be great for using the output to present the results.
However, I couldn't make it work. I uploaded the development version (although the installation of igraph failed, I don't know if it's related), added a gg = TRUE (umxPlotGxEbiv(m1, gg = TRUE)) and saved this as an object, but did not get a list of plots (but rather a list of mfrow). I've seen the example in GitHub which looks great and would love to be able to use this.

Thanks!