Displaying 4 results from an estimated 4 matches for "myfigur".
Did you mean:
myfigure
2005 Jan 14
2
Questions on Inserting R graphs in latex!
Hi,
I try to insert R graphs into a latex file and I am using a Texniccenter/MikTex combination in my Windows XP. Here are the errors I got. Could someone give me some clues?
In R, I did
> plot(sin(1:10), pch="+")
> dev.print(device=postscript, "C:\\myFigure.eps",onefile=FALSE, horizontal=FALSE, paper="special")
In latex, I did (myFigure.eps is in the same folder as my latex file)
\documentclass{slides}
\usepackage{graphicx}
\begin{document}
It can be seen in Figure \ref{fig:myFigure}.
\begin{figure}
\begin{center}...
2002 Feb 07
12
R graphs in LaTeX documents?
I have tried to find a neat way to include graphs from R in LaTeX documents,
but have not succeeded (I work with a WinEdt/MikTeX combination). The two
roads I have stumbled along so far are the following:
*Generate postscript files and convert them into EPS files by means of
GhostScript or other not so straightforward tools.
*Generate pictex files and include these.
None of these solutions have
2011 Mar 16
4
plotting multiple figures on one page
...R language. I am trying to plot multiple figures on one page
through a loop, but the code just produce one graph on one page. Can someone
show some light on what's wrong?
Here is my code:
library("quantreg")
tcdata<-read.table("mydata.txt",header=TRUE)
postscript("myfigure.ps")
basins<- paste(c("b1","b2","b3","b4","b5","b6"),sep="")
par(mfrow = c(2,3),mar=c(0,4,0,2),oma=c(5,0,3,0))
for (k in 1:6) {
data0=subset(tcdata,basin==basins[k])
attach(data0)
model=rq(rain~year,tau=seq(0.1,0.9,0....
2001 Aug 02
4
pictex driver and bargraph shading
I'm trying to use the pictex driver for bargraphs, and the shading isn't
showing up. Is there any way to get some sort of shading in the plots? A
hatch or stipple would be fine, too; just some way to differentiate the
bars.
The postscript driver won't do, since I'm trying to embed this in a LaTeX
document which I'll use pdflatex on and \includegraphics for pdftex doesn't