similar to: How to infer default width and height for a device?

Displaying 20 results from an estimated 300 matches similar to: "How to infer default width and height for a device?"

2009 Jun 11
2
Postcript font size
Hello I'm doing a number of plots and in all of them I'm specifying the same font size. However, comparing one plot to the other, they have fonts of different sizes, so it appears some scaling is being done. I tried using both postcript(pointsize = ...) and par(ps = ...), but the results were the same. Is there a way to specify a font size that is consistent among calls to plot()?
2004 Mar 15
11
creating a ps. file
Dear all I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps") I overwrite my results with the second cycle of the loop. I suppose there is a way to define the file name so that several plots are
2010 Nov 16
1
problem with PDF/postcript, cannot change paper size: "‘mode(width)’ and ‘mode(height)’ differ between new and previous"
Hi, The pdf function would not let me change the paper size and gives me the following warning: pdf("figure.pdf", width="6", height="10") Warning message: ?mode(width)? and ?mode(height)? differ between new and previous ==> NOT changing ?width? & ?height? If I use the option paper = "a4r", it does not give me a warning but still prints on a
2011 Jan 09
1
Rectangle height in lattice xyplot key
Dear All I have a problem with the height of the boxes in the key in the following. (The text is over 2 lines to accentuate the problem of no space between the rectangles.) Is there an easy way to put a space between the rectangles; size controls the width but there appears to be nothing for the height? xyplot(1~1, key = list(corner = c(0.8,0.8),
2003 Dec 18
3
R GUI dies using postcript() in Windows XP Pro
Dear List, My colleague has been having a problem with the following data and plotting commands. The example below is part of a larger set of plots, but I've isolated the problem to this example using this small dataset (below), which kills rgui consistently. My version info > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status
2010 Oct 28
2
How to enable Arial font for postcript/pdf figure on Windows?
Hi, I need to generate some figure using the Arial font as a requirement for PLoS. Following their guidelines, I have converted the windows font files arial.tff files to .afm using tff2afm (exec file from MikTeX), but when I try to generate a postcript file, the postcript device does not recognize the .afm files. The code I use to test the new font is the following:
2010 Feb 24
4
R Graphics into Latex‏
Hi, I'm new in Latex and I'm trying to include an R chart into a Latex document. This is what I'm doing: 1) In R: save the chart as a a Postcript in a folder C:/xxx/Density.eps 2) In Latex (using TexWorks on windows xp) : In the preambule: \documentclass[11pt]{article} \usepackage{graphicx} \begin{document} blah..blah…blah \begin{figure} \centering
2001 Nov 13
2
plotting text tables
Could anyone provide me a function to plot text tables (formatted) in a graphical device (ie postcript) ??? Thanks in advance Michael -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the
2005 Mar 09
3
function in order to plot the same graph to postscript and pdf
Hi, I've written a function in order to plot the same graph in a postcript and in a pdf file. Unfortunately, the second graph is always empty, i.e.: plot.both <- function{myplot, filename}{ pdf(file=paste(filename, ".pdf", sep="")) myplot dev.off() postscript(file=paste(filename, ".eps", sep="")) myplot dev.off() } yields in a
2007 Jan 26
2
officejet 7310
Has anyone gotten centos 4 to print on an officejet 7310? I have tried jetdirect with pcl and postcript no go... I have tried smb but it does seem to be browsable as its not listed and when I specify I enter the IP address for server and I dont know what the share is. Windows XP connects and prints fine. THanks, Jerry
2006 Sep 11
1
plotting curves
Hi, I've been trying to recreate plots of that follow a cubic form. The the original graphs I'm looking at were produced with specialized software (Delta Graph), and although I can reproduce it almost exactly with R, the only difference is in the actual display of the curves I've plotted. I've noticed that in R all curves are pixelated, regardless of howmany points I use. Is
2007 Jul 15
1
How to disable wine postScript driver?
Hi all, i'm trying to print from a windows command to a dot matrix printer (Epson Actionprinter 2000) and i cant use the printer in text mode, only in graphic mode. I have ubuntu 7.04 feisty Desktop edition with wine 0.9.33 (from ubuntu rep) I have working the LPT1, tested from cmd.exe with this command: dir > lpt1 Now, the app works in windows wth a generic text only printer from the
2001 Dec 10
1
Postscript resolution
Hi all I have some plots that I wish to write out to postcript files. I open the postscript device as suggested [postscript(file="foo.eps",...)], run my plotting commands, and close the device as suggested [dev.off()]. However, when I open the eps files in a postscript viewer such as the gimp, the resolution of the postscript images is *really* bad, very "blocky" and
2010 May 22
1
Lattice Wireframe Plot into LaTex
Dear R/LaTex user, I'm simply trying to include a plot created with the Lattice wireframe function into LaTex. I have no problems including other R plots into LaTex by exporting as a Postcript and then including the graph in LaTex using \begin{figure} % Requires \usepackage{graphicx} \includegraphics[width=]{mygraph.eps}\\ \caption{}\label{} \end{figure} However, for some reason when I
2002 Aug 20
1
Jpeg files dynamically but multiple figures (e.g xyplot (grid/lattice))...
Dear List, Some days ago, it was posted in this list a question regarding "How to generate graphics (jpeg) files dynamically". Although it was responded, there is a particular case in which I do not find the rigth solution. My question also goes in the same direction but for the particular case of generating jpeg/bmp or png files when using xyplot (grid/lattice libraries) and the
2002 Jan 16
1
Postsript/Lattice interaction
Hello -- I'm using R-1.4.0 on a PC running SuSE Linux 7.1. Following Christian Ritter's announcement this morning, I downloaded the new versions of lattice and grid. I find that loading the lattice library causes postcript() to include a blank first page when creating a file. Like this: > # Create regular postscript file of a plot >
2004 Feb 20
1
unexpected postscript output with par(mfg)
Hi, a colleague of mine encountered some unexpected behavior regarding the postscript output from R. It's difficult for me to tell whether or not this is an R problem or a ghostview/gv/interpreter problem. Just to note, I think it's exactly the same situation reported here: http://finzi.psych.upenn.edu/R/Rhelp02/archive/25436.html The following code produces a working plot (no
2011 Sep 13
1
CMYK color space
dear R experts---I am struggling with the requirements to prepare my files for my printers. I am printing in 2/2 format, which means cyan and black for me, which they take from my color-separated pdf files. R comes into play, because it produces all the figures that are embedded in my book (pdflatex). now, TeX has no problems producing CMYK files. However, R produces RGB files (for
2005 Dec 14
2
Printing Postscript - Very Weird Problem.
Hey folks, okay, here's the situation - I have a Centos 4.2 system with cups printing installed printing via postcript (with appropriate PPD file) to a HP LaserJet 1320N printer (via jetdirect socket 9100). Everything seems to work right - except for an unusual 'font'??? problem. Many letters seem to be just slightly garbled. At first I thought this was a mechanical problem at
2012 Nov 01
3
Duda gráfico DIN A-4
Hola, ¿Alguien me puede indicar cómo conseguir que un gráfico se adapte al formato DIN-A4, con su correspondiente verticalidad?. ¿Hay que hacerlo "manualmente" o existe algún parámetro/función que lo controle?. Gracias. Eva [[alternative HTML version deleted]]