Displaying 20 results from an estimated 2000 matches similar to: "another superscript problem"
2010 Aug 01
3
Constructing arguments for plotmath
Colleagues,
I am encountering difficulty adding formatted text to a graphic. Specifically, I want to add a superscript in the middle of a text string but I would like to format the text string on the fly. The commands:
plot(1,1)
ARG <- bquote('TEXT'^'\u00ae')
mtext(ARG, line=-2, side=1)
yield the desired output.
However, my goal is to paste together a string, then pass
2009 Nov 02
2
superscript troubles
I know that this has been revisited over and over, yet I cannot figure out
how to solve this case of superscript troubles...
I would like the 2 in r2 to be superscript, yet I am pasting text before and
after it. I have tried several variations but have not solved this yet, any
suggestions?
legend (bty =
2010 Oct 22
2
superscript characters in title with '+'
Hi,
How can I get the '2+' into superscript in the following title:
'[Ca2+]i onsets'
I tried the command below, but it doesn't work. What am I missing?
hist(X, main=expression(([Ca*]i^2+) 'onsets'), xlab = 'sec')
--
View this message in context: http://r.789695.n4.nabble.com/superscript-characters-in-title-with-tp3006981p3006981.html
Sent from the R
2013 Apr 03
3
Superscript
Hi,
How do I write a superscript within gsub?
I have the following: gsub("_mgkg",expression(paste("mg kg"^{-1})),names[1])
Thanks
--
Shane
[[alternative HTML version deleted]]
2011 Feb 01
2
superscript
Hi there,
How can I superscript the "2" of "r2 =..." in the legend below?
legend(210, 110, paste("r2 = ",
format(summary(regression)$adj.r.squared,digits=3), sep=""))
I usually use "expression(paste(...", but it won't work this time because
"format(summary(..." needs to be evaluated.
Thanks in advance!
--
View this message in
2008 Jan 27
1
titles with superscript and variale value
Hi everyone,
I am trying to write a title for a plot which has a superscript like D^2 and a value of a variable stored in that variable..... i am not sure if i am clear so i will try an example:
Suppose i want my title to be like: Family: Gaussian; D^2 = 0.45
where i have the value 0.45 stored in variable d2 (which comes from some previous calculations, and depending which actual variables
2009 Mar 11
2
Combining math and variables in expression
I am trying to get the following line in a plot margin using mtext:
100% Area = 120.000 km^2
Where I intend that "100% Area =" is text, 120.000 is a number that varies
according to different data, and km^2 should be a neat
km-with-superscript-2.
The expression function fails me, since it apparently cannot coerce an
expression when a variable is involved.
In the R help file there is
2010 Aug 24
1
xylab formatting
Dear r-help,
I'm having trouble formatting xy labels for plot in r. I want to make the following y-label
"benzene (mug-3)"
where mu is greek and -3 is superscript and benzene is held in an array.
I tried this,
myname = c("benzene", "etc")
plot (c(0:10), ylab = bquote(.(myname[1])~~(mu~g ~m^-3)))
but it leaves a space between the "mu" and the
2013 Mar 18
3
Superscript followed by number then superscript in text
Hi all,
I'm having problems finding the correct format for a command.
I would like to write some text on a plot.
I'm using the following command:
text(x,y,"text here", srt=90)
I would like the text to read:
capacity 10^3 m^3
(with ^ denoting superscript (i.e. each '3' as superscript).
I've tried fiddling around with expression(paste(etc.... to no avail. I
2011 May 04
2
Superscript number before letter
Salut,
I have been struggling to superscript the 18 before the O without ^ visible
and found only help to superscript numbers after the letter. Thanks to
anyone who can help.
xlab=expression(delta*18O VSMOW [?]")
Cheers,
Janine
--
View this message in context: http://r.789695.n4.nabble.com/Superscript-number-before-letter-tp3495577p3495577.html
Sent from the R help mailing list archive at
2017 Dec 04
2
ggtern and bquote...
>>>>> peter dalgaard <pdalgd at gmail.com>
>>>>> on Mon, 4 Dec 2017 14:55:19 +0100 writes:
>> On 4 Dec 2017, at 11:58 , Levent TERLEMEZ via R-help
>> <r-help at r-project.org> wrote:
>>
>> Dear Users,
>>
>> What is the proper way to write symbol, superscript,
>> subscript in
2004 Nov 04
3
sub- and superscript in plot labels
Dear List,
I need to add a subscript and a superscript to some of the ions in the
labels on some plots.
I have got to here but now I'm stuck:
plot(1:10, xlab = expression(paste("nm SO"[4], " ", mu, "eq cm"^{-2}, "
yr"^{-1})))
Which gives almost what I require. No matter what I tried, however, I
could not get bot a sub script *and* a superscript
2009 May 18
2
Superscripts and subscripts in trellis graphics
I'd like to annotate an xyplot with an R^2 value, but can not find the
syntax to define the superscript format for the text.
I'd appreciate suggestions,
xyplot(SharkSloughEggs.df$Sharkeggs.rel +
SharkSloughEggs.df$SharkHatched.rel + SharkSloughEggs.df$SharkFlooded.rel +
HSI.shark$MEAN ~ Year,
pch=c(1,9,5,4), lty=c(1,6,3,4), lwd = c(2), col = c("black",
2001 Apr 01
1
ylab/ expression/ superscript to a bracket
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I have some rather unusual units for acoustic volume backscattering
integrated over several metres depth and 10 transmits (which happens to
= 160 m along transect). I need to express these units in a graph label.
My problem
2010 May 04
4
superscript
hello,
i need to add legend text: "4th-root transformation", with the "th"
superscripted -
tried much - but nothing worked..
thanks for any hints,
kay
-----
------------------------
Kay Cichini
Postgraduate student
Institute of Botany
Univ. of Innsbruck
------------------------
--
View this message in context:
2006 Aug 04
2
expression() - Superscript in y-axis, keeping line break in string
I've tried several different ways to accomplish this, but as yet to no
avail. My y-axis for a plot has a rather long label, and thus I have
been using "/n" to break it into two lines. However, to make it
technically correct for publication, I also need to use superscript in
the label. For example:
par(oma=c(0,0,2,0),mar=c(5,6,0.25,2),lheight=1)
plot(1:10,
2008 Sep 23
1
superscript text style in axis label in graph
Hi all,
I'd like to use superscript or subscript in the axis label of a graph. Is
that possible in R?
For instance in xlab="Ce (mmol/m3)", I'd need the "3" of cubic meter in
superscript.
Regards/Cordialement
-------------
Benoit Boulinguiez
Ph.D
Ecole de Chimie de Rennes (ENSCR) Bureau 1.20
Equipe CIP UMR CNRS 6226 "Sciences Chimiques de Rennes"
Campus
2005 Jun 05
1
Superscript text in axis labels
Hello,
I am guessing this is not a difficult question. But at the same time, I
haven't had much luck figuring this issue out from the R documentation and
help pages.
How can I create superscript text in the labels of a plot? The parameter
along my y-axis is volume and my desire is for the y-axis label to read
"Volume (cm^3)" except with the "3" in the superscript
2007 Sep 20
2
Plotmath issue superscript "-"
Dear List,
I'm trying to typeset some chemical ions in axis labels. These have both
super and subscript components, and for some, I need a superscript "-".
In LaTeX I might use $NO_3^-$ to do the typesetting, but I'm having a
problem getting the correct invocation for expression:
> expression(NO^{-}[3])
Error: syntax error, unexpected '}' in
2011 May 05
3
cross-correlation table with subscript or superscript to indicate significant differences
Hi, I wonder whether the following is possible with R, and whether anyone has done that and can share his/her code with me. I have a correlation matrix, and I want to create a correlation table that I can copy to Microsoft Word with a superscript above each correlation, indicating significant differences in the same row. That is, when correlations in the same row do not share superscript, it means