Displaying 5 results from an estimated 5 matches similar to: "ggridges help"
2017 Oct 17
2
ggridges help
I have tried:
ggplot(plotFrame, aes(x = time, y = cycle, height = cycle, group = depth)) + geom_ridgeline()
ggplot(plotFrame, aes(x = time, y = depth, height = cycle, group = depth)) + geom_ridgeline()
ggplot(plotFrame, aes(x = time, y = depth, group = depth)) + geom_density_ridges()
none are producing a plot that was a ridgeline for each depth showing the time series at that depth. The plot
2017 Oct 17
0
ggridges help
...and your question is...?
... and the code you tried that didn't work was?
Bert
On Oct 17, 2017 12:22 PM, "Roy Mendelssohn - NOAA Federal" <
roy.mendelssohn at noaa.gov> wrote:
> Hi All:
>
> I am just not understanding ggridges. The data I have are time series at
> different depths in the ocean. I want to make a joy plot of the time
> series by depth.
2017 Oct 17
2
ggridges help
yes, thanks, and I was getting close to that. One thing I found is the manual says the height is the distance above the y-line, which should be, but doesn't have to be positive. In fact, the time series are estimates of a cycle, and has negative values, which unfortunately are not included in my sub-sample. And the negative values are not handled properly (the series disappears for
2017 Oct 17
0
ggridges help
Does the following work for you?
ggplot2::ggplot(plotFrame, aes(x = time, y = depth, height = cycle,
group = depth)) + ggridges::geom_ridgeline(fill="red", min_height=-0.25)
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Oct 17, 2017 at 12:43 PM, Roy Mendelssohn - NOAA Federal <
roy.mendelssohn at noaa.gov> wrote:
> I have tried:
>
> ggplot(plotFrame, aes(x =
2017 Oct 17
0
ggridges help
The min_height = -0.25 is there to make it show cycle values down to -1/4.
You may want to change it to -1 so it shows more of the cycle values.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Oct 17, 2017 at 1:26 PM, Roy Mendelssohn - NOAA Federal <
roy.mendelssohn at noaa.gov> wrote:
> yes, thanks, and I was getting close to that. One thing I found is the
> manual says the