Displaying 20 results from an estimated 5000 matches similar to: "R graph strip in Greek Letters"
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
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
2006 May 04
1
plot greek letter in italic
Hi,
Could someone please let me know how to plot greek letters in italic.
text(0,14,expression(italic(rho)[italic(f)])) only plots the f in italic and
text(37,40,expression(italic(rho))) doesn't plot rho in italic.
I have checked demo(plotmath), ?plotmath, FAQ, and the archives
2004-2006 without finding the answer.
I'm using R 2.1.1. and Windows XP.
Thanks!
Tord
--
Tord Sn?ll
2002 Apr 15
3
Greek in text()
I have gone over the examples and can't figure this out:
rho<-.77
text(x=.05,y=.5,paste(expression(rho),rho))
I was hoping to get this to print a Greek rho with 0.77 beside it.
Instead I get: rho 0.77 (i.e. Roman lettering)
The help on expression() is quite opaque so I don't understand how it
works.
Thanks for any help.
Bill Simpson
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
1999 Feb 18
1
[Q] use of expression() in plot() vs. hist()
In plot() I can get greek symbols into text items without trouble.
However, some of the same commands don't work as I would expect with
hist(). See the example below.
> plot(1:10, 2:11, xlab=expression(paste("scaled", rho)))
---- works as expected, ie. prints the greek rho
> hist(c(0,0,0,0,4,5,6,6,6,8), xlab=expression(paste("scaled", rho)))
Error: Object
2005 Feb 24
2
other than default labels in lattice plot
Dear all
I solved a problem of customised labels on strips and boxes in bwplot
by this construction.
> bbb <- bwplot(zavoj ~ typmleti | pu)
> bbb$condlevels$pu <- c("Povrchov? ?prava", "Bez PU")
> bbb$x.limits <- c("Mleto", "Mleto a s?tov?no", "Nemleto")
> bbb
but I wonder if some other easy option exist. Let say something
2007 Oct 18
1
R-graphics printing greeks
I have tried to print a table of greek alphabet names and symbols
without success. I can print one character at a time but can't seem to
find a way to automate an entire list of the symbols. Some of the code I
have tried is below. I have searched on help, worked the examples in the
December 2002 R Help Desk article and plotmath but have not been able
to find a way to accomplish the
2012 Mar 28
1
resampling for correlation and testing
Hello all R-er,
I'm trying to run a resampling method on some data. The current method I have takes 2+ days or a lot of memory . I was wondering if anyone has a better suggestion.
Currently I take a matrix and get the correlation matrix from it. This will be called rho.A. Each element in this will be tested against the distribution from the resampled correlation B matrix.
Some example
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
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
2010 Jun 04
1
ps-output and LaTeX/DVIPS/PS2PDF - Greek letters disappear
Hello!
My graphs are produced using the "postscript"-option in R (R version
2.10.1 (2009-12-14)). When Greek letters are used on the axis,
everything looks fine in the *.ps-file. If included in a LaTeX-file and
(on Ubuntu 10.04, fresh install), the Greek letters appear in the DVI-
and PS-output, however, if converted with ps2pdf they suddenly
disappear. Could anyone suggest a
2012 Nov 20
3
Greek letters on title
Hi all,
I want to plot a series "x" and I want to put on title "Time evolution with
alpha=0.2", e.g.,
plot(x, main="Time evotion with alpha=0.2",col="orange")
Is there any posibility to put the greek letter and avoid written the word?
Many thanks in advance.
[[alternative HTML version deleted]]