Displaying 20 results from an estimated 8000 matches similar to: "One main caption for an mfrow=c(2,1) plot window"
2012 Aug 21
2
Sweave: R chunk inside caption?
Hi Folks,
I'm surprised, but I didn't find this question addressed anywhere. I'd
like to generate a LaTeX caption with R code. I've tried the code
below, but I get the following TeX error:
! Argument of \@caption has an extra }.
<inserted text>
\par
l.21 }
Any thoughts? Perhaps I'll have to write the "\caption{}" text with R?
thanks!
2011 Aug 10
1
xtable - caption missing with float=FALSE
Hi,
For some reason I'm finding that my table caption is disappearing if I
print xtable output with the floating argument set to FALSE. Below is a
very simple Sweave file that produces two tables the first has no
caption and the second has a caption (if you want to see it
http://www.zevross.com/temp/test.pdf).
Does anyone know what I can do to fix this?
Zev
(I'm using Windows 7, 64
2009 Apr 28
1
plot.lm cex.caption
Hello dear R users,
My objective is to change the size of this graphic : plot(lm(a~b), 4)
(Cook's distance)
I have found the help on the internet saying to change the size of a title
on a graphic plot(lm(a ~ b), 4), I should use the graphic parameter
cex.caption
http://stat.ethz.ch/R-manual/R-patched/library/stats/html/plot.lm.html
But in my install of R, it answers cex.caption isn't a
2011 Nov 18
2
xtable and sweave: caption placement problem
Dear All
I am running Sweave with xtable and want to put the caption placement
on top. But this does not work. Any idea what is going wrong?
Here is an example that runs properly with the exception of the
caption placement in the pdf-file.
\documentclass[11pt,a4paper]{article}
\usepackage{Sweave}
\begin{document}
<<>>=
x = runif(100, 1, 10)
y = 2 + 3 * x + rnorm(100)
2004 Mar 03
1
R2HTML adding caption to data-frame
Hi,
I was wondering if there was an easy way to add a caption to a data frame when it is being sent to a html page using R2HTML.
currently the following command will produce a reasonably formatted table in a html file
HTML(mydataframe)
It would be good if you could send caption with the table something like
HTML(lCaption="my table caption",mydataframe) # this works but leaves a blank
2012 Jun 22
6
Definition list as image caption
recently though about image captions, then i realized that this could be achiebed by Markdown Extra's definition list feature:
![alttext](http://exampl.com/img.jpg)
: here goes the *caption*
What do you think?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Dec 04
1
scale caption on levelplot
hi,
i am trying to figure out how to put a caption on the colour scale of a
levelplot. there does not seem to be an option for this in levelplot().
i tried using mtext() but as soon as you put the text far out enough on
the right of the plot, it goes beyond the plot boundary. so i tried to
extend the margin on the right of the plot using par(mar) but this did
not have any effect on the plot area.
2008 Dec 29
2
Hmisc labels and captions in latex.list()
I am trying to feed a list to latex to use with SWeave, and the list
comes from contents(). Since it is a list, a caption and label are
generated by latex.list - these are not overridden by setting the
parameters (such as caption='myCaption', label='myLabel').
I must clearly be missing something - is there no way to set a caption
or label with the latex() function when
2006 Apr 12
1
long captions -- new issue
I have found out that the way to have a break apart a long caption in
the way that one desires is to have a short caption for use in the
list of tables that is not broken with \\
I can manually adjust the LaTeX output from the Hmisc function latex()
to get the tables how I want them. However, I would like to automate
the creation of these tables.
Inside the latex() function, I tried this:
2006 Nov 30
4
R_WinEdt question
if I want to put fig1plot to the left, figYPplot to the right
figYAaplot on the bottom.
How to modify the following cod to do these?
\begin{figure}[H]
\centering
\begin{minipage}[t]{0.5\textwidth}
\centering
<<label=fig1plot,fig=TRUE,echo=FALSE>>=
<<fig1plot>>
@
%\caption{Caption 1}
\end{minipage}
\begin{minipage}[t]{0.5\textwidth}
\centering
2012 Jul 26
3
Adjust the position of main in par(mfrow)
hey guys
I want two plots in one window with an overall title and with individual
titles for each plots.
my code:
par(mfrow=c(2,1))
bp_dirverq1=boxplot(dirverq1, col="orange",horizontal=TRUE, main="Q1
2012",cex.main=0.7)
bp_dirverq2=boxplot(dirverq2, col="orange",horizontal=TRUE, main="Q2
2012",cex.main=0.7)
title("Direktveranlagung in
2014 Mar 25
3
[LLVMdev] Getting the Debugging JIT-ed Code with GDB example to work
I'm trying to run the example described at:
http://llvm.org/docs/DebuggingJITedCode.html
I followed the sample command line session (below, with versions numbers
for everything), but gdb doesn't stop at the breakpoints as described. Any
idea what is wrong?
Thanks,
Zach
zdevito at derp:~/terra/tests$
> ~/clang+llvm-3.4-x86_64-unknown-ubuntu12.04/bin/clang -cc1 -O0 -g
>
2009 Sep 09
1
Xyplot, multi line title via main, all lines left justified
All,
Below is an xyplot plot with multiple panels and a title produced via main:
library("lattic")
data.ex = data.frame(y = rnorm(10), t = rep(1:5, 2), group = rep(c(0,1),
each = 5))
xyplot(y ~ t | as.factor(group), data = data.ex,
main = list("Put figure caption here xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
want this line left justified" ))
I must be mis-interpreting the
2001 Nov 27
2
printing captions in multiple panes
Dear List,
I would like to add captions to a set of graphics. The graphs are each
composed of two scatter plots in an upper and lower pane.
I'd like to add a caption below the lower pane. The troubel I'm hitting is
that in order to fit the caption using mtext, I must increase the margins
for both panes-- these shrinks my plots considerably and leaves a big
blank area.
The second trouble
2008 Nov 03
1
Sweave: side by side dynamic graphs
Hi all:
I'm trying to create some side by side dynamic graphics on the same page but I am running into some problems. I am able to create side by side figures only if I import them into my PDF. see the example bellow:
\documentclass[12pt]{article}
\usepackage{color,cite,graphicx}% to put in axodraw
\usepackage{latexsym,amssymb,epsf}
\begin{document}
%Import two figures side by side. Please
2009 Jul 28
1
Make my plots bigger and reduce white space around panels?
Hi,
I have made a plot with panels (attached) using R code (below) and I'd like
to increase the size of each panel and decrease the white space, especially
the white space between:
1. rows of panels
2. the top panel and its title (which contains info on r2 and N)
3. each panel and its x label.
I've dug around in the plot help files but can't seem to find how to do
this.
Any help
2005 Jun 29
2
Complex helper with block help
Hi everyone,
I am writing a helper function that takes a parameter and block and
wraps some HTML around it. e.g.
def box_with_caption(caption, &block)
data = capture(&block)
buffer = render_partial("helpers/box_caption", :caption =>
caption)
buffer << render_partial("helpers/box_data", :data => data)
buffer
end
however, when I attempt the following,
2008 May 25
2
A small modification of plot.acf (patch)
In one of my scripts I used plot.acf function, but I had to modify it
a little to suit my needs. Although my modifications are minor, I
believe some people might benefit from it.
The problem: currently, in cross-correlation plots main title captions
are constructed of 2 names separated by '&' symbol. Such captions
occupy too much horizontal space and usually don't fit in plot. A
2008 Sep 30
1
Using sub to get captions in barplots
All,
I've been using "sub" (subtitle) instead of "main" such that captions are
below figures produced by xyplot. This works fine and captions are on a
single line. However, when I try this for bar plots with error bars
(altering the error.bars function form Crawley's The R Book, see below), the
captions are split on more than 1 line. Is there a way to get the
2007 Jan 10
1
2 problems with latex.table (quantreg package) - reproducible
Dear all,
When using latex.table from the quantreg package, I don't seem to be able to set
table.env=FALSE: when I don't specify caption (as I think I should, when
understanding the R help rightly(?)), I get an error message, and when I
do so, of course I get one, as well.
The funny thing is, that a table is indeed produced in the first case,
so I get a nice tabular, but as I'm using