search for: ylab2

Displaying 7 results from an estimated 7 matches for "ylab2".

Did you mean: ylab
2011 Apr 13
2
FW: how to enclose two xyplot
Dear R-users, I have to plot two xyplot, and I wish to enclose this two graphs with just one headline, the same x scale, the same grid etc. These parameters should tie in, in order to obtain, visually, a unique graph formed by two xyplot. I try to give an idea: xyplot1: |_|_|_| xyplot2: |_|_|_| what i want: | | | | |_|_|_| I tried to use the command
2010 Dec 09
4
[lattice xyplot] Help needed in help in customizing the panel.abline() function
...lty = 2) panel.xyplot(...) }) sales <- xyplot(pct_inv_left ~ week_num|sku_num, data=swtop16,type = "l",lwd=2,panel = function(...) { panel.abline(h = 75, lty = 2) panel.xyplot(...) }) doubleYScale(disc, sales, style1 = 0, style2 = 2, add.ylab2 = TRUE,text = c("# stores with gt 50pct disc", "% Unsold")) -- View this message in context: http://r.789695.n4.nabble.com/lattice-xyplot-Help-needed-in-help-in-customizing-the-panel-abline-function-tp3079656p3079656.html Sent from the R help mailing list archive at Nabble.com.
2002 Apr 26
3
different data series on one graph
Hello, I'm looking for a way to plot different data series on one graph. I have a series of hourly rainfall and quarterly flow measurements (i.e. 4 times an hour) of a catchment. The rainfall should be plotted in bars, the flow as a line. Both on the same X axe (time) but with different Y axes. The problem is the plot() function does not support add=TRUE... Furthermore I'm not sure
2013 Sep 19
3
lattice: double y - problem changing axis color after doubleYScale
...y = 0.2, corner = c(2, 2), title="", cex.title=1.3), ylab = ("Pc"), xlab="Week", data= SummPdata,type="o", par.settings = my.theme) plotP doubleYScale(plotN, plotP, add.ylab2 = TRUE) #Why can I not change the axis color by adding to this argument? # I want the y1 and y2 axes to be defined not by color, but by shape and linetype. # I have managed to draw the shapes (defined by Nc and Pc) by the y1 and y2 axes, but I do not manage to get the lines # though the shape - i...
2014 Jul 28
0
lattice, latticeExtra: Adding moving averages to double y plot
...#I would like to have different symbols and line types for stuff2 and stuff3 panel.lmline(x,y,col = "black", data=madfStuff2_3) # wrong! Need my moving averages here! }) myplot2 doubleYScale(myplot1, myplot2, style1 = 0, style2=0, add.ylab2 = TRUE, text = c("stuff1", "stuff2", "stuff3"), columns = 2, col="black") # problem here is that I end up with two lines. I need a double y-plot with one moving average plots that are read off y-axis 1 # and two that reads off y-axis 2. I need t...
2010 Apr 19
2
Overlay of barchart and xyplot
Hello R Folks, I am new to R. I have been struggling to overlay a barchart with a xyplot together on one plot but did not get this worked out. Any help and idea are greatly appreciated. I attached R scripts for barchart and xyplot below and also data I used. What I am trying to do is just to put the barchart and xyplot together on one plot. Huapeng <<dispersal_infestation.csv>>
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...ot(...) > ? ? ? }) > sales <- xyplot(pct_inv_left ?~ week_num|sku_num, data=swtop16,type = > "l",lwd=2,panel = function(...) { > ? ? ? ? ? panel.abline(h = 75, lty = 2) > ? ? ? ? ? panel.xyplot(...) > ? ? ? }) > doubleYScale(disc, sales, style1 = 0, style2 = 2, add.ylab2 = TRUE,text = > c("# stores with gt 50pct disc", "% Unsold")) > -- > View this message in context: http://r.789695.n4.nabble.com/lattice-xyplot-Help-needed-in-help-in-customizing-the-panel-abline-function-tp3079656p3079656.html > Sent from the R help mailing list arc...