Displaying 15 results from an estimated 15 matches similar to: "How do I ensure that the minimum value is always displayed on a y-axis in a plot?"
2009 Aug 19
3
Hello
Hello!
I am trying to merge two xy-plot with different ylimits.
Can someone please give me possible way of achieving it..
Thank you
Regards
Dimple
[[alternative HTML version deleted]]
2011 Mar 01
1
Lattice: useOuterStrips and axes
Consider the following:
library(lattice)
library(latticeExtra)
temp <- expand.grid(
subject = factor(paste('Subject', 1:3)),
var = factor(paste('Variable', 1:3)),
time = 1:10
)
temp$resp <- rnorm(nrow(temp), 10 * as.numeric(temp$var), 1)
ylimits <- by(temp$resp, temp$var, function(x) range(pretty(x)))
useOuterStrips(xyplot(
resp ~ time
2011 May 23
1
panel.first problem when plotting with formula
I wrote a little function called bgfun that adds gridlines and a background,
but it's not working with I plot using the formula.
I have some theories on what's happening, but even if my theory is right, I
don't know how to fix it.
Someone have a straightforward silver bullet?
Thank you,
Gene
bgfun = function(color='honeydew2',linecolor='grey45',
2009 Sep 16
1
Can someone please explain why the last tick mark on this chart is not showing?
Hi all,
I'm trying to log chart but with natural looking tick marks. My
specifications are very specific -- it must indicate the lowest
number's tick as well as the maximum.
I've attached sample code and data for a particular case (and there
are a few more like this) where the bottom tickmarks on the chart are
not set to where I want them to be and yet they fit in the ylim range.
2007 Nov 23
1
ggplo2: fixed extent greater than data?
Hi everyone!
I'm digging into ggplot for some while now, I must say it's great! But - as
some others have posted before, and hadley knows very well himself - the
documentation is lacking some bits...
So I have to pose that question directly:
I'd like to produce a series of maps with different data on, but exactly the
same extent in each plot. Is there a way of switching the
2006 Sep 11
1
graphics: y limit on xyplot
I would like to set the y axis limit of an xyplot using the object 'ylimit',
but receive this error:
[1] 990
Error in extend.limits(limitlist[[i]], axs = axs) :
improper length of lim
I get the same error if I use ylim.
library(lattice)
trellis.device(col = FALSE, theme = lattice.getOption("col.whitebg"))
name <- "Variable name"
symbols <-
2009 Mar 02
1
handle graph size in eps
Hi all,
I've got a density graph made with the following commands:
win.graph(width=13,height=6)
par (
fin=c(13,3)
,mai=c(1,1,0.5,0.5)
,mfrow=c(1,2)
,cex.axis=1.5
,cex.lab=1.5)
dens<-density(DATA1.y[2,]-mean(DATA1.y[2,]),kernel="gaussian")
xlimit<-range(dens$x)
ylimit<-range(dens$y)
hist(
DATA1.y[2,]-mean(DATA1.y[2,])
,xlim=1.1*xlimit
,xlab=expression(q[e])
2013 Sep 19
3
lattice: double y - problem changing axis color after doubleYScale
Hi,
I have had some troubles using doubleYScale. No matter what I try, I cant manage to change the color of the y-axis in the end. I have to produce a black and white plot. There is also something I do not understand regarding fontfamilyj="serif" when using it in:
strip=strip.custom()
Maybe someone has a better idea for defining which line and dots belong to which y-axis when not using
2007 Oct 26
0
"free" y-limits in xYplot
Dear R Gurus -
Please help me to make a multiple-panel plot using xYplot in which
the y-axis of each panel is dependent only on the data of that plot.
Here is the dataset:
response date mean Lower Upper
1 density 1 271.0000000 249.2500000 289.0000000
2 density 4 296.7500000 280.5000000 313.0000000
3 recruits 1 271.0000000 249.2500000
2009 Aug 19
0
font size on graphics
Dear R users,
My question is about finding the proper font size for graphics.
For this i had written a code that creats 4 diferent graphics and saves
them as a png file.
>From these PNG.graphics , i select one of the proper size and past it to a
word document.
I have experimented with lots of settings yet:nd lost my track a bit.
there are cex; cexaxis cexlabes and so on, i lost track of
2009 Aug 19
0
font size on graphics question (correction in example,sorry)
Dear R users,
My question is about finding the proper font size for graphics.
For this i had written a code that creats 4 diferent graphics and saves
them as a png file.
>From these PNG.graphics , i select one of the proper size and past it to a
word document.
I have experimented with lots of settings yet:nd lost my track a bit.
there are cex; cexaxis cexlabes and so on, i lost track of
2013 Oct 14
0
ENMCA in EnQuireR problems!
Hello,
I am a post-doc of the Federal University of Santa Catarina State
(UFSC). Last year, used EnQuireR for hirarchical cluster analisis and
end up very well. I formated my computer couple months ago and
installed R again as
version x64 3.0.2. have new data which ENMCA function of EnQuireR
package is not running.
R seems to be fine as it runs funcions of other packages. Even MCA
2000 Nov 20
1
Bug in stars.R (PR#739)
Hi all,
Please let me know if this isn't the correct place to report bugs in
contributed code. Otherwise, the following code contains one additional
line and a short comment above it. The extra line of code catches the
unusual situation where a data column contains all 0 values.
The corrected code is below the signature.
Thanks for your help.
Tom
Thomas S. Dye, Ph.D.
2010 Mar 09
0
plotlmer graphics/x-axis and legend options
Hi,
I am Using R.2.9.2 and I am trying to make nicer some graphics, which
are constructed with plotmer.fnc. In particular, I have two questions:
1. Is is a way to decide in which order we want the labels on the
x-axis. For now, the reference value label is the first one, and the
other labels appear in the alphabetical order. I would like them to be
sorted in the ascending way. Here is my
2003 Sep 17
0
Just don't do it, surely? (was RE: Retrieve ... argument values)
Thanks for the insight.
> -----Original Message-----
> From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
<snip>
> dots <- list(...)
> haveYlim <- "ylim" %in% names(dots)
>
> is the sort of thing we still understand 5 years later.
>
I didn't say "understand", I said "easily follow". Obviously how
"easily" is