Displaying 20 results from an estimated 300 matches similar to: "y-axis and resizing window"
2004 Mar 22
1
persp(), axis font size
Is there a way to adjust the font size for axis labels when using
persp()? The parameter cex works for adjusting the global font size, but
I can't seem to make cex.lab or cex.axis work for adjusting these
values independently. Or, is there a preferred method for making surface
plots in R?
I'm using R version 1.8.
Thanks,
Manuel
2006 Jan 17
1
Font size of axis labels
Hi all,
In R, it is not possible to set the font size of axis labels directly
(AFAIK). Instead, scaling factors for the font chosen by the graphics
device can be supplied. It appears that there is no constant font size
for axis labels. My impression is that the axis label font size is
scaled internally by R depending on the number of labels given for an axis.
In addition to the R-internal
2005 Aug 15
1
png and resolution (PR#8066)
Full_Name: Knut krueger
Version: 2.1.1
OS: xp Home
Submission from: (NULL) (149.225.134.34)
In the png function the value res seems to be inactive:
bmp(filename = "c:/r/Rplot%03d.bmp", width = 1920, height = 1920, pointsize =
48, bg = "white", res = 2400)
result:
witdh/heigth = 1920 <> 20.32 mm
ppi=2400
Results as expected
png(filename =
2003 Feb 28
2
R Graphics Crash Problem
I recently built R 1.6.2 on solaris 2.8 with gcc 3.2.
Things seem to run OK, but using graphics causes R to
core dump. (For instance, by using the plot() or
hist() functions.) Sometimes I can see the graphics
drawn before it actually core dumps. The core file
shows a crash in Rf_gpptr.
I'm quite new to R, so I don't know what info would be
helpful for diagnosis. I'm including
2010 Mar 25
1
Problem with reshaping data from wide to long format
Hi,
I have a data.frame in wide format which I would like to reshape into
a long format:
example (nonsense) data:
> dput(perus2)
structure(list(id = c(30L, 38L, 21L, 12L, 22L, 28L, 31L, 44L,
8L, 47L, 23L, 20L, 41L, 42L, 29L, 50L, 5L, 33L, 4L, 17L, 11L,
1L, 18L, 6L, 9L, 32L, 16L, 14L, 39L, 48L, 37L, 43L, 25L, 27L,
35L, 40L, 45L, 49L, 2L, 34L, 10L, 15L, 24L, 26L, 46L, 7L, 13L,
3L, 19L, 36L),
2006 Jul 20
1
Can make no plots !!!
Dear all
I have Kubuntu linux and have updated to the latest version (6.06 dapper). I
do not know why but now I can not make no plots. For instance, when I type
>hist(...)
this is the message I get:
>can't find X11 font
> Error in X11 (display, width, heigth......)
> unable to start devide X11
> In addition: Warning messages:
> 1:locale not supported by Xlib: some X ops
2011 Mar 11
5
How to calculate means for multiple variables in samples with different sizes
Hello R-helpers:
I have data like this:
sample replicate height weight age
A 1.00 12.0 0.64 6.00
A 2.00 12.2 0.38 6.00
A 3.00 12.4 0.49 6.00
B 1.00 12.7 0.65 4.00
B 2.00 12.8 0.78 5.00
C 1.00 11.9 0.45 6.00
C 2.00 11.84 0.44 2.00
C 3.00 11.43 0.32 3.00
C 4.00 10.24 0.84 4.00
D
2008 Mar 10
1
hclust graphics - plotting many points
Hello.
I have a distance matrix with lots of distances that I use hclust to
organise. I then plot the results using the plot method of hclust.
However, the plot itself takes around 20 mins to make due to there
being ~700 things in the matrix that I have distances for. I thus
would like to dump this to some graphics format which will let me
examine this further.
I tried dumping it to postscript:
2003 Oct 08
2
Generating automatic plots
Hello,
I have been trying to write a small program to generate automatic plots. What
I want is to draw boxplots for some variables in my data frame, contrasting
with a variable called 'missing' that has value 1 if some variable in a
concrete case has at least one missing value, in order to check if the cases
that don't enter in my analysis are biased.
The first attempt was to
2005 Oct 17
1
fax - conversion problem
I am having a strange problem.
On one * box I setup the fax recive, via spandsp -app_rxfax
I have no problem here.
On a second box I did the same. The resulting PDF appear "corrupt".
If I transmit the same fax to both * box, the tiff files received are the
same.
A deeper analysis shows the only problem is the width and heigth of the
document
In the first PDF, I see
2006 Apr 12
1
How best to handle non-serializable session data?
I have a piece of data that needs to persist across requests that is not
serializable. It''s a Rubyful soup parse tree and it''s very expensive to
instantiate and I need it for a while in my app.
Therefore, by default, it can''t be stored in the session since the
default session storage mechanism is pstore.
One option I have to is change the session storage mechanism
2003 Jun 30
1
symbol size on a plot
Hi,
I would like to get from a plot the size of the symbols plotted.
Imagine I have the following plot function :
plot(1:2,1:2, pch=15, cex=4)
I would like the get the values SIZE1 and SIZE2 so that if I plot the
following rectangle :
rect(1.5,1.5, 1.5+SIZE1, 1.5+SIZE2) then the size of this square is
exactely the same as the one of the symbols that have been plotted.
Thanks for any idea.
--
2002 Jun 11
1
R 1.5.0: axis() does not honor the xaxp argument (PR#1654)
----------------------- transcript --------------------------
$ R --vanilla
R : Copyright 2002, The R Development Core Team
Version 1.5.0 (2002-04-29)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.
R is a collaborative project with many contributors.
Type
2013 Feb 26
1
Help with graphs in A4 size
Hi,
I need to generate complex graphics which have to be shown in the plot window but also in pdf file, and they must have A4 size. This is the reason why I use width=8.27 and heigth=11.69.
The problem is that I don't make it runs when I put something (text, lines, and so on) outside the plot region.
I mean if I run the following code, it works perfectly, because the text "My
2005 Mar 30
1
Finding the "height of a line of text" for axis
I would like to draw only the ticks of an axis, but not the axis
itself. I don't think this can be done using axis(), so I am trying to
write a cut-down version in R, which only draws ticks.
The point at which I am stuck is that the length of a tick is set by
par("tcl") as a fraction of the "height of a line of text". So I would
like to draw a line whose length is also
2003 Sep 17
1
plot.hclust: dendrogram too large for window (PR#4197)
plot.hclust:
Setting up a window for a dendrogram assumes the first link is
the shortest and the last is the longest. This is not always the
case when the clustering was done with hclust, method="median"
or method="centroid", and the dendrogram sometimes doesn't fit
within the window.
I propose the fix listed below.
src/main/
--- plot.c Wed Sep 17 01:03:39 2003
+++
2012 Jun 29
2
GPLPV msi installer does nothing during setup
Hi all
I''m trying to install drivers GPLPV. The installation process stops and
does nothing. (Here is a screenshot
http://www.picshare.ru/view/171508/).
I tried to install versions 0.11.0.308 and 0.11.0.357. For 32-bit and
64-bit systems Windows XP, Windovs Vista and Windows 7. Everywhere the
same effect.
Can anybody help me?
--
Best regards
Valery V.Smirnov
2000 Mar 06
1
A new way for an Alpha to fail
Previously I had managed to get R-0.99.0 to compile and pass the tests
on a Debian Linux/Alpha 2.2 system by recompiling src/main/optim.c by
hand omitting the -O2 flag.
I just tried R-1.0.0 on a similarly configured machine, although not
the same machine as before, and it compiled ok but failed the tests.
This time it fails on
bessel> x <- seq(0, 4, len = 501)
bessel> plot(x, x, ylim
2002 Jun 03
1
symbols: zero radius circles are drawn.
Hi,
I don't think this is a bug, but I thought I'd mention it in case
others think it is not correct... I guess it is probably just a
rounding error.
If I use symbols() to draw some circles, any circle with radius of
zero gets drawn as a small circle. As an example:
postscript(file="test.ps")
symbols(1:9, rep(2,9),
circles=seq(from=0.05, to=0.0, length=9),
2008 Jun 16
2
in axis() suppressing axis line but keeping tick marks
I've been trying to figure out a parameter that will let you separately
adjust the parameters for the axis line from the tick mark.
In the following example, I would like to suppress the axis line, but keep
the tick marks.
Thanks,
Andrew
foo <- data.frame(x=1:3, y=4:6)
plot(foo$x, foo$y, type="n", axes=F)
points(foo$x, foo$y)
axis(side=1, at=foo$x, lty=0) #would like to figure