similar to: Troubles in plotting to a postscript file (not to png)

Displaying 20 results from an estimated 100 matches similar to: "Troubles in plotting to a postscript file (not to png)"

2012 Jun 04
2
paquete SPEI función thornthwaite
Hola eRReros. Os lo explico con un ejemplo: # Cargamos los paquetes y el ejemplo install.packages("SPEI") library("SPEI") data(wichita) # los primeros 12 datos head(wichita,12) # mi subset de los primeros 12 datos meu<-wichita[c(1:12),] meu # como veis los valores de TMED son iguales en ambos dataframes. # ahora viene el problema # calculamos
2010 Nov 25
1
Help in improving the style of R plots
Dear all, I am running a MCMC on my data, and I want to plot the results of the simulation. I want to dedicate a page in the PS file for each element in my sample, and in each page I need to plot 8 quadrants. In attachment you find my first attemp (just the first page). Here are my troubles (I'm sorry if they are stupid, but I am a newby with R): -) I need to substitute the greek letters
2004 Oct 29
1
as.list.matrix
I found the need of converting a matrix into a list of its columns (for use with do.call), and was surprised there was no method as.list.matrix, it could easily be a part of as.list default I wrote my.as.list.matrix <- function(mat) { if(!is.matrix(mat))stop("Argument must be a matrix") n <- NCOL(mat) res <- vector(mode="list", length=n)
2009 May 12
1
times family unavailable in postscript device (Ubuntu Linux)
I'm running Ubuntu 9.04. I could use some advice about fonts in postscript devices. > sessionInfo() R version 2.9.0 (2009-04-17) i486-pc-linux-gnu locale: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C attached base
2000 Nov 12
2
R help for a newby
Hello, I'm trying to read a file that has ascci data in it. The format of the data is in this order: test_number(integer) 4 double readings. Simple,ok, but for life of me I can't get R to put it into the internal format I need. What I want to do is to make an array called dat and dim it 10000 rows by 5 columns. That seems simple enough, I start out by: dat <-
2009 Jul 02
2
Computer Modern
I am trying to use computer modern fonts in postscript files for a latex document. Ultimately I want to automate this through sweave. I've read the documentation ans have tried the following code to use lattice to produce a graph using computer modern: library(lattice) library(grid) testPlot=( xyplot(seq(1:10) ~ seq(1:10), main="one to ten",
2008 Nov 15
1
PostScript File Dimensions
Hi List, here I go again. Well I need to save plotted objects as .eps using the postscript() function, well I can do that but all resulting object are perfect squared dimensions (x = y). I need a rectangular output something like x = 2y dimension. Is it possible? The I’m new to R and postscript image format! I’m doing this…
2005 Aug 30
0
TeXtext font encoding?
Dear R wizards: Has anyone gotten the TeXtext font encoding to work? If I execute: if (is.null(postscriptFonts()$lucida)) { luafmfiles <- c("/usr/share/texmf/fonts/afm/yandy/lubright/lbr.afm", "/usr/share/texmf/fonts/afm/yandy/lubright/lbd.afm", "/usr/share/texmf/fonts/afm/yandy/lubright/lbi.afm",
2004 Mar 16
1
Changing ComputerModern in postscript(...): A first attempt at contributing....
Hi First off, thanks to all the various R developers, your package is very impressive. I'm not sure what the protocols are for contributing, and I've not done this before, so please excuse nay obvious errors or oversights... Also I'm by no means an R,TeX/LaTeX, or typesetting expert, I have largely stumbled my way to this point. Objective: I'd like to get R postscript(...) to
2008 Nov 11
3
FXTextField and number of digits after decimal point
Hello, Here''s the context: I read a number either pure integer or float with eventually up to 12 digits after the decimal point from a YAML file. The number is injected into a FXTextField with the following code: @value_sel = FXDataTarget.new(@value.to_s) @value_value = FXTextField.new(@matrix_mem_value, 20, at value_sel, :opts =>TEXTFIELD_NORMAL|JUSTIFY_RIGHT,
2007 Nov 18
1
Exporting a plot with the LaTeX font lmodern
Dear All, I would like to export, as a pdf file, a plot with the LaTeX font lmodern as the font of my graph. Could somebody please help me? Thanks in advance, Paul
2004 Mar 15
1
Correct Computer Modern font in postscript(..) output
Hi, I'm trying to get the correct font used when generating italic text in an R grahic. I have a set of labels that print correctly except it seems the italic text is justr a slanted version of the TeX computer modern normal font... I'm using R v1.8.1 on Windows XP, and I get the same result if I build the pdf using Adobe Acrobat or using MikTeX The labels:
2009 May 14
2
specify the number of decimal numbers
Hi, I was wondering how to specify the number of decimal numbers in my computation using R? I have too many decimal numbers for my result, when I convert them to string with as.character, the string will be too long. Thanks and regards! -- View this message in context: http://www.nabble.com/specify-the-number-of-decimal-numbers-tp23538852p23538852.html Sent from the R help mailing list archive at
2004 Mar 11
1
Difficulties in interaction between R and latex (prosper)
Hello, folks! I'm trying to use R as a graphics program, to make some pretty graphs that will go into prosper slideshows. I wrote this fragment, from the R manual, into a file demo.R: x=seq(-3,3,0.1) postscript("cm_test.eps", width = 4.0, height = 3.0, horizontal = FALSE, onefile = FALSE, paper = "special", family =
2008 Feb 18
2
Number of digits of a value for problem 7.31 RFAQ
Hello dear R users! I did not find a function which gives information about the number of digits of a value shown by R. Do you know one? I need it to solve the problem (see RFAQ 7.31)that 0.2==0.2+0.1-0.1 FALSE The solution suggested in RFAQ is to use isTRUE(all.equal(0.2,0.2+0.1-0.1)) But if I want to compare inequality: 0.2<=0.2 +0.1-0.1 TRUE but 0.2<=0.2 +0.1-0.1 FALSE bad! but in
2005 Aug 30
1
Font Encodings --- some work, some don't
Dear R wizards: I believe some more font encoding info. some of the font encodings work, others do not: IsoLatin1, MacRoman, WinAnsi, and PDFDoc seem fine. AdobeStd, AdobeSym, ISOLatin2, ISOLatin9, and TeXtext seem broken, in that the resulting output file is silently corrupt. The font encoding error does not appear in the postscript device driver, and it works fine. It would be nice if
2005 Nov 07
1
pdf device and TeXencoding?
Dear R wizards: [a] I believe that the pdf device does not yet fully support TeXencoding. (under R-2.2.0, the pdf file created with Textext as font encoding still dies when post-processed by ghostscript.) are there any workarounds, or are there utilities that would allow a TeXencoded font to be re-encoded/converted into ISOLatin, perhaps, which R could then handle beautifully? [b] is there a
2007 May 09
1
Error in plot.new() : figure margins too large
Yes, I already had a look on previous posts but nothing is really helpful to me. The code is: postscript(filename, horizontal=FALSE, onefile=FALSE, paper="special", bg="white", family="ComputerModern", pointsize=10); par(mar=c(5, 4, 0, 0) + 0.1); plot(x.nor, y.nor, xlim=c(3,6), ylim=c(20,90), pch=normal.mark); gives error Error in plot.new() : figure margins too
2008 Jan 15
1
using LaTeX-fonts with R
Hi, I try to use the sfrm1000.pfb Type-1 font with my postscript plots. When I add family=CM to the postscript() command the output is empty. What am I doing wrong? # define font CM <- Type1Font('ComputerModern', # font ID c(file.path(getwd(), c('sfrm1000.afm', '', '', ''))), # font metrics encoding='AdobeStd');
2007 Dec 09
1
R + LaTeX formula
Hi, what is actually the best method to include R-plots into LaTeX documents? At the moment i use postscript("myplot.eps", width = 12.0, height = 9.0, horizontal = FALSE, onefile = TRUE, paper = "special",encoding = "TeXtext.enc") plot(foo,bar) dev.off() But it is a bit unhandy to scale later and its difficult to get nice formula in the plots. And how should