Displaying 20 results from an estimated 10000 matches similar to: "curiosity question: new graphics vs. old graphics subsystem"
2004 Nov 26
1
Coplot Given text
Greetings:
I am unsuccessful in suppressing "Given : myvariable" from a coplot. There was such a question in the past but the thread breaks down. I am sure this is a "for dummies" question :-). I tried:
coplot(myvar~myvar | myvar, show.given=FALSE, xlab="....", ylab="...", main=" ")
and some other variations (including without main=" ")
2005 Jun 15
4
Multiple line plots
Greetings,
I would like to plot three lines on the same figure, and I am lost. There is
an answer to a similar thread… but I tried matplot and it is beyond me. An
example of the data follows:
Year EM IM BM
1983 9.1 16.8 -7.7
1984 12.0 18.0 -6.0
1985 13.6 19.1 -5.5
1986 12.4 17.3 -4.9
1987 14.6 20.3 -5.7
1988 20.6 23.3 -2.6
1989 25.0 27.2 -2.2
1990 28.4 30.2 -1.8
1991 33.3 31.2 2.1
1992 40.6
2004 Mar 11
6
saving a data.frame to "\t" files
Windows 2000, updated R and packages.
could somebody pleaseeeeeeeee help with saving a data.frame with column
names into "\t" text files for later importing in other programs? It seems an easy task, yet... it beats me.
thanks,
Mihai Nica
Jackson State University
[[alternative HTML version deleted]]
2004 Aug 23
2
Reading GAL file
Greetings:
I am trying to work with spdep (everything is "brand new" downloaded this morning). OS = Windows 2000 (also up to date). The code I am using follows:
#example
gal.county=read.geoda("lnpilnd.GAL", row.names=NULL, skip=0)
summary.nb(gal.county)
Error in summary.nb(gal.county) : Not a neighbours list
#end
The gal file works just fine in GeoDa (also up to date).
2004 Apr 12
1
Panel Data Analysis
Greetings:
I am trying to find a package/solution for panel (longitudinal) data analysis. Unfortunately it seems I don't know where to start. Could somebody offer a hint?
Thanks,
Mihai Nica
Jackson State University
155 B Parkhurst Dr.
Jackson, MS 39202
"No good deed will ever remain unpunished"
[[alternative HTML version deleted]]
2004 Sep 29
2
lattice .ps graphic is rotated in LaTeX slides
I've generated a version of the classic dotplot of the barley data with
library(lattice)
data(barley)
trellis.device("postscript", color=TRUE, file="barley2x3.ps")
old.settings <- trellis.par.get()
trellis.par.set("background", list(col = "white"))
lset(list(superpose.symbol=list(pch=c(19, 1, 25, 2, 15, 22, 23),
2006 Apr 04
1
Grid graphics issues
Hi all --
So I'm trying to use lattice graphics, but I want to use a
sunflower plot, which doesn't seem to be part of lattice. No problem,
I put together the following code, which mostly works -- *except* for
the first graph it generates. If it opens the graphic device, then it
draws the xygrid, clears the device, then draws the sunflowerplot.
All subsequent output operations work
2008 Jul 29
1
How to set the parameters in Trellis Graphics (by Lattice package)
Dear R users
I plot the trellis graphics by using the lattice package. Everything is
OK. Now, I want set
some parameters of the trellis graphics.
1. The tick label site. By default, only two tick labels had been output in
x-axis of my plot.
I want output four or five tick labels. In the traditional graphics system,
it will be very easy.
Just not output the axis in plot by use the parameter
2003 Mar 10
2
graphics backgrounds from gray to white in png()
Hi,
I'm trying to make a png file of a histogram. I would like a white
background in the final product but end up producing a gray one, despite
setting what I think are the correct parameters. Suggestions for how to
properly set a white background would be welcome.
Thanks in advance,
Scot
# for non-lattice
> par("bg"="white")
> par("bg")
[1]
2002 Dec 06
2
Controlling graphics parameters in lattice
I'm just starting to work with lattice graphics, and am
having difficulty understanding how to control various graphic
parameters (font sizes, etc.). [I'm actually using xyplot
via plot.effect() in the car package, and would like to be
able to set some global defaults.]
I read ?xyplot and ?trellis.par.set-- which contains no complete
list of parameters, just a reference to
2003 Apr 14
2
cannot create postscript files with trellis graphics inside a function
Dear People,
If I define
foo <-function()
{
x <- rnorm(500)
trellis.device(postscript, file="plot.ps")
densityplot(~x)
dev.off()
}
and call foo() then plot.ps is just a blank plot. However, if I extract
the lines inside foo and run them, ie.
x <- rnorm(500)
trellis.device(postscript, file="plot.ps")
densityplot(~x)
dev.off()
then plot.ps is created
2004 Aug 06
2
icecast 2 auth problem with (old?) ices, MuSe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Michael and thanks for answer!
On Tue, 13 Jan 2004, Michael Smith wrote:
> This shouldn't be being passed to _check_pass_icy() at all - this isn't the
> "icy" (shoutcast nasty ugly) protocol at all. We support that (icy) protocol
> because it's widely used - but it's a horribly ugly hack to pretend that
2004 Aug 06
2
icecast 2 auth problem with (old?) ices, MuSe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I have recently downloaded icecast 2 (I am an old icecast 1.x user) and
tried to use it with my ices 0.2.3 (which works on icecast 1) but fails on
login. Also I have tried with MuSe 0.8.1 and same error too. After some
digging into the sources I found the problem to be with _check_pass_icy()
which receives a "strange" pass to compare
2007 Apr 13
1
trouble getting b&w plots using trellis graphics
I'm having trouble getting a black and white plot using the trellis device.
I have color graphics, but I'd like to use b&w for a paper. For example,
trellis.device(color=F)
d <- read.table(textConnection("
A,B
0,1
1,2"), header=T, sep=",")
xyplot(A ~ B, data=d, type="o", lty=c(1:2), col=2, pch=19:20)
dev.off()
gives me a red line even though I
2002 Jun 06
0
Thanks and Summary (was par(new=T) with xyplot)
Thanks very much to Paul Murrell and Frank Harrell for addressing my
original query (repeated at end of this note). Paul's helpful suggestion
with print.trellis and its more= argument, followed by trellis settings,
works precisely as I needed.
> # snipped from Paul's reply:
> p1 <- xyplot(y ~ x, ylim=c(-5, 5))
> p2 <- xyplot(y2 ~ x, pch=16, ylim=c(-5, 5), ylab="
2005 Jan 30
3
trellis graphics in loops
I have this awkward problem with trellis (lattice). I am trying to
generate some plots through loops but the .eps file is empty. When I
generate them in a list and print them outside the loop all is fine. this
is an example below:( nothing shows up in foo.eps, but all show up in
foo1.eps)
R vesion 2.0.1, lattice version 0.10-16, on a debian 2.6.8-1 kernel.
X <- data.frame(x=rnorm(10000),
2005 Mar 30
1
Base and lattice graphics on the same graphics page
Although base graphics does not mix with lattice in the one graph,
I've found that print.trellis(position=..., ) and the use of
par(fig=...)
to put regular and trellis graphics on the one graphics page works
like a treat, at least in version 2.0.1 of R. [Base graphics functions
that are themselves inconsistent with par(fig=...) are obviously
disallowed.]
I am wondering whether there are
2012 Jul 13
2
minor axis ticks in trellis graphics?
Dear R users,
I need to add minor axis ticks to my graph. In traditional R this is easily achievable by simply
adding a second axis with the minor ticks. But how to do that in trellis? I am already out of ideas.
Any suggestions will be appreciated.
Best regards,
Martin
-----------------------------------------------------------------
?????????? ??????????? ? ?????? ?? ??????????
2010 Mar 17
1
Cropped graph using lattice
I'm fitting data from a mixture experiment, and I'd like to present the results in a ternary graph with contours. I found this code by Walmes Zeviani
http://n4.nabble.com/Triangular-filled-contour-plot-td1557386.html
which is just what I want--except I would like the axis titles and labels to be proportionately larger than the ternary graph itself, for legibility in publication. When I
2007 Feb 18
0
Lattice graphics: minor tick marks and panel.axis() question(s)
Hello,
I have been a long-time Traditional graphics user and now moving to
try Lattice graphics. At the moment I cannot figure out how to place
minor tick marks in a figure made with Lattice's xyplot(). In
Traditional graphics, after calling plot() I would make two calls to
axis().
>From the manuals and help documentation I learned that 'scales' takes
multiple 'at'