Displaying 20 results from an estimated 3000 matches similar to: "Spacing and margins in lattice..."
2006 Jul 10
2
Setting the colors of lines in a trellis plot...
With some help from those with expertise on this list, I managed to
produce a plot using trellis that looked like I wanted it to look.
Now, I need to take the same plot and make the lines on it color, but
I want to specify the color for the lines myself.
I've managed to make the key use the colors I want. I've managed to
make the symbols of the actual plot use the colors I want. But I
2005 Sep 01
4
Spacing and margins in plot
If I use the following command to plot points:
plot(c(1,2,2,3,3,3), type="p", pch=20, ylab="Y Label", xlab="X Label", xaxt="n")
there is a large amount of space between the label "X Label" and the
actual x-axis. If I change the xaxt="n" to xaxt="s", the label "X
Label" don't move at all. Is there a way to get
2005 Aug 14
1
Labels on axes with log scales with lattice
I using lattice to make some plots and I want to make the y-axis on
some of these plots use a log scale. In the following plot:
x <- 1:10
y <- 2^x
xyplot(log10(y) ~ x)
I get tick marks on the y-axis at 0.5, 1.0, 1.5, 2.0, 2.5, and 3.0. I
would rather have just 3 tick marks at 1.0, 2.0, and 3.0 but labeled
10, 100, and 1000.
I know this can be done using the "at" and
2005 Sep 15
5
Copying from graphics window in OS X
I'm running R from an Xterm window is OSX-Tiger. Graphical windows
appear as they should, but I'm having trouble copying from them--using
cmd+c or the Copy option in the Edit menu won't place the graph in the
clipboard (when I paste into a running OS X app, I get whatever was the
last copied thing from a non-x11 window). Any ideas on how to copy from
a xterm-launched graphical
2006 Mar 01
1
Width of bars in barplot2
I'm using barplot2 to plot some data. Is there any way to determine
the width of the bars in the generated plot? I know that barplot2
returns a list of the coordinates of the center of each bar, but since
there is some white space between each bar, I don't know how to get
the width of each bar.
Jamie
2006 Mar 03
1
R plots in PowerPoint
I have some plots that I generating using R (using trellis, plot, and
barplot2) that I want to include in a PowerPoint presentation I am
giving. My computer is running OS X. I find that presentations are
easier to read when there is light text on a dark background and would
like to generate plots that fit that style. The plots I am generating
are all grayscale. Is there an easy way to get R to
2006 Mar 08
1
Adding polygons to a barplot
I have a barplot I have created using barplot2 and I have been able to
add points and lines (using the points and lines methods,
respectively). I now need to add some polygons (triangles in
particular), that I want to be shaded to match bars in the plot. I
can get the coordinates of the corners of the triangles, but don't
know how to draw the triangles. I know there is the grid.polygon
2005 Aug 09
1
Saving trellis output to files in scripts...
With much help from Chuck Cleland, I was able to get xyplot to
generate the plot I wanted. I'm trying to write a script (that can be
read using source("file")) to create the plots I want and save them to
files.
If I type the following lines into the R (in interactive mode), the
correct plot gets saved into the file myfile.ps with a size of 4,096
bytes:
----------------------------
2005 Aug 08
1
Help with doing overlays plots...
I have a data frame with three columns, type (a factor with two
values: "Monolithic" and "Compositional"), size (numeric), and states
(numeric). I want to create a plot where size goes on the x-axis and
states goes on the y-axis. In this plot, I want two lines, one where
the type is "Monolithic" and one where the type is "Compositional".
I think this can
2006 Sep 11
1
graphics: y limit on xyplot
I would like to set the y axis limit of an xyplot using the object 'ylimit',
but receive this error:
[1] 990
Error in extend.limits(limitlist[[i]], axs = axs) :
improper length of lim
I get the same error if I use ylim.
library(lattice)
trellis.device(col = FALSE, theme = lattice.getOption("col.whitebg"))
name <- "Variable name"
symbols <-
2011 Dec 07
2
Hist and extra space
Hi everyone.
I have an histogram like this one:
http://imageshack.us/photo/my-images/442/dfsdfsdj.jpg/
I would like to remove the extra space under the histogram so it "touch" the
x axis. Is it possible? Here's my code.
hist(X, freq = F, col = 'gray', axes = FALSE)
abline(v = cyano_euk_min, col = 'red', lty = 3, lw = 2)
abline(v = cyano_euk_max, col =
2011 Jul 21
10
centos6 not using /etc/gdm/custom.conf
In CentOS5 you were able to create a server section in /etc/gdm/custom.conf such as
[server-Standard]
name=Standard server
command=/usr/bin/Xorg -br -audit 4 -s 15
chooser=false
handled=true
flexible=true
priority=0
After this change, Xorg would run with the -br -audit 4 -s 15 options.
Unfortunately in CentOS6 this is not the case. It completely ignores anything put into custom.conf as far
2018 May 03
0
Alignment Member Functions should be Virtual
On 3 May 2018 at 03:23, Hiroyuki Chishiro via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> However, aligned memory access instructions (such as 32-bit LW) are
> used in this case, and hence my compiler cannot correctly access char
> string written in C.
This hardware situation was reasonably common in the past, but code
still accessed objects not aligned to 32-bits. The compiler
2004 Jun 23
2
Tick marks in xyplot
Dear R group
I am making multiple xyplot, and would like to have tick marks on bottom and left in EACH panel, but only tick labels at the bottom and left of the whole graph.
I have browsed the internet, as well as the help page without success.
If anyone could help me find the path to the solution I would appreciate.
Here is an example, this is the best I could do:
lset(col.whitebg())
x.data
2018 May 03
3
Alignment Member Functions should be Virtual
Dear Eli,
Thank you for your reply.
My backend is based on and extends MIPS ISA and disables generating
unaligned memory access instructions because my new 32-bit RISC ISA
does not have them.
In this case, an array of char string (i.e., its beginning address) is
not 32-bit align.
However, aligned memory access instructions (such as 32-bit LW) are
used in this case, and hence my compiler cannot
2008 May 07
2
figure margins too large for a barplot in png, pdf ok
I've used to have a script with a barplot command it in, preceded by a
png:
png(graph.file,height=H,width=W)
barplot(t,names.arg=breaks[2:(length(t)+1)],tck=gridlines)
-- worked before R 2.6.2. When I tried it in R 2.6.2, which I have
for a while but didn't run with that script, it complained, the
margins too large, and I've googled the messages from our list where
neither
2016 Mar 25
2
Need help solving issue
Hi, I am using Dovecot 2.2.18 ?and have migrated from a 1.x versions. After this migration I had several errors and obsolete errors in logs. I fixed them and after all that I finally was able to run postfix and dovecot again.
The problem I have facing right now is that in the mail logs and in the dovecot logs. I am getting auth errors.
In mail log the postfix is spitting out: "?fatal: no SASL
2007 Jan 17
3
Mapping a network drive to a Windows Drive Letter
We have this working.
however
Some developers edit files using "windows editors" and when they then copy
them to the Windows Drive Letter which is mapped to a Unix machine, the
resultant file is full of ^M characters..... build breaks..... and so on
Until now we have been telling users to run "dos2unix" beforehand, but
somebody told me that "Samba" can
2004 Jul 18
2
gray background in png
Hi all,
I'm having a problem creating png images with trellis.device. I would
like to create many plots with a white background using a sequence
number in the file argument (i.e. "%02d"). The first plot is as expected
with a white background. However, the second and all subsequent plots
have a gray background. I would like all plots to have a white (or
transparent)
2006 Sep 01
3
histograms
I am interested in plotting histograms for the following data
Isoform
Tumor_65_198
Tumor_50_192
Tumor_80_167
Tumor_80_204
Tumor_95_197
Tumor_70_189
Tumor_90_202
Tumor_40_177
Tumor_60_21
Tumor_70_174
Tumor_70_147
Tumor_50_5
ABCC4-2007
1
1
1
6
1
9
10
1
2
0
10
1
ABCC4-2008
5
8
7
5
3
10
5
5
7
3
10
3
ABCC4-2009
0
0
0
0
0
0
0
0
0
0
0
0
ABCC4-2010