similar to: more mulitpage postscript problems

Displaying 20 results from an estimated 5000 matches similar to: "more mulitpage postscript problems"

2003 Feb 28
1
axis annotation
Hi, Is there a way to specify a vector of colors for the tick annotation in a call to axis(), to achieve the x-axis here? <<Rplot003.png>> Thanks, Mark Wilkinson Informatics Analyst St. Jude Children's Research Hospital Department of Pharmaceutical Sciences The opinions expressed here are my own and do not necessarily represent those of St. Jude Children's Research
2003 Feb 13
2
legend
I think I'm missing something tonight in the usage of 'legend': plot(0, type="n") legend(locator(1), month.abb[1:5], pch=15, col=1:5) gives me something similar to what I want. But legend(locator(1), month.abb[1:5], fill=T, col=1:5) gives me 5 black boxes. What am I doing wrong? Thank you, > version _ platform i686-pc-linux-gnu arch i686 os
2003 Jan 31
2
png()/jpeg()
When I execute the following code, it works just like I want it to: three pages of nine (or fewer) plots. However, when I execute the code with the first and last lines uncommented, I get three pages (files), but the 2nd & 3rd pages have overlapping plots. It's like a new page wasn't created. I'm pretty sure I've either misplaced or left out a crucial call to some
2002 Dec 05
1
Passing options as lists
Hi, I apologize if this has previously been posted. I've just subscribed to the R-help digest. I'm writing a plotting function that uses layout() to plot several different plots on the same device. This function uses plot(), image(), and a custom function that uses text(). Each cell of the layout needs different par() parameters, so what I'd like to do is pass them as lists:
2003 Nov 26
5
multiple peaks in data frame
Hello, it wanted to know how I can extract of a dates frame the values peaks according to an interval that I establish. For example if dates are: 1 23 2 4 3 56 4 7 5 99 6 33 extract the date i wanted to divide into intervals of 2 an d to take alone the numbers 23, 56 and 99 of those 3 intervals. Thanks Ruben
2003 Mar 12
3
png plots
I saw in the archive a post from Mark Wilkinson (Feb 1, 2003), saying that some of his R-generated png plots came out overlapping. I am seeing the same thing (with R 1.6.2 on Linux i686). My input file generated 4 plot files. The first two were fine, but the last 2 featured a weird overlay of the remaining graphs. The problem is not seen with postscript of pdf output. -- Allin Cottrell
2002 Dec 20
1
lower triangle
Hi, I want to compute the lower triangle of a square matrix (optionally, sans diagonal). With for() loops I can do something like this: ## 5 by 5 matrix rtn for (j in 1:5) { for (k in 1:j) { if (j != k) { ## optional rtn[j, k] <- my.func(j, k) } } } I'd like to do this with apply(). Is there some way I can do this kind of 'short-circuit'? Thanks, Mark Wilkinson
2000 Aug 14
0
Postscript device bug when more than one page is needed?
It would appear to me that there is a bug in the postscript device when multiple pages are required. Line widths can be only 1 after the first page. I have not seen reference to this as a problem before. test.device <- function() { # looks like the problem is in the postscript device postscript(file = paste("Test.ps"), horizontal = F) on.exit(dev.off())
2010 Dec 19
3
Layout of mulitpage conditioned lattice plots
Dear latticists, I would like to spread a lattice conditioned plot over multiple pages, keeping the same layout as if I had only one page as shown in the code below. My workaround is to divide the dataframe into subset that fit on one page, but the code is ugly. Is there a build-in way to achieve this? Dieter library(lattice) nsubj = 13 # This number is variable dt =
2003 Apr 22
4
Default value for title in postscript function
I like the fact that the postscript function enables the possbiility of a more useful title than before. However, I'd prefer the default to be the file name. It's very simple for me to make my own postscript function that does just that simply by setting title = file. I always use onefile = TRUE, so it always works (so far). However, I'm a little reluctant to do that in case some
2003 Apr 22
4
Default value for title in postscript function
I like the fact that the postscript function enables the possbiility of a more useful title than before. However, I'd prefer the default to be the file name. It's very simple for me to make my own postscript function that does just that simply by setting title = file. I always use onefile = TRUE, so it always works (so far). However, I'm a little reluctant to do that in case some
2002 Dec 11
1
Adding a title to a postscript file
I create lots of postscript files which I view with ghostview. The beginning of the files all begin something like %!PS-Adobe-3.0 %%DocumentNeededResources: font Helvetica %%+ font Helvetica-Bold %%+ font Helvetica-Oblique %%+ font Helvetica-BoldOblique %%+ font Symbol %%DocumentMedia: a4 595 841 0 () () %%Title: R Graphics Output %%Creator: R Software The consequence is that in ghostview,
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
2003 Aug 24
1
Encapsulated postscript and the family argument
> version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 7.1 year 2003 month 06 day 16 language R >From my investigations, it would appear that if I wish to
2005 Jun 03
2
reading tables into R
I have been using R and Perl. When I read in a text file using the read.table option, and I try to mathematically manipulate the individual elements in the table, I keep getting an "object is not subsettable" error. If I try to use a different method, it works, but takes too much time(basically, I then need to read in values individually into R instead of as a 2D array, so the number of
2000 Aug 09
0
Postscript device
It would appear to me that there is a bug in the postscript device when multiple pages are required. Line widths can be only 1 after the first page. I have not seen reference to this as a problem before. test.device <- function() { # looks like the problem is in the postscript device postscript(file = paste("Test.ps"), horizontal = F) on.exit(dev.off())
2005 Jul 21
1
principal component analysis in affy
Hi, I have been using the prcomp function to perform PCA on my example microarray data, (stored in metric text files) which looks like this: 1a 1b 1c 1d 1e 1f ...................................................4r 4s 4t g1 1.2705 1.2766 ...........................................................2.0298 g2 0.1631
2002 Sep 18
2
More on list to data frame (was: Re: List to Data Frame
Hi, Now suppose I have just one list called FOO, which has 25 objects, e.g.: [[1]] 1 2 3 4 5 [[2]] 6 7 8 9 10 . . . And I want to do something like: FRED <- data.frame(cbind(unlist(FOO[[1]]), unlist(FOO[[2]]), # ... for all 25 subsets )) Is it possible to do this, without doing unlist(FOO[[i]]) 25
2000 Aug 16
1
Multiple pages with postscript() (PR#635)
Version: platform = i686-pc-linux-gnu arch = i686 os = linux-gnu system = i686, linux-gnu status = major = 1 minor = 1.0 year = 2000 month = June day = 15 language = R Search Path: .GlobalEnv, Autoloads, package:base The function will produce a three page file, but only the first one has the lwd parameter set. The other pages have reverted to lwd = 1. I've tried setting the
2002 Sep 11
1
one question about title
Dear, Thanks for your help. My question is the title can not completely show in the drawing area when the title is too long. So, I need to change the value of cex.main each time. Could you help me to control the title display area? Regrad, ken -----Original Message----- From: Patrick Connolly [mailto:p.connolly at hortresearch.co.nz] Sent: Wednesday, September 11, 2002 4:41 AM To: Ken