Displaying 6 results from an estimated 6 matches for "scale_shape_discret".
Did you mean:
scale_shape_discrete
2011 Jul 10
2
grey colored lines and overwriting labels i qqplot2
...w I would like to add lines fitting accordingly with the grey scale.
Where can I find out the names of the grey tones?
4.) I would like to add different shapes. However, when I type
>p+ geom_point(aes(shape = factor(TREATMENT))) + scale_shape(solid = FALSE)
I get this error message:
Error: scale_shape_discrete can deal with a maximum of 6 discrete values,
but you have 7. See ?scale_manual for a possible alternative.
I did not find anything useful looking at the scale_manual pages. Any tips
on how to add another symbol?
5. ) Finally, how can I remove the grey background in the graph?
Thank you for...
2023 May 12
2
Newbie: Controlling legends in graphs
...(y = m_K, color = "red")) +
geom_smooth(aes(y = m_K, color = "red")) +
geom_point(aes(y = m_J, color = "blue")) +
geom_smooth(aes(y = m_J, color = "blue")) +
guides(size = "legend",
shape = "legend")
## scale_shape_discrete(name="Person",
## breaks=c("m_K", "m_J"),
## labels=c("K", "J"))
## theme(legend.title=element_blank())
When this runs, the blue line for "K" is above the red line for "J"...
2023 May 16
0
Newbie: Controlling legends in graphs
...ooth(aes(y = m_K, color = "red")) +
>> ????? geom_point(aes(y = m_J, color = "blue")) +
>> ????? geom_smooth(aes(y = m_J, color = "blue")) +
>> ????? guides(size = "legend",
>> ???????????? shape = "legend")
>> ????? ## scale_shape_discrete(name="Person",
>> ????? ##????????????????????? breaks=c("m_K", "m_J"),
>> ????? ##????????????????????? labels=c("K", "J"))
>> ????? ## theme(legend.title=element_blank())
>>
>> When this runs, the blue line for "...
2009 Dec 22
0
ggplot2 version 0.8.5
...cetting with multiple variables in one
direction (fixes #11)
* facet_wrap now sets aspect ratio correctly
* facet_wrap now maintains original order of data
* geom_hline and geom_vline now work with coord_flip (fixes #30)
* geom_path drops missing values at start and end of each line (fixes #41)
* scale_shape_discrete, scale_size_continuous, scale_alpha and
scale_linetype_discrete added to scales to match naming convention of all
other scales (fixes #47)
* legends now correctly calculate label widths (fixes #38)
* legends will only merge if both the title and all labels are the same.
(fixes #16)
* legends...
2009 Dec 22
0
ggplot2 version 0.8.5
...cetting with multiple variables in one
direction (fixes #11)
* facet_wrap now sets aspect ratio correctly
* facet_wrap now maintains original order of data
* geom_hline and geom_vline now work with coord_flip (fixes #30)
* geom_path drops missing values at start and end of each line (fixes #41)
* scale_shape_discrete, scale_size_continuous, scale_alpha and
scale_linetype_discrete added to scales to match naming convention of all
other scales (fixes #47)
* legends now correctly calculate label widths (fixes #38)
* legends will only merge if both the title and all labels are the same.
(fixes #16)
* legends...
2013 Sep 18
1
ggplot2: changing strip text in facet_grid and a legend text problem
Hi,
Dummy data script and scripts are attached below.
I would like to change the plot to look like this: