Displaying 16 results from an estimated 16 matches for "addlines".
Did you mean:
addline
2017 Jun 21
0
customizing color key with plot3D
...;)
# add as image with own color key, at bottom
image3D(z = -60, colvar = elev.classes, add = TRUE,
col = class.colors, #breaks = seq(0.5, 3.5, by=1),
clim=c(1,3),
colkey = list(length = 0.2, width = 0.4, shift = -0.15,
cex.axis = 0.8, cex.clab = 0.85, addlines=TRUE, tick=FALSE,
at = c(1.33, 2, 2.66), labels=paste("Class", 1:3)),
clab = c("","Elev Classes"), plot = TRUE)
Your package plot3D is a huge help to me. Previously I had to use a completely different software, VisIt, to do these kinds...
2007 Jan 09
3
Can i manage part of a file ..
Can I use puppet to ensure that a file includes certain text but not be
required to maintain the entire file?
For example,
I would like /etc/modprobe.conf to contain the following lines but the
file will also contain lines that are system dependent.
---------------------------------------------------------------------------------------
# Disable IPV6
alias net-pf-10 off
alias ipv6 off
2014 Mar 12
3
Sobreponer dos mapas
...ary(PBSmapping)
estados <- importShapefile(?Entidades_2013.shp") #Aquí cargamos las entidades federativas (32 entidades)
zonas <- importShapefile(?zm.shp?) #Aquí cargamos las zonas metropolitanas del país (345 municipios)
plotPolys(estados, xlab=?Longitud?, ylab=?Latitud?, border=?gray?)
addLines(zonas, col=?red?)
Este es el resultado: https://www.dropbox.com/s/1286j3ppk6nyve6/zonas.tiff
Ahora lo que deseo hacer es agregar datos, por ejemplo el cociente de localización de la industria de la electronica para cada municipio de las zonas. Anteriormente lo he hecho con spplot, pero primero ag...
2009 Jun 02
0
quantmod plot trendline
Hi,
Is there a way to plot trendline with quantmod package?
There is addLines function in the package but I can't seem to figure out how
to use it (not well documented):
> args(addLines)
function (x, h, v, on = 1, overlay = TRUE, col = "blue")
NULL
so arguments "h" and "v" add horizontal and vertical lines. How does
argument "x"...
2010 Mar 09
0
plotlmer graphics/x-axis and legend options
...bels appear in the alphabetical order. I would like them to be
sorted in the ascending way. Here is my code:
plotLMER.fnc(idtt_lmer7bis, xlabel ="", xlabs =NA, ylabel = "Reaction
time (ms)", fun = NA, pred = "Condition", n = 100, , mcmcMat = NA,
lockYlim = TRUE, addlines = TRUE, withList = FALSE, cexsize = 0.7,
lwd=2, font=2, cex.lab=1.25, tcl=-0.5, las=2, cex.axis=0.7)
2. In the plotlmer graphic with an interaction, is it possible to
remove the legend of the interacted factor? Again here is my code:
plotLMER.fnc(idbase_lmer22bis, xlabel = "Competence in...
2012 Jan 17
2
Separate ablines in lattice panels
Searched archives and found some old email threads on the topic. But mot exactly what I think I need. Suppose I have a datafile such as tmp.
tmp <- data.frame(var1 = c(rnorm(1000), rnorm(1000, 1, 1)), var2 = gl(2, 1000))
I'd like a plot similar to the one below, but with an abline of v=0 in the lower panel and v=1 in the upper panel. Code below creates two lines in each panel, not quite
2013 Jan 22
2
Adding a line to barchart
R-helpers:
I need a quick help with the following graph (I'm a lattice newbie):
require("lattice")
npp=1:5
names(npp)=c("A","B","C","D","E")
barchart(npp,origin=0,box.width=1)
# What I want to do, is add a single vertical line positioned at x = 2 that
lays over the bars (say, using a dotted line). How do I go about doing
this?
2009 Feb 03
2
Lattice histogram with vertical lines
I would like to add some vertical lines to a lattice plot of histograms.
What I am after is a lattice version of abline(v = 1234). The lattice
histogram plot is just:
histogram( ~ LTSE | approach, data = arrivals)
Can anyone point me in the right direction for this?
David Scott
_________________________________________________________________
David Scott Department of Statistics
The
2009 Oct 16
3
package installation from source
Dear all
I noticed from NEWS 2.11.0,dev
SIGNIFICANT USER-VISIBLE CHANGES
o Packages must have been installed under R 2.10.0 or later, as
the current help system is the only one now supported.
So I tried to follow instructions in manual, Duncan Murdoch presentation
and help pages to prepare and accomplish installation of a set of
functions I use. However in R 2.11.0dev and too in
2012 Jan 04
1
Adding a vertical line to plot with two overlapping density plots
Hi,
A simple question I hope. I wish to add a single vertical line to a plot
with several density plots.
Here is a simplified example.
############
thedata <- data.frame(x1=rnorm(100,1,1),x2=rnorm(100,3,1)) #create data
thedata.m<-melt(thedata)
densityplot(~value, thedata.m, groups=variable,auto.key=list(columns=2))
#this gives the two density plots
#########
what I wish now is to add a
2016 Apr 09
1
Quantmod abline and axis configuration
Hi all,
I have this code
I want to add two ablines like this
abline(h=2400, lty=3, col="lightgrey")
abline(h=400, lty=3, col="lightgrey")
But doesnt wotk.
I alo try to set ylim from 0 to max "Foa"+1000 but I?m not able ?Is it
posible?
require(latticeExtra)
require(ggplot2)
require(reshape2)
suppressPackageStartupMessages(require(googleVis))
require(quantmod)
2017 Jun 21
0
customizing color key with plot3D
...uot;, "green")
# add as image with own color key, at bottom
image3D(z = -60, colvar = elev.classes, add = TRUE,
col = class.colors, breaks = seq(0.5, 3.5, by=1),
colkey = list(length = 0.2, width = 0.4, shift = -0.15,
cex.axis = 0.8, cex.clab = 0.85, addlines=TRUE, tick=FALSE,
at = 1:3, labels=paste("Class", 1:3)),
clab = c("","Elev Classes"), plot = TRUE)
Thanks,
Scott
Scott Waichler
Pacific Northwest National Laboratory
Richland, Washington, USA
scott.waichler at pnnl.gov
2007 Jan 28
2
Adding lines to xYplot
I am using xYplot to plot data and CIs. How do I add several lines to
the figure?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102 Gilmer Hall
McCormick Road Charlottesville, VA 22903
Office: B011 +1-434-982-4729
Lab: B019
2012 Jun 06
5
how to add a vertical line for each panel in a lattice dotplot with log scale?
by considering this example from barley dataset
#code start
dotplot(variety ~ yield | site, data = barley,
scales=list(x=list(log=TRUE)),
layout = c(1,6),
panel = function(...) {
panel.dotplot(...)
#median.values <- tapply(x, y, median) # medians for each
variety
#panel.abline(v=median.values, col.line="red") # but this
2009 Feb 20
4
adding a reference line to an xyplot
Hi,
I want to add a dashed vertical line to a number of xyplots.
Here is a simple script of the type of plot I have but then I want to add a
reference line to 1995 on each of the panels. I have tried panel.abline and
other suggestions on the forum but can't get it to work.
plot<-rep(letters[1:3],each=10)
year<-rep(1991:2000,times=3)
matter<-rep(seq(2,6.5,0.5),times=3)
2006 Dec 14
2
xyplot: discrete points + continuous curve per panel
I have a number of x, y observations (Time, Conc) for a number of Subjects
(with subject number Subj) and Doses. I can plot the individual points with
xyplot fine:
xyplot(Conc ~ Time | Subj,
Groups=Dose,
data=myData,
panel = function(x,y) {
panel.xyplot(x, y)
panel.superpose(???) # Needs more here
}
)
I also like to plot on