Displaying 20 results from an estimated 30000 matches similar to: "Math and symbols in titles of plots"
2009 Nov 24
1
Titles in plots overlap
Hi,
I use fCopulae package to draw different graphs of univariate and bivariate skew t. But the plots titles overlap. I tried using cex.main, font.main to adjust the size but they still overlaps. Here is my code:
par(mfrow = c(3, 1))
mu = 0
Omega = 1
alpha1 = 0
alpha2 = 1.5
alpha3 = 2
alpha4 = 0.5
Z1 = matrix(dmvst(x, 1, mu, Omega, alpha1, df = Inf), length(x))
Z2 = matrix(dmvst(x, 1, mu,
1999 Oct 26
1
Wrong text() adjustment with (math)expression and "\n" (PR#299)
This is adapted from partha_bagchi@hgsi.com 's report on R-help:
plot(0); title(expression("Bad\n with much much more text")))
gives something like
Bad
with much much more text
(``newline w/o carriage return'') instead of centering both lines such as
Bad
with much much more text
which is produced by (just dropping
1999 Nov 12
1
R-0.65.1 Startup
Dear R users,
I have noticed that my R startup is extremely slow. It takes almost 3
minutes from "double-click" to R prompt. I have been running R-0.64.1 till
recently and it took about 30 sec. I still have access to R-0.64.1. When I
started it up, it took about 25 sec. Can anyone tell me if this is a bug in
R or a problem with my machine?
Note: This is after bootup with R being the
2004 Nov 19
4
3d Map with bars
Apologies in advance for the question. I am trying to draw a map of the US
as a surface plot so that I would be able to drop bars on the different
states (something like Uwe Ligges' scatterplot3d example 4). I am not sure
where to start looking for such a beast. If anyone has any pointers,
ideas, I will be grateful.
TIA,
Partha
2003 Nov 14
5
A suggestion regarding multiple replies
Please don't take this the wrong way. There are a lot of extremely helpful
people who subscribe to r-help.
I was wondering if it is time to adopt a strategy a-la Splus help whereby
people reply to the author and the author summarizes all the replies?
Just a thought and have a good weekend.
Partha
2003 May 29
3
Odd behavior of strptime
The example from the help page for strptime has the following oddity:
> dates <- c("02/27/92", "02/27/92", "01/14/92",
+ "02/28/92", "02/01/92")
> times <- c("23:03:20", "22:29:56", "01:03:30",
+ "18:21:03", "16:56:26")
> x <-
1999 Mar 25
1
Question about Structure
Hello,
Perhaps I am missing something here about the function structure() (Platfrm etc.
in the end?
> structure(1:6, dim= 2:3)
[,1] [,2] [,3]
[1,] 1 3 5
[2,] 2 4 6
> structure(1:6, dim= 3:2)
[,1] [,2]
[1,] 1 4
[2,] 2 5
[3,] 3 6
> structure(1:2, dim= 1:2)
[,1] [,2]
[1,] 1 2
> structure(1:2, dim= 2:1)
[,1]
[1,] 1
[2,]
2003 Jan 07
1
axis() color from 1.5.1 to 1.6.1
I see that the definition of axis() has changed from 1.5.1 to 1.6.1 (as
mentioned in the news file for 1.6.0). Axis now has a color argument to
change it's color. However, the following command worked in 1.5.1:
> axis(1, at = c(0.1, 0.2, 1, 5, 10), fg= gray(0.7), cex.axis = 0.8,
col.axis= "red") #plot the axis in gray with annotations in red.
The command no longer works in
2009 Aug 25
3
math symbol + value of a variable in legend.
Hi R users:
I will like to have a legend with math symbols and also with
the value of a variable.
But I cannot obtain both at the same time (symbol + value of a
variable):
Here is a reproducible example:
m1<-5
m2<-12
plot(1:5,1:5,type="n")
legend("topleft",legend=c(paste(expression(mu),"=",m1),expression(paste(mu,"=",m2))),lty=1:2)
Thank you for
2009 Aug 25
3
math symbol + value of a variable in legend.
Hi R users:
I will like to have a legend with math symbols and also with
the value of a variable.
But I cannot obtain both at the same time (symbol + value of a
variable):
Here is a reproducible example:
m1<-5
m2<-12
plot(1:5,1:5,type="n")
legend("topleft",legend=c(paste(expression(mu),"=",m1),expression(paste(mu,"=",m2))),lty=1:2)
Thank you for
1999 Dec 13
1
Superscript or subscript on Left hand side of symbol
Is there a way to get subscripts and superscripts on the left hand side of
a symbol? For example, oC or oF (degree Celsius or Fahrenheit)
TIA
Partha
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2013 Mar 28
3
problem with plots with short example.
i am having problem running my own data. yesterday it was working just fine. today it is not. this is the code i was using as an example to follow. this code ALSO worked just fine yesterday, and is no longer working at all. i suspect it is a problem with either my computer or the software, at this point. if THIS won't even run.... something is wrong.
i can assure you this isn't
2010 Jun 04
7
Wrong symbol rendering in plots (Ubuntu)
Hi I am having problems with the rendering of scientific symbols (mu and
degree) in my plots. Whenever I use these symbols they are rendered
changed (mu is changed to the proportionality symbol and degree is
changed to something resembling a gamma) in the X-device. If I make a
pdf of the plot and open the file in Evince or Okular symbols are also
rendered wrong, however if I open the file
2010 Jun 04
7
Wrong symbol rendering in plots (Ubuntu)
Hi I am having problems with the rendering of scientific symbols (mu and
degree) in my plots. Whenever I use these symbols they are rendered
changed (mu is changed to the proportionality symbol and degree is
changed to something resembling a gamma) in the X-device. If I make a
pdf of the plot and open the file in Evince or Okular symbols are also
rendered wrong, however if I open the file
2010 Jun 04
7
Wrong symbol rendering in plots (Ubuntu)
Hi I am having problems with the rendering of scientific symbols (mu and
degree) in my plots. Whenever I use these symbols they are rendered
changed (mu is changed to the proportionality symbol and degree is
changed to something resembling a gamma) in the X-device. If I make a
pdf of the plot and open the file in Evince or Okular symbols are also
rendered wrong, however if I open the file
1999 Aug 02
2
HTML Output from R
Task: To generate HTML output from R
Details: I am trying to serve up HTML output from R. That is analyses or
table of data from R saved as HTML output with formatted tables etc. This
file is then called in a CGI script to output to user browser. The CGI
script inspired by Mark J. Ray reads the HTML output, formats the header
and footer and any graphic output if necessary.
My question is: Has
1999 Feb 12
1
Fisher's Exact Test
Appology in advance if this has been asked and answered. I am getting different
answers using Fisher's exact test in the package ctest. For example:
x_cbind(c(8, 22), c(31, 29))
fisher.test(x)
Fisher's Exact Test for Count Data
data: x
p-value = 0.04024
alternative hypothesis: two.sided
However, in SAS or other packages on the net the answer I get is p-value=
0.02664.
Is this
2009 Jun 29
1
symbols duplicated in plot output
Dear list,
I'm manually editing a large collection of pdf files that I produced with R
in Adobe Illustrator. In doing so, I've had the surprise to see symbols
duplicated on top each other. The following code illustrates this,
pdf()
plot(1, xlab=expression(mu))
dev.off()
If I open this pdf in Illustrator CS4, there are two "mu" on top of each
other, giving it a somewhat bold
2009 Feb 18
2
Adding greek letters to plot title
I would like to add the greek letter mu to replace u in my title shown below.
main="R=[0.001uM]:A=[750uM]"
i tried using main=expression(R=[0.001~mu~M]:A=[750~mu~M])
but this is not working at the moment.
any help is appreciated
thanks in advance
[[alternative HTML version deleted]]
2000 Nov 09
2
Expressions in plots
Perhaps there is an obvious answer to this,
but I can't seem to figure it out. I want to
generate a sequence of plots, where a variable
(say x) is changed from plot to plot. For each
plot I'd like to have a title indicating the value
of x. However, what I really want is to use
expression to typeset some math. A simple
example is I'd like to do something like
expression(mu==x), where