similar to: Trellis graphics and clipping

Displaying 20 results from an estimated 10000 matches similar to: "Trellis graphics and clipping"

2009 Sep 04
3
eps file with embedded font
Dear list, I am trying to make eps file with embedded font. I use: postscript("ranking-exp-all.eps", horizontal=TRUE, onefile=FALSE, paper="special", height=8, width=12, family="Helvetica") # plot stuff dev.off() since R does not embed font, I then use: embedFonts(file="indegdistr.eps", outfile="indegdistrEMB.eps",
2005 Apr 26
1
Problem with clipping in Lattice, and closing a postscript device
I would appreciate any answer to the following two problems I am having with the Lattice package. First, in most instances of using Lattice, the produced graphs have some clipping, usually at the borders of the encompassing rectangles. An example of this is here: http://cs.uwm.edu/~vu/lattice.pdf where the clipping occurs in the first half of the X axis. Second, when printing to a postscript
2010 Mar 10
1
pie EPS BB
Greetings all! I'm facing a puzzle I have not been able to solve. I need to make an EPS of a pie-chart (Yes, I know; please don't bother to tell me! I just need to ...). I'm trying to do it with pie(), and I want to have just the plain pie-chart with no annotations. So far so good: "labels=rep(NA,...)" will do it. But I want to have it output to an EPS file with the
2003 Jul 11
3
postscript/eps label clipping
The following code produces an eps file with the tops of each of the ylabs clipped off. par(mfrow=c(2,2)) plot(runif(10), ylab="Function(Lengthy Expression)",xlab="Prediction") plot(runif(10), ylab=expression(Delta * Beta^2),xlab="Prediction") plot(runif(10), ylab="Function(Lengthy Expression)",xlab="Prediction")
2000 Aug 02
1
Re: [R] problem clipping R postscript plots within latex (PR#623)
Martin Maechler <maechler@stat.math.ethz.ch> writes: > (from R-help) > PD> Stephen Eglen <stephen@cogsci.ed.ac.uk> writes: > > > > > generated by R into a latex document. Specifically, the latex package > > > > graphicsx allow you to specify the bounding box of the postscript > > > > file, so that you can just show
2004 May 26
6
Saving Trellis Graphics in R 1.9.0. (PR#6915)
Full_Name: Zdenek Valenta Version: 1.9.0. OS: Windows XP Submission from: (NULL) (147.231.7.250) I could not copy/save (Trelis) graphics using R version 1.9.0. The graphics displayed normally, but copying/saving it only produced an empty file. Everything works o.k. with R rel. 1.8.1. Best regards, Zdenek Valenta
2007 Mar 02
2
lattice: clipping data, not plot margins
I am plotting subsets of my data, using ylim. This works fine, but the outer margin line widths of the plot are thin, due to clipping. If I include > trellis.par.set(clip=list(panel = "off")) then the outer margin line widths are fine, but the outlying data is visible. Is there any way of achieving both correct margin line widths and clipping of outlying data? Thanks, Dan Bebber
2000 Aug 02
1
Re: [R] problem clipping R postscript plots within latex (PR#625)
On Wed, 2 Aug 2000 p.dalgaard@biostat.ku.dk wrote: > Martin Maechler <maechler@stat.math.ethz.ch> writes: > > > (from R-help) > > PD> Stephen Eglen <stephen@cogsci.ed.ac.uk> writes: > > > > > > > generated by R into a latex document. Specifically, the latex package > > > > > graphicsx allow you to specify the
2009 Dec 20
1
How to put text outside an xyplot?
Dear R-users, I have a plot created with the code below. I tried to put some text to the right of the color key. I worked with grid.text and also viewport(), but couldn't achieve this. I know this should be simple, but I just couldn't figure out how to do it. How does this work? Cheers, Marius library(lattice) library(grid) myvec=1:10 data=data.frame(x=myvec,y=myvec)
2002 Oct 30
4
PDF printer using ps2pdf ?
Hi, Is it possible to set up a printer in samba that will use ps2pdf converter to create pdf documents when printing on it ? Best Regards Steph
2000 Aug 01
1
problem clipping R postscript plots within latex
hi, I've noticed a small problem trying to include postscript plots generated by R into a latex document. Specifically, the latex package graphicsx allow you to specify the bounding box of the postscript file, so that you can just show _part_ of the postscript file if you tell it to also clip the area outside of the bounding box. I've previously used this LaTeX feature without problems
2001 Feb 25
2
Few questions concerning clipping
I noticed that clipping occurs in lossy audio compression even if there is no clipping in the original file (though the original file has peaks that are just below the maximum). I know that this happens due to all the filtering involved during compression, but I'm wondering just how audible this clipping is because I don't hear anything wrong. I mean, as things are now, is it safe to say
2009 Apr 30
1
postscript printer breaking up long strings
For a long string in an axis title, or main title the postscript device breaks apart the long strings into smaller strings. For example, > postscript('linebreaktest.eps') > plot(1,xlab='aReallyLongStringToSeeHowItBreaks',ylab='aReallyLongStringToSeeHowItBreaks') > for(i in c(.6,1,1.4))text(i,i,'aReallyLongStringToSeeHowItBreaks') > dev.off() produces
2007 Mar 09
1
pdf device bounding box?
dear R wizards: I have a very simple suggestion/question. Would it be easy to change the pdf device so that it adds a BoundingBox around its output? (Under R 2.4.1, this seems not to be the case, because epstopdf under linux complains. Fortunately, it still works correctly.) This is not a big deal, but it would be nice if R did so, if only to help some pdf programs that are less adept at
2006 Jul 19
2
trellis.focus with postscript device
Hello. First: R 2.3.1 on Windows XP. I am trying to add information (sample size) to the Trellis strips which I am successful using the trellis.focus function with the default Windows device. However, I typically use the postscript device as I use LaTeX and \includegraphic for incorporating graphs into stat reviews. Here's some example code (apologies for the lack of creativity and
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),
2002 Jan 03
4
trellis plot and postscript file (PR#1237)
Full_Name: Don Sun Version: 1.4.0 OS: Red Hat Linux 6.2 Submission from: (NULL) (204.178.20.14) require(lattice) trellis.device("postscript", file = "demo.ps", bg = "white") print( xyplot(seq(20) ~ seq(20)|rep(c("A","B"),10)) ) dev.off() gives incomplete plot in the postscript file demo.ps, it worked fine in 1.3.1. platform i686-pc-linux-gnu
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
2005 Mar 14
1
initialising trellis device {lattice}/ postscript
Background: OS: Linux Mandrake 10.1 release: R 2.0.0 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 --------------------------------- Colleagues I am using: trellis.device(postscript, file="../figures/name.ps") .....code to generate the trellis display here .... graphics.off() to create a postscript from a working xyplot display. The problem is that the postscript file appears to be
2004 May 18
1
Using pointsize with postscript trellis.device
I've been accustomed to specifying a postscript file and pointsize like so: trellis.device(postscript, file = "something.ps", pointsize = 8) Using version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 9.0 year 2004