Displaying 20 results from an estimated 2000 matches similar to: "graphics defaults"
2003 Dec 10
2
OT: BibTex year-only citation in text?
Sorry for the off-topic question, but I know there are some talented
LaTeX users out there. Which bibliography style gives only the year in
text citations (e.g "for further details, see Anderson (1992)" )?
Thanks
Jason
--
Indigo Industrial Controls Ltd.
http://www.indigoindustrial.co.nz
64-21-343-545
jasont at indigoindustrial.co.nz
2003 Nov 16
2
Newbie: Barchart Gray with White Grid?
Hello,
I'm just getting in to R, been reading manuals (thanks to all who
provided pointers to good docs!), and messing with different commands.
I'd appreciate a little help with this exploration, and I hope that my
question is relatively easy to answer (probably, there's a simple way
to do what I'm working toward).
R's statistical functions are coming along easily enough,
2008 Jun 26
3
using contour() with x,y,z data?
Hello list,
I'm new to R and I have a problem :-) Below is what my data file that looks
like. I tried to import and contour this data by doing this:
cv_data <- read.table("cv_data.csv",sep=",",header=TRUE)
attach(cv_data)
contour(x,y,z)
I get the error "Error in contour.default(x,y,z) : increasing 'x', and 'y'
values expected" I
2007 Feb 21
3
Different gridlines per panel in xyplot
In the example R script below, horizontal gray gridlines are drawn at y
coordinates where the points are drawn with the code:
panel.abline(h=y, v=xScale, col.line="gray")
How do I change this so that the horizontal gray gridlines are drawn at y
coordinates where the y labels are drawn? The challenge is that each panel
has different y-ranges (in my real example the y-ranges and
2009 Nov 20
1
Hmisc and Lattice question on gridlines
I have been using lattice xyplot and am quite pleased, and I can use the
type=c("b","g") to have it print gridlines into the page, yet if I want to
have a line plot with points on it, how do I get the xYplot to print
gridlines (I use Hmisc xYplot because of its bands method which allows
plotting of confidence intervals). Any suggestions? I have looked at the
panel functions but
2009 May 16
2
Question about barplot: gridlines & value labels
Hello!
I promise I looked into help files before asking. Still cannot figure
it out. I think it's because I am totally confused what packages use
lettice, which use trellis, etc.
Sections 1 and 2 below produce the data and the data to plot. My
question is about barplot in Section 3. I am trying to:
1. add only horizontal gridlines and manipulate the type and color of
that line. tck = 1 is not
2010 Apr 22
2
How to insert gridlines in lattice density plot
Greetings.
How can I insert gridlines
in the following density plot call?
Must one compose a panel function?
'data.frame': 46 obs. of 2 variables:
$ fallrates: num 5.2 7.1 7.1 9.8 3.7 7.5 5 6.2 1.5 2.9 ...
$ prepost : Factor w/ 2 levels "post","pre": 2 2 2 2 2 2 2 2 2 2 ...
library(lattice)
densityplot(~fallrates, groups = prepost,
2012 May 08
2
Installing LaTeX class files not available in Debian packages
I apologize for abusing the list somewhat but there is some connection
to R. Several of the example files in the knitr package for R use the
tufte-handout class, which, AFAICS, is not available in Ubuntu or
Debian packages (please correct me if I am wrong).
The source files are available at tufte-latex.googlecode.com (a.k.a.
code.google.com/p/tufte-latex) and I presume they should end up in a
2004 Mar 11
1
tics and grids
Hi,
Whats the easiest way to set a desired interval for tics on axes in R ?
And will the 'grid' command put gridlines on all tics automatically ?
I tend to get stuck with graphs with ranges 0-1 with only 2 tics and 2
gridlines in the 0-1 range, while I would like 10 tics (or every 0.1)
tnx,
Piet
please reply to pvremortNOSPAM at vub.ac.be
2009 Aug 25
1
Lattice graph tweaking
To: silwood-r
Subject: Removing lattice graph gridlines and editing label box colour
Hi,
Is it possible to remove the background gridlines from a lattice graph (ie graph made up of multiple individual graphs with annoying blue grid in the backgroun)?
Also, Is it possible to change the colour of the individual graph label boxes? - ie the default pink boxes above the individual graphs
Thanks
2023 Dec 11
1
Small typo in Sweave.Rnw
In the first paragraph of Sweave.Rnw
(./src/library/utils/vignettes/Sweave.Rnw), it reads
for literate programming \cite{fla:Knuth:1984}.
but probably should be
for literate programming \citep{fla:Knuth:1984}.
^
kind regards
Enrico
--
Enrico Schumann
Lucerne, Switzerland
http://enricoschumann.net
2005 Sep 02
9
The Perils of PowerPoint
Hi all,
Below is a URL for an editorial published today in our local newspaper,
the Minneapolis StarTribune. It was originally published in the
Washington Post a couple of days ago:
http://www.washingtonpost.com/wp-dyn/content/article/2005/08/29/AR2005082901444.html
but that site requires registration. The 'Strib" site seems to be open
for the moment:
2008 May 07
2
figure margins too large for a barplot in png, pdf ok
I've used to have a script with a barplot command it in, preceded by a
png:
png(graph.file,height=H,width=W)
barplot(t,names.arg=breaks[2:(length(t)+1)],tck=gridlines)
-- worked before R 2.6.2. When I tried it in R 2.6.2, which I have
for a while but didn't run with that script, it complained, the
margins too large, and I've googled the messages from our list where
neither
2011 May 03
2
Controlling the extent of ablines on plot
Hi all,
I'm attempting to make a quite-specific plot where the axes cross at the
origin and with gridlines for guidance. I've been using ablines to create
the reference lines because I want a lot of control as to where they are
placed on the axis. This command works very well for such control.
However...
These ablines don't seem to work when I specify the origin as 0,0. They go
2009 Feb 18
1
interaction.plot - gridlines and formatting legend title...
Thank you for providing advice on this graphics question.
I am building an interaction.plot.
d=data.frame(xx=c(3,3,2,2,1,1),yy=c(4,3,4,3,4,3),zz=c(5.1,4.2,4.4,3.5,3.3,-1.1,-1.3)
d[[1]]<-as.factor(d[[1]])
d[[2]]<-as.factor(d[[2]])
print(d)
interaction.plot(d$xx, d$yy, d$zz,
type="b", col=c("red","blue"), legend=F,
lty=c(1,2), lwd=2, pch=c(18,24),
2012 Nov 07
1
change colour of geom_step by scale_colour_manual
Hi,
Color of my step plot is now by default. Now I'd like to change the color as
the grey scale I specified. I don't know why I got three black plot. Here I
attach two version of codes. The first one produces a step plot with color
by default. The second one, modified from the first one, is not producing
the grey scale I want. Any help would be highly appreciated.
[version 1- working]
2007 Aug 24
4
perception of graphical data
Hello,
I apologize that this is off-topic. I am seeking information on
perception of graphical data, in an effort to improve the plots I
produce. Would anyone point me to literature reviews in this area? (Or
keywords to try on google?) Is this located somewhere near cognitive
science, psychology, human factors research?
For example, some specific questions I have are:
I recall as a child
2007 Jul 12
1
ggplot2 / histogram / y-axis
Is there a way in ggplot to make a histogram with the left-hand y-axis
label as frequency, and a right-hand y-axis label as percentage?
Thanks!
Pete
2008 Sep 16
2
Setting user colors in barchart
Dear R Users,
I have a basis question regarding the use of color in the lattice package. I
read the ?barchart help page and searched the R archives but could not
understand how to do it.
I just need to plot a barchart using specific colors for my groups, e.g.
green and red instead of the default lattice colors. How do I do that?
If I say:
barchart(x ~ a_factor, groups=my_groups,
2018 Jul 17
2
Compilar libro con paquete bookdown (PDF)
Gracias por haberte tomado la molestia de indagar.
Entiendo que es eso lo que hago en el encabezado YAML, basandome en la
explicación del comienzo del punto 3 de acá:
https://bookdown.org/yihui/bookdown/output-formats.html
Eso mismo, con el documento que propone el propio Yihui (punto 1.2 del
mismo libro) no lo consigo compilar a PDF. Y se me hace extrañísimo, porque
tampoco me da error ni nada