Search found 4 matches

by jacotaco
Sun Sep 05, 2021 9:48 am
Forum: Module development
Topic: theme colors
Replies: 6
Views: 28852

Re: theme colors

ok for anyone having the same problem, I found out at stack overflow how to get fill colors from the ggplot build object: https://stackoverflow.com/questions/11774262/how-to-extract-the-fill-colours-from-a-ggplot-object
by jacotaco
Wed Sep 01, 2021 9:44 am
Forum: Module development
Topic: theme colors
Replies: 6
Views: 28852

Re: theme colors

ok I found a workaround by pasting the two densities in one list and giving them different groups. Then you can use fill=group in ggplot.
by jacotaco
Wed Sep 01, 2021 8:44 am
Forum: Module development
Topic: theme colors
Replies: 6
Views: 28852

Re: theme colors

Thanks for the quick reply!
I already looked at the code of descriptives. What I'm looking for is getting the same colours as when splitting a histogram (blue, grey, yellow in default settings).

plot <- ggplot(data, aes(x=var)) +
ylab("P(X=r)") +
xlab("r") +
xlim(0,100)+
ylim(0,0.3 ...
by jacotaco
Wed Sep 01, 2021 7:46 am
Forum: Module development
Topic: theme colors
Replies: 6
Views: 28852

theme colors

Hey there!
I'm currently working on a Jamovi Module for school students for my Mathmatics teaching studies. As I want to do a plot, comparing several binomial distributions I wonder how I can access the current jamovi theme colors if I want to have more than one.
Does anybody know ?
So far I know ...