Displaying 20 results from an estimated 800 matches similar to: "Placing Text on ggplot2 graphics vs. xyplot"
2011 Jan 10
3
Help with Data Transformation
Greetings,
I am new to R and am having trouble with parsing a file with the following characteristics:
* Individual results for a single sample are written to multiple lines.
* First 16 columns are constant from sample to sample.
* Remaining 10 need to be matched up (cross-tabbed?)
o (the exact contents for the remaining 10 vary from sample to sample, as indicated in
2011 Mar 18
2
XYPlot Conditioning Variable in Specific, Non-Alphanumeric Order. -- Resending with corrected .txt file
Due to an error on my part, I have renamed the previously attached file from
T_5-04b_LTC-SE-SO-Compared.csv to
T_5-04b_LTC-SE-SO-Compared.txt.
It remains a comma-delimited file so the extension can be changed and used per the script, or loaded separately.
My sincere apologies,
Guy
-----Original Message-----
From: Guy Jett
Sent: Friday, March 18, 2011 1:13 PM
To: 'r-help at
2011 Mar 18
1
XYPlot Conditioning Variable in Specific, Non-Alphanumeric Order.
# I need to create an xyplot() where I control the specific order of
# both my conditioning variables. The default code below plots the
# data correctly (dispersed across all 14 columns), but fails in two
# ways. Both the primary conditioning variable (Transect), and the
# secondary conditioning variable (Offset) are in alphanumeric order,
# rather than the specific order I need.
# Here
2011 Jan 13
0
Help with Data Transformation - RESOLVED
Hi Dennis,
SOLVED!!!
My thanks to both you, John, and others who chimed in. Took a little more digging before finally working, but it is working!
Here's a little more of what I did and the ultimate resolutions:
I installed the reshape2 library from CRAN.
Executed
> (.packages())
[1] "reshape2" "stats" "graphics" "grDevices"
2013 Jan 15
5
Duda gráficos - paper="a4"
Buenos días:
A ver si alguien me puede iluminar, porque ya he sobrepasado los límites de mi paciencia y de mi imaginación con este asunto:
Dado un gráfico creado con un plot (y funciones auxiliares como polygon, etc.) y una tabla creada debajo de ese gráfico (creada con addtable2plot), y dados unos text situados a modo de título encima del plot y otros encima de la tabla, ¿por qué cuando trato
2013 Feb 11
2
how to make a median line thicker in bwplot (lattice)
Hello,
I am drawing a boxplot using bwplot in lattice.
I would like to learn how to draw a thicker median line instead of the
default setting.
Thank you.
Code
bwplot(........,
pch=rep("|",2))
Elaine
[[alternative HTML version deleted]]
2013 Feb 14
1
Alternate tick labels in xyplot
Dear Rhelp,
I would like to get alternate tick labels for the xyplot:
library(lattice)
library(grid)
xy <-xyplot(decrease ~ treatment, OrchardSprays,
??? main= "Some plot",
??????? groups = rowpos, type = "a",
??? ??????????? page???? = function(n){
???????????????????????? grid.text(LETTERS[j],
???????????????????????? y = 0.95,
???????????????????????? x = 0.15,
2008 Jul 20
9
Recompile Ubuntu Xen 2.6.24 Kernel
Hi all,
I want to recompile the 2.6.24.19-xen kernel
provided by Ubuntu hardy. I have install the
linux-source linux-header deb but don''t know how to include the "xen
patch" to the 2.6.24 source (I know 2.6.24 have Xen forward-ported) and
compile the kernel. I am sorry this is quite a newbie question.. Could
anyone help me?
Basically I want to compile a 2.6.24 Xen
2008 Jul 29
1
How to set the parameters in Trellis Graphics (by Lattice package)
Dear R users
I plot the trellis graphics by using the lattice package. Everything is
OK. Now, I want set
some parameters of the trellis graphics.
1. The tick label site. By default, only two tick labels had been output in
x-axis of my plot.
I want output four or five tick labels. In the traditional graphics system,
it will be very easy.
Just not output the axis in plot by use the parameter
2011 Mar 30
4
fonts in mosaic
I need to change the font(s) used in mosaic from package vcd.
The help file and the vignette do not give very explicit examples for
doing that.
The easiest solution would be changing the font for everything
on the graph: var labels, var names, title, subtitle, and cell labels.
What is the easiest way of accomplishing this?
2004 Jul 30
1
plot(x,y) core dump
Dear R Development Team,
I compile R-1.9.1 on AIX 5.2 under 2.9-aix51-020209, and xlf 7.1. In
order to let R compile successfully under gcc 2.9, I have to change one
C statement of file(RHOME//src/modules/X11/devX11.c) line 1768 from
"retrun FALSE" to "retrun NULL", following is C code snapshot:
newX11Desc * Rf_allocNewX11DeviceDesc(double ps)
{
newX11Desc *xd;
2006 Aug 01
1
R crashes using pdf() windows() or postscript()
Dear HelpeRs,
I have a script where I save several thousands of graphics. These are
then used in Latex through Sweave. Unfortunately R crashes while making
these plots and Windows pops up some message that I run low on virtual
memory. I tried to save the plots using pdf(), windows() and
postscript() and also tried to run it with R CMD BATCH myscript.R. But
after a while R slows down and crashes
2008 Aug 01
10
can I clone a runiung domU?
Hi all
I''d like to know if it''s possible to clone a running domU. I need to
make an exact copy of an existing CentOS xen domU, but without taking it
offline. I''m using LVM, so I don''t know if it will help.
I have tried doing it with dd, after shutting down the domU, but it
takes ages. The LVM image is 30GB. I can''t really afford to have the
2008 Aug 29
1
ggplot2: Changes to grobs not saved to file output
Hello,
Maybe I missed something - most likely .:-(
I create a gplot and then makes some changes to the plot using grid graphics
functions. These changes show up on the display OK, but when I save using
ggsave() the grid changes do not show up. How do I save the plot with these
changes?
Thanks in advance.
--
View this message in context:
2010 Oct 19
2
superpose.polygon, panel.polygon and their colors
Dear R-helpers,
the problem I'm facing today is to convince lattice to paint some areas
in gray.
The areas I would like to have in gray, are confidence bands
I've googled around in the mailing list archives and eventually find
some clues.
This link is my starting point
http://tolstoy.newcastle.edu.au/R/e2/help/07/04/15595.html
I'm reproducing here the code for your convenience
est
2011 Jun 26
2
Only one strip with italic font.
Hi R users:
How can I obtain an italic font only
for one of the two strips in a xyplot?
library(lattice)
t<-rep(seq(0,10,5),4)
logCFU<-c(2,2.5,3,4,4.5,1.5,2,2.5,3,3.4,2,2.5)
microorg<-factor(rep(c("E. coli","L. monocytogenes"),each=6))
tratam<-factor(rep(c("t1","t2"),6))
xyplot(logCFU~t|microorg+tratam,type="p",
2009 Apr 07
2
xyplot - label one line
Hi All,
I have a panel xyplot with 2 lines in each panel. I'd like to label one line
only but don't know how to do this. The code below labels both lines. Any
ideas how I could change it to show the y-values of only one of the lines?
Many thanks!
xyplot(apples + bananas ~ year | category, data=fruit, as.table=TRUE,
par.strip.text=list(cex=1.2,font="bold"),
par.settings =
2020 Mar 29
6
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
Hi
Thanks for your input on this I?aki and Nicolas.
I am starting testing an R fix for this problem today.
As suggested, the plan is to allow the R user to specify a font family
other than "symbol" for plotmath output (or, more generally, in R
parlance, for 'font=5' or 'fontface=5') on a Cairo-based graphics device.
Paul
On 27/03/20 11:30 pm, I?aki Ucar wrote:
2018 May 02
1
get unicode ranges from a TTF ???
Hello list,
Is there a command line tool I run on a ttf font and get a list of the
Unicode Ranges for that that font that would be compatible with the
unicode-range: parameter in a CSS @fontface declaration?
I'm guessing something in the python world probably exists...
Hopefully something that works in CentOS 7
I need something like that for a FLOSS font server project that doesn't
2012 Jan 31
1
R help, labeling the tick marks as I want
R help,
I would like to change the labels of my tick marks on the x-axis, and I am
having difficulty understanding how. Basically, my current axis labels
are: 0, 50, 100, 150, 200, and I would like: 1962Q1, 1974Q2, 186Q4, 1999Q2,
2011Q4.
With all respect to generality, could you please simply tell me the code to
achieve this in the context of this problem? I learn programming by
example and