Re: [R] Postscript files graphic quality and other problems

2013-04-14 Thread Mario José
Hi all, excuse me my question. I read that eps have bmp incorporated and this bmp maybe have different resolution. But eps file not have resolution. I try import in Word and OpenOffice but this editors don't import my file. I create a pdf file with eps file on pdfcreator and this is ok. I try on L

Re: [R] Postscript files graphic quality and other problems

2013-04-14 Thread David Winsemius
On Apr 14, 2013, at 11:00 AM, Duncan Murdoch wrote: > On 13-04-14 1:11 PM, Mario José wrote: >> Hi all, >> >> I try to save graphic as eps file, but I have probles with quality. My >> graphics as pdf file is ok. The quality is very good. But when I save as >> eps the quality is very poor. > > H

Re: [R] Postscript files graphic quality and other problems

2013-04-14 Thread Duncan Murdoch
On 13-04-14 1:11 PM, Mario José wrote: Hi all, I try to save graphic as eps file, but I have probles with quality. My graphics as pdf file is ok. The quality is very good. But when I save as eps the quality is very poor. How are you determining this? The quality looks similar to me. I try c

[R] Postscript files graphic quality and other problems

2013-04-14 Thread Mario José
Hi all, I try to save graphic as eps file, but I have probles with quality. My graphics as pdf file is ok. The quality is very good. But when I save as eps the quality is very poor. I try convert pdf to eps file using others programs like adobe acrobat and the quality of eps is like pdf (file is

Re: [R] postscript( does not save the plot

2011-08-19 Thread David Winsemius
On Aug 19, 2011, at 9:08 AM, Alaios wrote: Dear al, I would like to thank you for your replies. I have tried with graphics.off() but did not help too. I am also sorry that my example was not reproducible It has never been reproducible because you have ignored the request 3 days ago to sup

Re: [R] postscript( does not save the plot

2011-08-19 Thread Alaios
1:500],test[150,1:500],test[210,1:500],test[270,1:500],test[330,1:500],test[390,1:500],names=c("1","3","5","8","10","13","15"),outline=FALSE,ylim=c(0.01,50),log="y", xlab = "Number of Sensors/km^2",ylab="P

Re: [R] postscript( does not save the plot

2011-08-19 Thread jim holtman
oblem is with the pars=list(. > > Just to make it more clear. The dev.off() returns 1 and the file is created. > The problem is that this file can not be open with any program, while all the > other .eps files I have and were created by R, with the above methodology > w

Re: [R] postscript( does not save the plot

2011-08-19 Thread David Winsemius
ve and were created by R, with the above methodology work really nice. B.R Alex From: Marc Schwartz Cc: "R-help@r-project.org" Sent: Wednesday, August 17, 2011 5:48 PM Subject: Re: [R] postscript( does not save the plot Not sure what output you get i

Re: [R] postscript( does not save the plot

2011-08-19 Thread Alaios
les I have and were created by R, with the above methodology work really nice. B.R Alex From: Marc Schwartz Cc: "R-help@r-project.org" Sent: Wednesday, August 17, 2011 5:48 PM Subject: Re: [R] postscript( does not save the plot Not sure what output

Re: [R] postscript( does not save the plot

2011-08-17 Thread Marc Schwartz
[150,1:500],test[210,1:500],test[270,1:500],test[330,1:500],test[390,1:500],names=c("1","3","5","8","10","13","1"),outline=FALSE,ylim=c(0.01,50),log="y", > xlab = "xvalue",ylab="yvalue",boxwex=0.5) &g

Re: [R] postscript( does not save the plot

2011-08-17 Thread Alaios
value",boxwex=0.5) dev.off() To not bother you with the details, the only difference is the pars =list(whisklwd=0,staplelwd=0) at the end of the boxplot , which I use to remove the whiskers fromt he blot. B.R From: Marc Schwartz Cc: "R-help@r-proj

Re: [R] postscript( does not save the plot

2011-08-16 Thread Marc Schwartz
On Aug 16, 2011, at 12:32 PM, Alaios wrote: > Dear all, > I am using the following code to write the plot to an eps format > > postscript(file="test.eps",horizontal=FALSE) > > boxplot(test[30,1:500],test[90,1:500],test[150,1:500],test[210,1:500],test[270,1:500],test[330,1:500],test[390,1:500],na

Re: [R] postscript( does not save the plot

2011-08-16 Thread Sarah Goslee
Hi, On Tue, Aug 16, 2011 at 1:32 PM, Alaios wrote: > Dear all, > I am using the following code to write the plot to an eps format > > postscript(file="test.eps",horizontal=FALSE) > > boxplot(test[30,1:500],test[90,1:500],test[150,1:500],test[210,1:500],test[270,1:500],test[330,1:500],test[390,1:5

[R] postscript( does not save the plot

2011-08-16 Thread Alaios
Dear all, I am using the following code to write the plot to an eps format postscript(file="test.eps",horizontal=FALSE) boxplot(test[30,1:500],test[90,1:500],test[150,1:500],test[210,1:500],test[270,1:500],test[330,1:500],test[390,1:500],names=c("1","3","5","8","10","13","1"),outline=FALSE,ylim=c

Re: [R] postscript rotation (bug?)

2011-03-30 Thread Marc Schwartz
On Mar 30, 2011, at 11:51 AM, Wayne Lee wrote: > Dear Marc, > > Your answer on post > https://stat.ethz.ch/pipermail/r-help/2005-March/067634.html > has a broken link. > > Thank you, > W Wayne, here is the original thread being referenced from March of 2005: https://stat.ethz.ch/pipermail

[R] postscript rotation (bug?)

2011-03-30 Thread Wayne Lee
Dear Marc, Your answer on post https://stat.ethz.ch/pipermail/r-help/2005-March/067634.html has a broken link. Thank you, W __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.

Re: [R] postscript cuts off left margin

2011-03-07 Thread Eileen Meyer
I found the answer, sorry for not waiting longer before asking. For anyone reading the archives, inserting par(mar=c(5,4,4,2)+0.5) should alleviate the problem (default is +0.1). In general, help(par) is a good thing to check for graphical issues. On 03/07/2011 04:53 PM, Eileen Meyer wrote:

[R] postscript cuts off left margin

2011-03-07 Thread Eileen Meyer
I am using the following commands: postscript(file="test.eps",paper="special",width=6,height=6,horizontal=FALSE) # fake data x <- c(12,13,14) y <- c(41,42,43) plot(x,y,type="n",xlab=expression(paste("log ",nu[peak]," [Hz]",sep="")),ylab=expression(paste("log ",L[peak]," [",ergs," ",s^-1,"]",

[R] Postscript function Bug at R x64 2.12.1?

2011-01-11 Thread Rodrigo Aluizio
Hi, a correction in the previous script. Anyone who tries to use it must ignore (remove) the [,-7] after the Grupos object. Sorry. De: Rodrigo Aluizio [mailto:r.alui...@gmail.com] Enviada em: terça-feira, 11 de janeiro de 2011 11:01 Para: R Help Assunto: Postscript function Bug at R x64 2.

[R] Postscript function Bug at R x64 2.12.1?

2011-01-11 Thread Rodrigo Aluizio
Hi list. I was saving my modified pairs graphic using a custom panel from the R Graphics site, and I got an interesting difference in the final image when I save it as eps or png. This custom panel make possible to show at the left side of the pairs plot the p-value as symbol and the correlation r

Re: [R] postscript window size

2010-11-06 Thread Joshua Wiley
Hi Robert, You need to add paper = "special" to the postscript() call. postscript(file="~/Desktop/figure.ps", horizontal=TRUE, width=20, height=10, paper = "special") plot() ... plot() dev.off() Otherwise it is reset because you are specifying a size outside of what can fit on the

[R] postscript window size

2010-11-06 Thread threshold
Dear R users, simple figure: postscript(file="~/Desktop/figure.ps", horizontal=T, width=20, height=10) par(mfcol=c(2,5)) plot(rnorm(100), type='l') plot(rnorm(100), type='l') plot(rnorm(100), type='l') plot(rnorm(100), type='l') plot(rnorm(100), type='l') ##- plot(rnorm(100), type='l') plot(

Re: [R] PostScript/PDF graphics with another font

2010-09-07 Thread Paul Murrell
Hi On 7/09/2010 9:00 a.m., Peter wrote: I am using the standard phonetic font "Doulos SIL" in a graph (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=DoulosSILfont) This is an example: windowsFonts(IPA="TT Doulos SIL") barplot(c(1,2,3,4,5),names=c("\u{0251}","\u{0252}","\u{0253}"

[R] PostScript/PDF graphics with another font

2010-09-06 Thread Peter
I am using the standard phonetic font "Doulos SIL" in a graph (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=DoulosSILfont) This is an example: windowsFonts(IPA="TT Doulos SIL") barplot(c(1,2,3,4,5),names=c("\u{0251}","\u{0252}","\u{0253}","\u{0254}","\u{0255}"),family="IPA") Howe

Re: [R] Postscript graphs

2010-01-26 Thread Gavin Simpson
On Mon, 2010-01-25 at 14:05 -0800, Lu Wang wrote: > Hi, > > I tried to use the following commands to create a postscript pie chart using > R: > > postscript(file="H:/piechart.eps") > # then I wrote my commands to generate the pie chart > pie(filename,

[R] Postscript graphs

2010-01-25 Thread Lu Wang
Hi, I tried to use the following commands to create a postscript pie chart using R: postscript(file="H:/piechart.eps") # then I wrote my commands to generate the pie chart pie(filename,labels=,col=,radius=0.6) dev.off() After I ran those commands, instead of giving the pie chart,

Re: [R] postscript, greek lellters

2010-01-09 Thread bernardo lagos alvarez
The problem is of the .dvi. It was arranged,using the solution of Baptiste. Bernardo. 2010/1/9 bernardo lagos alvarez : > Thank you, Dennis and Baptisite > > By including the. eps in my  . tex and the compilation of the .tex, > this does not generate the symbol of the greek letter. > > Bernardo. >

Re: [R] postscript, greek lellters

2010-01-09 Thread bernardo lagos alvarez
Thank you, Dennis and Baptisite By including the. eps in my . tex and the compilation of the .tex, this does not generate the symbol of the greek letter. Bernardo. 2010/1/9 baptiste auguie : > Hi, > > Something like this maybe, > > plot.new() > > lab = expression(bar(T)*"("*-x*" ; "*alpha*")"-G

Re: [R] postscript, greek lellters

2010-01-09 Thread baptiste auguie
Hi, Something like this maybe, plot.new() lab = expression(bar(T)*"("*-x*" ; "*alpha*")"-G*"("*x*" ; "*alpha*" , "*J*")") text(0.5,0.5,lab) ?plotmath HTH, baptiste 2010/1/8 bernardo lagos alvarez : > Dear useRs, > > How can I, writting the correct greek letter using postscrip or pdf functio

[R] postscript, greek lellters

2010-01-08 Thread bernardo lagos alvarez
Dear useRs, How can I, writting the correct greek letter using postscrip or pdf function. In my figures appears only the first letter (a of alpha, n of nu) when include the graphs in my .tex doxument. I am using title( expression(bar(T)(paste(-x,";",alpha))-G(paste(x,";",alpha,",",J title

Re: [R] postscript, options

2009-08-20 Thread e-letter
On 18/08/2009, Stefan Grosse wrote: > On Tue, 18 Aug 2009 16:08:36 +0100 e-letter wrote: > > EL> > > postscript("/pathto/filename.eps",horizontal=FALSE,onefile=FALSE,paper="special") > EL> > > EL> This command created a small blank eps file. > > Its hard to say why without any example code. > > D

Re: [R] postscript, options

2009-08-18 Thread Stefan Grosse
On Tue, 18 Aug 2009 16:08:36 +0100 e-letter wrote: EL> > postscript("/pathto/filename.eps",horizontal=FALSE,onefile=FALSE,paper="special") EL> > EL> This command created a small blank eps file. Its hard to say why without any example code. Does postscript("/pathto/filename.eps",width=8,height=

Re: [R] postscript, options

2009-08-18 Thread e-letter
On 18/08/2009, Stefan Grosse wrote: > On Tue, 18 Aug 2009 13:52:58 +0100 e-letter wrote: > > EL> On 18/08/2009, Rodrigo Aluizio wrote: > EL> > I'm not shure but I guess that you miss a " and putted it in the > EL> > wrong place! > EL> > Try this: > EL> > postscript("/pathto/filename.eps",horizon

Re: [R] postscript, options

2009-08-18 Thread Stefan Grosse
On Tue, 18 Aug 2009 13:52:58 +0100 e-letter wrote: EL> On 18/08/2009, Rodrigo Aluizio wrote: EL> > I'm not shure but I guess that you miss a " and putted it in the EL> > wrong place! EL> > Try this: EL> > postscript("/pathto/filename.eps",horizontal=FALSE,onefile=FALSE) EL> > EL> > Hope It helps

Re: [R] postscript, options

2009-08-18 Thread e-letter
On 18/08/2009, Rodrigo Aluizio wrote: > I'm not shure but I guess that you miss a " and putted it in the wrong > place! > Try this: postscript("/pathto/filename.eps",horizontal=FALSE,onefile=FALSE) > > Hope It helps. Thank you, that did help a little, but the eps file was faulty and I could not o

Re: [R] postscript, options

2009-08-18 Thread Duncan Murdoch
On 17/08/2009 9:10 AM, e-letter wrote: Readers, I am not able to create a postscript file with the following command: postscript("/pathto/filename.eps,horizontal=FALSE,onefile="FALSE") A file is not created, instead the command terminal shows the plus sign(+) on a new line: + What does this

[R] postscript, options

2009-08-18 Thread e-letter
Readers, I am not able to create a postscript file with the following command: postscript("/pathto/filename.eps,horizontal=FALSE,onefile="FALSE") A file is not created, instead the command terminal shows the plus sign(+) on a new line: + What does this mean please? rh...@conference.jabber.org

Re: [R] postscript problems (landscape orientation)

2009-05-22 Thread Marc Schwartz
On May 21, 2009, at 6:31 PM, Ted Harding wrote: On 21-May-09 23:02:28, David Scott wrote: Well most people deal with that problem by not using Acrobat to read .pdf files. On linux you can use evince or xpdf. On windows just use gsview32. Those readers don't lock the .pdf. I am with Peter and g

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Ted Harding
On 21-May-09 23:02:28, David Scott wrote: > Well most people deal with that problem by not using Acrobat to > read .pdf files. On linux you can use evince or xpdf. On windows > just use gsview32. Those readers don't lock the .pdf. > > I am with Peter and generally go straight to pdf these days. Th

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread David Scott
On Thu, 21 May 2009, Zeljko Vrba wrote: On Thu, May 21, 2009 at 02:14:01PM +0200, Peter Dalgaard wrote: I think the trick is jade:~/> env | grep GS_ GS_OPTIONS=-dAutoRotatePages=/None Thanks, I found that myself. However, when using ps2pdf from Miktex 2.7, I get the following error: Unrec

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Zeljko Vrba
On Thu, May 21, 2009 at 02:14:01PM +0200, Peter Dalgaard wrote: > > I think the trick is > > jade:~/> env | grep GS_ > GS_OPTIONS=-dAutoRotatePages=/None > Thanks, I found that myself. However, when using ps2pdf from Miktex 2.7, I get the following error: Unrecoverable error: typecheck in .put

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Peter Dalgaard
Zeljko Vrba wrote: On Thu, May 21, 2009 at 12:32:28PM +0100, Prof Brian Ripley wrote: Using Acrobat Reader to view PostScript! It is a PDF viewer. Ah, sorry, I explicitly convert the PS with ghostscript's ps2pdf. suspect you need to track down where conversion to PDF is happening and disabl

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Zeljko Vrba
On Thu, May 21, 2009 at 12:32:28PM +0100, Prof Brian Ripley wrote: > > Using Acrobat Reader to view PostScript! It is a PDF viewer. > Ah, sorry, I explicitly convert the PS with ghostscript's ps2pdf. > > suspect you need to track down where conversion to PDF is happening > and disable auto-ro

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Prof Brian Ripley
On Thu, 21 May 2009, Zeljko Vrba wrote: I use the following function to export some figures to .eps: p.eps <- function(p, fname, title = NULL, width, height) { postscript(file=fname, onefile=FALSE, paper="special", width=width, height=height, horizontal=FALSE) print(p + opts(title

[R] postscript problems (landscape orientation)

2009-05-21 Thread Zeljko Vrba
I use the following function to export some figures to .eps: p.eps <- function(p, fname, title = NULL, width, height) { postscript(file=fname, onefile=FALSE, paper="special", width=width, height=height, horizontal=FALSE) print(p + opts(title = title)) dev.off() } Whenever I hav

Re: [R] postscript()-resolution

2009-05-08 Thread Gavin Simpson
On Fri, 2009-05-08 at 15:47 +0200, Henning Wildhagen wrote: > Dear users, > > another question concerning graphics for publications. My favourite journal > wants .eps-graphics, > and from older postings i adapted the following code: > > postscript(file="Figure1.eps", title="Figure 1", width=11.5

Re: [R] postscript()-resolution

2009-05-08 Thread Eik Vettorazzi
Hi Henning, maybe you just lost the extension (.eps) of the file when "converting" it with ghostview. But R postscript(..,onefile=FALSE) produces actually an eps compatible file. An (encapsulated) postscript file is a vector based file format, so there isn't such a thing a

[R] postscript()-resolution

2009-05-08 Thread Henning Wildhagen
Dear users, another question concerning graphics for publications. My favourite journal wants .eps-graphics, and from older postings i adapted the following code: postscript(file="Figure1.eps", title="Figure 1", width=11.5, height=8, paper="a4",onefile=FALSE) However,  when checking the proper

Re: [R] postscript printer breaking up long strings

2009-04-30 Thread cameron.bracken
Ted.Harding-2 wrote: > > In the graph shown in your URL above, the xlab and the ylab > appear in their entirety, unbroken. So does the one plotted > in the middle of the graph. I get the same when I run your code. > Hi- I am one of the developers of pgfSweave. The problem (although it is con

Re: [R] postscript printer breaking up long strings

2009-04-30 Thread tommers
The apparently "broken" strings in the PostScript code you quote below are perfectly normal in PostScript. When dealing with text in a variable-width font, a PS driver will typically split continuous text into chunks, to allow for effects like kerning (or other adjustments

Re: [R] postscript printer breaking up long strings

2009-04-30 Thread Ted Harding
On 30-Apr-09 18:50:38, tommers wrote: > 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='aReallyLongStrin

[R] postscript printer breaking up long strings

2009-04-30 Thread tommers
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,'

Re: [R] PostScript File Dimensions

2008-11-15 Thread David Winsemius
You may be new to R but that does not mean you should stay "new" to the help pages. It looks as though postscript() is ignoring your setEPS efforts,,, with perfectly legitimate reason since that is not a defined parameter for that function. It is a separate function. What happens when you u

[R] PostScript File Dimensions

2008-11-15 Thread Rodrigo Aluizio
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 im

Re: [R] postscript

2008-05-29 Thread Uwe Ligges
Note that ?postscript tells you: "Note that R does not embed the font(s) used in the PostScript output: see ?embedFonts for a utility to help do so." It makes really sense to read both of these help pages. Uwe Ligges [EMAIL PROTECTED] wrote: Hello, I'm trying to save a graph as a .ps fil

[R] postscript

2008-05-28 Thread Antonio.Gasparrini
Hello, I'm trying to save a graph as a .ps file to include it in a LaTex presentation, but R replies: Error: Invalid font type In addition: Warning messages: 1: font family not found in PostScript font database 2: font family not found in PostScript font database If I load the package grDevice

Re: [R] postscript(), used from a pre R-2.6.0 workspace

2007-10-30 Thread Prof Brian Ripley
postscript() is supposed to read and write .PostScript.Options from a private environment, so one question is how .PostScript.Options got to be in the workspace: I suspect a much older version of R put it there, not least because it would seem to be using an encoding (and case) relevant to Clas

Re: [R] postscript(), used from a pre R-2.6.0 workspace

2007-10-30 Thread Peter Dalgaard
John Maindonald wrote: > I find that if start R-2.6.0 in a workspace with no .RData file, > load one of my workspaces from R-2.5.1 or earlier into R-2.6.0, > and then before doing anything else type postscript(file="z.ps"), > I get:: > > > ls() > character(0) > > load(url("http://www.maths.anu.ed

Re: [R] postscript(), used from a pre R-2.6.0 workspace

2007-10-30 Thread John Maindonald
I find that if start R-2.6.0 in a workspace with no .RData file, load one of my workspaces from R-2.5.1 or earlier into R-2.6.0, and then before doing anything else type postscript(file="z.ps"), I get:: > ls() character(0) > load(url("http://www.maths.anu.edu.au/~johnm/r/test5.RData";)) > posts