You are here

Changing attributes of the plot in umxGxEbiv

3 posts / 0 new
Last post
noamm's picture
Offline
Joined: 10/10/2018 - 17:20
Changing attributes of the plot in umxGxEbiv

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!

tbates's picture
Offline
Joined: 07/31/2009 - 14:25
perhaps

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

comments welcome on further improvements!

noamm's picture
Offline
Joined: 10/10/2018 - 17:20
couldn't make it work

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!