Displaying 20 results from an estimated 8000 matches similar to: "plotting text tables"
2011 Nov 05
1
How to infer default width and height for a device?
Hi.
GENERAL:
Is there a general method for inferring default device settings,
particularly 'width' and 'height', that works for all devices? AFAIK,
the answer is no, but there might be functions out there that I don't
know of.
POSTSCRIPT SPECIFIC:
If not, I'm considering implementing such a method myself. Is it
possible for R to infer the default 'width' and
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
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:
2008 Jan 23
5
latex{Hmisc} cannot find xdvi on MAC OS X
Hello.
I am posting this on behalf of a student in my class. I have been
introducing them to R.
I suspect that the problem I need help with is not so much an R
issue, but a MAC config issue, but I don't have enough MAC
experience to know what to do.
Anyway, on to the problem. We are using Frank Harrell's Hmisc
and Design packages. This student also wishes to use the latex
formatting
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()?
2010 Jun 16
5
Latex and r
Dear R?ers
I?m trying to get a summary table using latex and summary in the rms package to no avail. I?m running R 2.10.1, Mac OS X snow leopard and I have the mactex 2009 distribution installed. Any obvious things I?m missing?
//M
options(digits=3)
set.seed(173)
sex <- factor(sample(c("m","f"), 500, rep=TRUE))
age <- rnorm(500, 50, 5)
treatment <-
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
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
2009 Sep 06
3
[Hmisc] Latex to pdf
I would like to print some tables and figures to a PDF device on a CentOS 5
vps. However, I cannot seem to get the latex function from Hmisc working. I
followed the example, and got an error: sh: xdvi: command not found. I tried
installing the 'tetex-xdvi' linux package, and now it returns: Error: Can't
open display. I guess the reason for this is that the machine is a VPS
terminal, so
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
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
2008 Feb 29
8
Running LaTeX dvi previewer on MacOS X
Several people have given great advice on how to successfully use X11 on
Mac to so we can use the dvi previewer to view latex() output from
Hmisc. Now after a version upgrade of X11 and X11sdk we are getting
lots of crashes. I noticed a Mac dvi previewer with an executable
stored as /Applications/TeX/TeXShop.app/Contents/MacOS/TeXShop
Can we bypass X11 problems and point Hmisc to this
2005 Oct 11
1
Hmisc latex function
I'm using R 2.2.0 on an up-to-date version of Fedora Core 4 with the
latest version of Hmisc. When I run an example from the latex function I
get the following:
> x <- matrix(1:6, nrow=2, dimnames=list(c('a','b'),c('c','d','enLine
2')))
> x
c d enLine 2
a 1 3 5
b 2 4 6
> latex(x) # creates x.tex in working directory
sh:
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 Apr 27
1
Not showing dvi with Hmisc latex()
Hi,
I'm using latex() from Frank Harrell's Hmisc library to produce LaTeX
files. By default, it calls xdvi and displays the dvi.
How can I make xdvi not show? I couldn't find a clue in the extensive
documentation.
Thanks,
Gad
ps: Hmisc 3.3-1 on R 2.5.0 for Linux.
--
Gad Abraham
Department of Mathematics and Statistics
The University of Melbourne
Parkville 3010, Victoria,
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
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