Displaying 20 results from an estimated 4000 matches similar to: "Variables and greek letters in a plot title"
2006 Jul 25
5
greek letters, text, and values in labels
Hello,
I want to have a title that will look something like:
"Results for \theta=2.1", given that I have a variable theta=2.1, and
\theta should show on the screen like the greek letter.
I've tried a lot of things:
theta <- 2.1
plot(1:10, main=expression(paste("Results for", theta, "=", eval(theta))))
or using bquote
plot(1:10, main=paste("Results for
2009 Aug 03
2
boxplot( ) headers with Greek letters, values, and text
Hi -
I've been using the option
main=bquote(paste(mu==.(mu),", ",lambda==.(lambda),", ",truncation==.(truncation),", ",N[T]==.(n)))
to produce a title when using the "plot" command - a title which includes variable names (two Greek)
along with their values.
The above option, however, does not work within the "boxplot" command.
Any
2005 Nov 01
2
Greek letters in plots
Hi, all. I know that this is probably something that others have asked,
but I can't find a reference in either the FAQ or the help pages.
I'm trying to find a way to put Greek letters as a label of the plot
*with* a value from the data. Previously I've used pasted and the word
"rho".
* paste("rho=", cor2[i])
will produce a label of
2010 Jun 05
2
Greek letters and formatted text
Hi,
I desperately try to do s.th. like
m=1.23455
sig=0.84321
plot(1,1)
text(0.8,1,sprintf("<Sigma>=%1.2f?%1.2f",m,sig))
where actually the greek letter should appear for Sigma.
I have tried all sorts of combinations with expression and paste etc. but could not work it out. Maybe someone has an idea and can help me.
Thanks a lot+
Thomas
2012 May 19
1
Names of Greek letters stored as character strings; plotmath.
I had such good luck with my previous question to r-help, (a few minutes
ago) that I thought I would try again with the following query:
> Suppose I have
>
> xNm <- "gamma"
>
> I would like to be able to do
>
> plot(1:10,xlab = <something involving xNm">)
>
> and get the x axis label to be the Greek letter gamma
> (rather than the
2010 Aug 31
1
Greek letters and variable values in lattice plot annotation
I'd like to annotate a lattice plot, e.g. xyplot, with text containing both
Greek letters and variable values. In the base graphics plot command this
can be accomplished with e.g. main =
substitute(paste(lambda,"=",var),list(var=var)), where var is a variable
that contains the value. When I try to do this in xyplot, I get the error
message "object 'lambda' not
2009 Jan 04
2
Combining greek letters with the contents of variables
Dear r-help list,
I am trying to combine a greek letter lambda with the contents of a variable v in the title of a plot. However, it seems that having v inside the expression() function causes it not to be evaluated, on the other hand having expression(lambda) inside something else like paste causes it to be evaluated to a string. Here is an example of what I want to do:
2008 Aug 07
1
Mtext doesn't display characters in italic when I use a greek symbol
Following on from my previous mail!
plot(1:10,1:10)
mtext("title", side=3, adj=0, font=3, cex=1.5)
This works as expected and puts the font in italics.
tag <- "A)"
suffix <- "genea::"
plot(1:10,1:10)
mtext(bquote(.(tag) ~ Delta * .(suffix)), side=3, adj=0, font=3,
cex=1.5)
Here, the font isn't in italics, it's normal.
I presume this is some
2009 Nov 03
2
how to display a string containing greek chrs and variables
I'm trying something that I thought would be pretty simple, but it's
proving quite frustrating...
I want to display, for instance, the correlation coefficient "rho" in a graph.
I can do something like:
text(x, y, paste("rho =", cor))
where cor would be my previously calculated correlation coefficient,
and x and y the coordinates.
Obviously that displays
2001 Apr 16
1
Maple, MathCad, Greek letters (was: Greek letters)
Hi.
I was having trouble getting Greek letters and mathematical
symbols in maple under wine, and a search turned up a few messages
suggesting others have the same problem. In particular,
Thomas Koenig wrote...
http://www.winehq.com/hypermail/wine-users/2001/04/0028.html
> I wrote:
>
> >I have tried several applications which use Greek letters, such as
> >Maple V R5 and
2010 Jul 23
1
greek letters in rgl plot3d
Dear RGL experts,
I haven't been able to add greek letters to my rgl plot3d.
I have tried "expression" with no success.
Here is the interested bit:
> library(rgl)
> cb <- cube3d()
> plot3d(cb,xlab=expression(alpha),ylab="",zlab="",box=FALSE,alpha=0.5)
The expression(alpha) appears as "alpha", rather than as a greek symbol.
I suspect greek
1999 Oct 23
1
greek letters and deparsing in title
Dear All,
In the title of a plot, I would like to mix greek letters with numbers, where
the numbers are obtained from a particular function to a vector (e.g., max(x));
in each call, the value of this vector can change.
Without greek symbols I use something like:
title(sub=paste("x1=", deparse(x[1]),"beta = ",deparse(max(x)), "rho = ",
deparse(min(x))))
but I'd
2010 Apr 19
1
How to embed italic Greek letters in a eps file?
Hi,
I need to add on a plot text containing italic Greek characters using
the function mtext (i.e. I cannot use Hershey vectors). The characters
are nicely displayed when the file is saved as png but not when saved as
eps. See code below as example:
#postscript('test.eps')
png('test.png')
plot(1,1, type = 'n')
mtext(side = 3, line = 2,
2004 May 19
3
greek letters in plots
Hi,
I want to write in x axis label "fitted value of lambda" (lambda in greek
letter).
xlab=expression(lambda) gives the "lambda", I tryed things like xlab=paste
("fitted value of ", expression(lambda)) but I didn't get the greek letter.
Thanks in advance for any hint.
Antonio Olinto
-------------------------------------------------
WebMail Bignet - O seu
2010 Jan 20
1
Greek letters on a multi-line plot title
I have an instance where I need to include Greek letters on a plot title that is multiple lines.
?
I've searched the forums for an approach to do this, but most of the previous posts and replies seem to just address instances of single line examples and problems:, e.g.
?
https://stat.ethz.ch/pipermail/r-help/1999-October/005096.html
?
I tried implementing those suggestions, e.g.
2017 Jul 30
3
greek letters do not work in expression
Dear all,
I appreciate suggestions for following problem. I wrote to RStudio:
plot(c(1,20),c(1,20), xlab = expression(paste(alfa)))
or the same happen when I wrote:
plot(c(1,20),c(1,20), xlab = expression(alfa))
what happen is, that description under x label is exactly "alpha", not greek
letter alfa (?).
Please where should I search problem, or what information to sent to list for
2017 Jul 30
2
greek letters do not work in expression
> On Jul 30, 2017, at 8:25 AM, Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote:
>
>
>
> On 30.07.2017 17:22, Milan Cisty wrote:
>> Dear all,
>> I appreciate suggestions for following problem. I wrote to RStudio:
>> plot(c(1,20),c(1,20), xlab = expression(paste(alfa)))
>> or the same happen when I wrote:
>> plot(c(1,20),c(1,20), xlab =
2010 Jun 05
1
text with greek letters
Hi,
I am having troubles in putting greek letters and formatted text in a plot
m=1.43432
sig=0.124333
text(10.5,0.07,sprintf("<Sigma>=%1.2f±%1.2f",m,sig))
I would like to have the greek letter Sigma followed by the formatted numeric values of m and sig.
Does someone know a solution?
thanks a lot
Thomas
---------------------------------
Thomas Bschorr
Department of Physics
2003 May 20
1
surprising behaviour of "bgroup": sets all in greek letters
Dear R user community
I wanted to use "bgroup" for plotting a math formula with
a big "{" on the left, and nothing on the right.
i used
text( 10, 10, pos=4, cex=1.8, expression(F(x) == bgroup("{", x, "")), ...)
on a 40 x 20 plot.
surprisingly,
bgroup sets "Phi(xi) = { xi"
i.e. replaces alphabetic characters with greek letters in the entire
2006 Apr 21
1
R graph strip in Greek Letters
Hi all,
I have one question on xyplot() function.
I am trying to produce a graph by this code.
tmp <- data.frame(a=rnorm(20),
b=rnorm(20),
rho=factor(rep(1:2, c(10,10))),
k=factor(rep(1:5,4)))
tmp.lattice <-
xyplot(a ~ b | rho*k, data=tmp,
par.strip.text=list(font=5),
strip=function(...) strip.default(...,