Displaying 20 results from an estimated 2000 matches similar to: "minor axis ticks in trellis graphics?"
2011 Nov 14
1
Adding units to levelplot's colorkey
How to add units (e.g. "cm") to the color key of a lattice levelplot?
The plots looks fantastic, but it would be nice to indicate somewhere
near the end of the color key that the values associated with its colors
are in centimeters or some other physical units.
The only thing I find is the possibility to specify the labels so that
one explicitly includes the units. That leaves
2007 Jan 23
1
How to generate 'minor' ticks in lattice (qqmath)
Dear group,
I tried to generate labels for every second tick in lattice (qqmath).
Version: 0.14-16
Date: 2006/12/01
R version 2.4.1 (2006-12-18)
An example:
library(lattice)
numy=100
y=runif(numy,min=0,max=1)
sig=0.05
numsig=length(which(y<sig))
tck.no=11 # number of ticks
tcks=1:tck.no
labl=as.character(0.1*tcks-0.1) # label for all ticks
labl[seq(2,tck.no-1,2)]="" # delete
2003 Apr 27
2
bug and proposed fix in print.trellis 1.7.0 (PR#2859)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---1678264062-154654637-1051422990=:2626055
Content-Type: TEXT/PLAIN; charset=US-ASCII
---1678264062-154654637-1051422990=:2626055
Content-Type: TEXT/PLAIN; charset=US-ASCII;
2009 Jun 17
3
lattice: axis ticks, axis alignment and remove axis from plot
Hi there,
I'm a bit confused concerning the axis tck setting in the lattice
package as the ticks on left sided axis aren't
drawn at all with the following setting:
dados <- data.frame(varsep = factor(rep(1:2,10)),
i = runif(20))
library(lattice)
my.theme <- list(
axis.components = list(left = list(tck = 1, pad1 = 1, pad2 =
2), top = list(tck = 0, pad1
2012 Nov 22
1
[lattice] Increase distance between tick labels and ticks in wireframe plot ("pad")
Hello,
I try to increase the distance between tick labels and ticks in a lattice wireframe plot. Here's a minimal example:
## Minimal example
x <- y <- z <- c(1,2,3)
df <- data.frame(x, y, z)
wireframe(z ~ x*y, df, scales = list(arrows = FALSE, col = "black", font = 1, tck=0.6))
I tried the axis.components option
2011 Jul 21
6
Lattice: place ticks only on y-axis
I am using lattice for a bar plot, having a little trouble removing ticks,
tick labels from x-axis, but keeping them on the y-axis. I looked around
quite a bit (http://tolstoy.newcastle.edu.au/R/e7/help/09/06/1733.html, help
pages, etc), tried variations of "scales = list(alternating = c(0,0)",
"scales = list(alternating = c(0,0), tck = c(0,0))" and others, couldn't
quite
2008 Nov 24
2
lattice contourplot background covers inward-facing ticks
I wish to have inward-pointing ticks on my contourplot graph, but the
colored background produced by the "region=TRUE" statement covers the
ticks up, is there any way around this? Sample code below. --Seth
library(lattice)
model <- function(a,b,c,d,e, f, X1,X2) # provide model function
for contour plot
{J <- a + (b*X1) + (c*X2) + (d*X1*X2) + e*(X1^2) + f*(X2^2)
pp
2013 Jun 10
1
Using Lattice, LatticeExtra - Hide right and top axes in multipanel plots
Dear Rxperts,
How do I hide the top and right axes in multiple panel plots? A couple of
examples are provided below.. Would highly appreciate appreciate your
assistance..
#Example 1
library(latticeExtra)
xyplot((1:200)/20 ~ (1:200)/20, type = c("p", "g"),
scales = list(x = list(log = 2,alternating=0), y = list(log =
10,alternating=0)),
xscale.components =
2007 Jun 25
3
a string to enviroment or function
Hi,
I am wondering how to make a function Fun to make the following work:
t0 <- (paste("hgu133a", "ENTREZID", sep=""))
xx <- as.list(Fun(t0)) # make it work like xx<-as.list(hgu133aENTREZID)
thanks,
--
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.
"Did you always know?"
"No, I did not. But I believed..."
---Matrix III
2007 Aug 30
2
Additions to xyplot (lattice)? - legend, ticks, axis label size, text
I have created an xyplot of a time series with the following code...
win.graph(width = 10, height = 7)
panel1 = function(x, y) {
panel.loess(x, y, lwd=2.5, span=0.5, col="gray")
panel.xyplot(x, y, pch=19, col="blue", cex=1.25)
}
xyplot(oneplusdensity ~ year, data=figdata, aspect="fill", cex=1.5,
xlab=NULL, ylab=expression("Crabs per
2011 Jan 13
3
Rotated, Right-Justified Labels for Shortened Tick Marks
Hello R-help,
I'm trying to make a fairly simple plot axis that goes something like
this:
plot(-10:10,-10:10, yaxt='n')
axis(side=2, las=1, hadj=1, tck=-.01, cex.axis=.6)
...but as you can see, the labels are not close enough to the y-axis
(where I want them... to save space for publication).
Can anybody help me figure out how to move these labels over the the
right a bit?
2004 Mar 17
2
R-1.8.1-4: Font family, ticks and mathematical expression??
Hi all,
Could anyone help answer the following questions, please?
(I'm using R-1.8.1-4 on Fedora Core 1 and very new to R)
(i) Is it possible to specify a font family (e.g. courier or helvetica)
when graphing?
(ii) How can I make ticks point inwards on all four sides of a plot? Is
it possible to have minor and major ticks?
(iii) How would I specify a symbol "\sim" (i.e.
2011 Sep 16
1
xyplot remove ticks from top and right
Dear R-help,
I am drawing a graph using xyplot.
The axis labels only appear on the left and bottom axes - I used the option
xyplot(scale = list(alternating = 1))
However while the labels no longer appear on the top and right border
of the graph the ticks do! Any help would be greatly appreciated.
Kind regards,
Alex Olssen
2009 Oct 12
1
How to hide tick lines behind the "box-and-whisker" 's in a boxplot
Dear R people,
I wonder how to hide tick lines behind other figures in a plot, e.g.
in a boxplot.
# Sample code:
x<- c(rep(4,50),rep(5,20),rep(6,50),rnorm(20,5,1))
boxplot(x)
axis(2,tck=1,col.ticks='grey',lty=5 )
# end of sample code
The tick lines is put on top of the box-plot, but I would like to put
these lines behind the box and whiskers..
Regards
Helmer
2007 Jan 23
1
how to write randomforest in r
Dear Sir,
I want to know how to do for getting the results.
1. data set is not in r.
how to use my data set in r.
2. using randomForest function to build tree with my data set
how to write for it
3. using this random forest how to predict the new data
Please reply me.I want to bulid random forest in r and predict the new
data. My data set is in the attachment file.Like my attachment file,I
want to
2006 Jul 10
2
Setting the colors of lines in a trellis plot...
With some help from those with expertise on this list, I managed to
produce a plot using trellis that looked like I wanted it to look.
Now, I need to take the same plot and make the lines on it color, but
I want to specify the color for the lines myself.
I've managed to make the key use the colors I want. I've managed to
make the symbols of the actual plot use the colors I want. But I
2006 Aug 24
5
xyplot tick marks and line thickness
Hello,
A made a xyplot using the lattice library in R (latest version).
The publisher of our paper has requested:
1. all tick marks should point inwards instead of outwards.
2. All lines should be thicker (lines, axes, boxes, etc. Everything). Lines is easy...I used: lwd=1.5 but what about the lines of the axes, and the lines that build up the plot itself?....?
Any
2010 Aug 24
1
tick marks on both sides of axis
hello,
all my attempts to get a plot with tick marks on both sides of axis failed -
can someone please help me with this?
thanks,
kay
-----
------------------------
Kay Cichini
Postgraduate student
Institute of Botany
Univ. of Innsbruck
------------------------
--
View this message in context: http://r.789695.n4.nabble.com/tick-marks-on-both-sides-of-axis-tp2336668p2336668.html
Sent from the
2013 Jan 31
2
ACLs on a directory on GPFS
Hello,
I am using the vfs_gpfs samba module to map ACLs through samba. It works
fine on files, but directory ACLs are ignored. Ex:
getfacl /sb/share/myplace/
file: sb/share/myplace/
owner: root
group: root
user::rwx
user:afrankel:rwx
group::---
mask::rwx
other::---
When I try to access this folder in Windows, I get permission denied.
The same permissions on a files, I can open it / modify it
2011 Mar 10
3
lattice xscale.components: different ticks on top/bottom axis
Good afternoon,
I am trying to create a plot where the bottom and top axes have the same
scale but different tick marks. I tried user-defined xscale.component
function but it does not produce desired results. Can anybody suggest
where my use of xscale.component function is incorrect?
For example, the code below tries to create a plot where horizontal axes
limits are c(0,10), top axis has ticks