Displaying 20 results from an estimated 100000 matches similar to: "help printing plots"
2001 Aug 13
2
printing lattice plots
Hi
I'm trying to print several plots to a multi-page postscript file.
Some plots are output of basic commands, some are produced by "trellis"
commands (from the package lattice).
Right now I'm not able to get a straightforward black and white color
scheme for the latter kind: when I open the postscript file the "trellis"
plots are invisible, or parts of them are
2008 Sep 25
2
Two overlaid density plots - Does order matter?
In the following code, the only difference between the two plots is the
order the variables are plotted. In this case, the plot of "cdata.den" in
plot #1 is different from its plot in #2. Specifically, "cdata.den" spans
the x-axis from -5 to 30 in plot #1 and from 0 to 20 in plot #2. Does
anyone understand why these two plots do not yield the same result?
#Make density
2008 Mar 17
3
Creating plots for all variables in a data frame and printing them with the variable name in the main title
Dear all,
I'm just trying to create plots for all variables in a dataframe (named
"x") using the following:
png()
apply(x,2,hist)
Just as intended, it produces one plot for each variable. Unfortunately,
the main title of each graph is "Histogram of newX[,i]" instead of
"Histogram of name of variable". This makes it impossible to assign the
graphs to the
2010 Sep 08
1
large files produced from image plots?
Hi list,
I wonder if anyone has thoughts on making image plots in R [using image() or image.plot(), or filled.contour()]- I've made quite a bit now, but they seem quite large in size when exported to pdf file format (even after compressing with pdftk or ghostscript, which I regularly do). I know that for "images", raster graphics output (png, tiff) may be the way to go, but often the
2010 Sep 08
1
large files produced from image plots?
Hi list,
I wonder if anyone has thoughts on making image plots in R [using image() or image.plot(), or filled.contour()]- I've made quite a bit now, but they seem quite large in size when exported to pdf file format (even after compressing with pdftk or ghostscript, which I regularly do). I know that for "images", raster graphics output (png, tiff) may be the way to go, but often the
2016 Jul 13
3
IR -> source pretty printing?
Hi,
I often find myself staring at IR and wanting to look at the C source code
it corresponds to. To do so, I look up the debug identifier for the given
IR line, scroll to the bottom of the IR file to find the debug identifier,
look at the debug location (source and column), and then look at the source
file. Too many steps. What would be great is a tool that took two files,
i.e., a .c file and a
2000 Aug 01
1
problem clipping R postscript plots within latex
hi,
I've noticed a small problem trying to include postscript plots
generated by R into a latex document. Specifically, the latex package
graphicsx allow you to specify the bounding box of the postscript
file, so that you can just show _part_ of the postscript file if you
tell it to also clip the area outside of the bounding box. I've
previously used this LaTeX feature without problems
2012 Nov 28
3
Conditional model in R
Hello all,
I have a data set where the response variable is the percent cover of a
specific plant (represented in cover classes 0,1,2,3,4,5, or 6). This data
set has a lot of zeros (plots where the plant was not present).
I am trying to model cover class of the plant as a function of both total
nitrogen and shrub cover.
After quite a bit of research I have come across a conditional approach
2000 Aug 02
1
Re: [R] problem clipping R postscript plots within latex (PR#623)
Martin Maechler <maechler@stat.math.ethz.ch> writes:
> (from R-help)
> PD> Stephen Eglen <stephen@cogsci.ed.ac.uk> writes:
>
> > > > generated by R into a latex document. Specifically, the latex package
> > > > graphicsx allow you to specify the bounding box of the postscript
> > > > file, so that you can just show
2008 Oct 29
1
Help with Plots
Hi there,
I am trying to have a connectivity graph (two plots at once) in R:
this is an example:
x1=sin((0:100)*2*pi/100)
y1=cos((0:100)*2*pi/100)
plot(x1,y1)
will draw a circle and
x2=c(1,9,3,4,8,4,2,0)
y2=c(3,6,8,2,4,1,9,6)
plot(x2,y2,type="b")
will draw a graph with corresponding x's and y's and connects the point.
I want to have a circle with these points connected to
2010 Oct 23
1
removing margin space between columns in lattice plots
Hi list,
>From the xyplot() documentation I'm guessing this may not be possible, but is there a way to specify a scale definition something between relation="free" and relation="same" such that the scales are fixed across rows and column margins are removed for a M x N conditioning plot (sort of like ggplot2 plots)? I find that the margin spacing in between each panel
2012 Aug 21
2
[LLVMdev] bugpoint (and possibly others) need to be compiled with -rdynamic
While running the llvm tests, I get several error messages like these:
[1/1] Running the LLVM regression tests
FAILED: cd /home/steve/llvm-build/test && /usr/local/bin/python /home/steve/llvm/utils/lit/lit.py --param build_config=. --param build_mode=Release -sv --param
llvm_site_config=/home/steve/llvm-build/test/lit.site.cfg --param
2008 Sep 19
2
plot order in multi-panel figure
Hi,
Does anyone know if there is a way to 'reset the plot number' on a traditional graphics device?
For instance, I want to have two plots on stacked top of each other (mfrow=c(2,1)) but with underlying grid lines spanning both figures vertically. I can put the grid lines on top if I add them last:
par(mfrow=c(2,1))
plot.new()
plot.window(c(0,1),c(0,1))
for( i in 1:2) axis(i)
2009 Mar 31
3
labeling panels in lattice plots
I am using windows XP with R 2.8.1
I am generating a lattice plot of annual rain patterns using the following
function:
> xyplot(rain.stats$min+ rain.stats$max + rain.stats$ave ~
rain.stats$month |rain.stats$year,
lty = 1, data = rain.stats, type = c("l","l", "l"), col =
c("red", "blue", "green"), distribute.type =
2011 Sep 05
1
savePlot with % in character string
This occurred after I installed R x64 2.13.1 on Windows:
savePlot("95%.winners.wmf")
saves the file as:
"951nners.wmf"
Is this the correct behavior, or have I bungled something?
John Welsh, Ph.D.
Associate Professor
Molecular and Cancer Biology
Vaccine Research Institute of San Diego
10835 Road to the Cure
San Diego, CA 92121
Phone: (858) 581-3960 ex.248
Email: jwelsh at
2010 Aug 21
4
graphing plots of plots
I want to make a graph where each element plotted is itself a graph. I can
see how to use par(fig=) and viewport to do that, but they require (i think)
me to do my own scaling as they are scaled to the graphics window. any
advice on which approach I should take (just bite the bullet and do my own
scaling), or is there something else I should try, or any examples I should
look at. many thanks
2002 Sep 09
1
Page printing problem
I'm having a problem printing from a W2K client to an HP4 Plus
printer connected to a FreeBSD 4.5 server.
Using lpd from either the server or other clients on the network
prints correctly. The printer also works fine when connected directly
to the W2K client.
Anything I print from the W2K client with more than one page, prints
all pages on one piece of paper. Makes it a little hard to
2005 Feb 01
1
New problem printing °C in plots
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 2
minor 0.1
year 2004
month 11
day 15
language R
> paste("25", "?C", sep = "")
[1] "25\302\260C"
In ESS, I get "25\201\260C"
The ?C does end up in the plot alright, but it has an accented A as
well which
2006 May 17
1
Renaming Rplots.ps from BATCH scripts.
I often use R CMD BATCH to run my files (e.g. script.R), and get the
output recorded in script.Rout -- this is great. On my setup (R.2.3.0
on linux), if any plots are created, they get stored in Rplots.ps.
This can get confusing if I have several batch scripts in one
directory.
I've written a simple shell script to rename Rplots.ps to
e.g. script.Rout.ps so that later I can easily identify
2008 Sep 04
2
isoMDS and dist
I am starting with a matrix in which rows are vegetation plots and
columns are various characteristics including ID# and elevation. I
removed elevation and ID columns to avoid having those characteristics
influence the distances between points which I calculated using the
"dist" command. The resulting distance file was then used in isoMDS.
What I want to know is whether I can