search for: markusloew

Displaying 5 results from an estimated 5 matches for "markusloew".

2017 Oct 17
2
ggplot / second axis / just a notation problem
Hi, I have a question on ggplot2 with the second axis, but I don't think one needs to know ggplot2 package in order to answer this question. In this example, https://rpubs.com/MarkusLoew/226759 since the transformation of the second axis is given by y1=y2*5, ##### p <- p + scale_y_continuous(sec.axis = sec_axis(~.*5, name = "Relative humidity [%]")) ##### Note "~.*5" What can I do if the transformation is given by y1=y2-3 or y1=y2/5? Should I...
2017 Oct 12
2
dual y-axis for ggplot
Hi, To my knowledge, an excellent of ggplot with a second y-axis is https://rpubs.com/MarkusLoew/226759 In this example, the author uses two colors for the two lines, but the line shapes are the same -- both are solid. Could each line have its own color as well as its own shape? For example, can I make the red line with the linetype "twodash", while the blue line with the linetyp...
2017 Oct 17
0
ggplot / second axis / just a notation problem
...On Tue, Oct 17, 2017 at 12:24 PM, John <miaojpm at gmail.com> wrote: > Hi, > > I have a question on ggplot2 with the second axis, but I don't think one > needs to know ggplot2 package in order to answer this question. > > In this example, > https://rpubs.com/MarkusLoew/226759 > since the transformation of the second axis is given by y1=y2*5, > ##### > p <- p + scale_y_continuous(sec.axis = sec_axis(~.*5, name = "Relative > humidity [%]")) > ##### > Note "~.*5" > What can I do if the transformation is given...
2017 Oct 12
0
dual y-axis for ggplot
...ue/red,solid, the other with two dash/solid, black ). How can I have only one legend with blue/two dash and red/solid? 2017-10-12 0:06 GMT-07:00 John <miaojpm at gmail.com>: > Hi, > > To my knowledge, an excellent of ggplot with a second y-axis is > > https://rpubs.com/MarkusLoew/226759 > > In this example, the author uses two colors for the two lines, but the > line shapes are the same -- both are solid. Could each line have its own > color as well as its own shape? For example, can I make the red line with > the linetype "twodash", while the bl...
2017 Oct 12
1
dual y-axis for ggplot
...> How can I have only one legend with blue/two dash and red/solid? > > > > > 2017-10-12 0:06 GMT-07:00 John <miaojpm at gmail.com>: > > > Hi, > > > > To my knowledge, an excellent of ggplot with a second y-axis is > > > > https://rpubs.com/MarkusLoew/226759 > > > > In this example, the author uses two colors for the two lines, but the > > line shapes are the same -- both are solid. Could each line have its own > > color as well as its own shape? For example, can I make the red line with > > the linetype "tw...