Re: [R] Achieve independent fine user control of ggplot geom settings when using groups in multiple geom's

2015-10-30 Thread Hadley Wickham
I'd recommend reading the ggplot2 book - learning more about how scales work in ggplot2 will help you understand why this isn't possible. Hadley On Thu, Oct 29, 2015 at 6:31 PM, sbihorel wrote: > Thank for your reply, > > I may accept your point about the

Re: [R] Achieve independent fine user control of ggplot geom settings when using groups in multiple geom's

2015-10-30 Thread sbihorel
Thanks Hadley, I will certainly read your book. Unfortunately, what you just confirmed as the developer of ggplot means that ggplot is non-starter for what I want to build. Too bad, I was starting to appreciate some of its advantages over lattice. About your book, in case I do not find a

[R] Achieve independent fine user control of ggplot geom settings when using groups in multiple geom's

2015-10-29 Thread sbihorel
Hello, Before I get to my question, I want to make clear that the topic of my present post is similar to posts I recently submitted to the list. Although I appreciate the replies I got, I believe that I did not correctly frame these previous posts to get to the bottom of things. I also want

Re: [R] Achieve independent fine user control of ggplot geom settings when using groups in multiple geom's

2015-10-29 Thread Ista Zahn
I would say in a word, 'no'. What you seem to be implying is that you want multiple color scales, multiple shape scales, etc. As far as I know there is no support for that in ggplot2. Perhaps if you show us what you're actually trying to accomplish someone can suggest a solution or at least a

Re: [R] Achieve independent fine user control of ggplot geom settings when using groups in multiple geom's

2015-10-29 Thread sbihorel
Thank you for your reply. I do not have anything specific data/geom/grouping in mind, rather a framework in which users would just pile of each other layer after layer of geom each defined with specific settings. A minimum realistic scenario would a geom_point followed by a geom_smooth or a

Re: [R] Achieve independent fine user control of ggplot geom settings when using groups in multiple geom's

2015-10-29 Thread Jeff Newmiller
I think a fundamental design principle of ggplot is that mapping of values to visual representation are consistent within a single plot, so reassigning color mapping for different elements would not be supported. That being said, it is possible to explicitly control specific attributes within

Re: [R] Achieve independent fine user control of ggplot geom settings when using groups in multiple geom's

2015-10-29 Thread sbihorel
Thank for your reply, I may accept your point about the mapping consistency when the different geom's use the same data source. However, as pointed out in my example code, this does not have to be the case. Hence my question about the geom-specific control of group-dependent graphical