similar to: Mathematical expression

Displaying 20 results from an estimated 5000 matches similar to: "Mathematical expression"

2006 Nov 30
3
Expression
Hi all, I have a question about expression. In a figure I want to include the term D*obs with the star as as superscript and obs as subscript. I have even just tried to get the star to be superscript. The code I tried was text(Dstar+7,120,expression(paste({}D,^*))), but that doesn't work and I get a syntax error. I can't seem to find anything in the help files that explains it.
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
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,
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 =
2008 Jan 29
1
Convert string for expression in plot
Hi, Although I understand how to use expression and paste to add superscripts and symbols to my graphs, I have a problem with adding superscripts to an existing string. For example, I read in the following from a separate file: 25Mg(p,g) I want to convert that to superscripts etc. (in LaTex format): $^{25}$Mg(p,$\gamma$) This needs to then be put into a graph title. Any ideas? I know that I
2012 Aug 20
1
Inserting superscripts in free-format text line
I would like to insert a superscript in a body of text (e.g., a title or axis label), where the superscript is not necessarily at the end of the text. For example, suppose a title read, "This is a Test^1 of the Emergency Broadcast System" where there is a superscript 1 after the word Test. As a starting point for what I'm trying to do, the following shows a superscript:
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
2004 Nov 14
1
Combining expressions and objects within labels
Hello all, I am an R novice and I have a simple question and hope somebody can help me out. I need to place several labels in a plot, this labels are some kind of text and also some objects (which come from some more complicated R calculations). In one of this labels I'd like to place a superscript, however I cannot find a way to place both the expression and the object in the same
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
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
2004 Aug 09
4
Simultaneous subscripts and superscripts
Dear List, I'd like to add text to a plot where a text symbol has both a superscript and subscript. For example, the variable S with a superscript 2 and a subscript t. I have been able to accomplish this using either expression( paste(S,atop(scriptstyle(2),scriptstyle(t))) ) or expression( {S[t]}^2 ) but the spacing isn't quite right (or rather what I'd like) using either of
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
2010 Oct 12
1
Displaying a variable as an expression into a plot label, but the variable has brackets
I'm attempting to insert variables as expressions into labels for my plots, but I'm running into the issue that characters in my labels aren't allowed in expressions, notably '[' and ']'. An input string of "[^3H]5-CT" needs to be displayed as [3H]5-CT with the 3 as superscript. But brackets aren't particularly liked in expressions. I know I can do
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
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
1999 Aug 19
1
Mathematical Superscript on the y-axis of a plot
I am trying to get superscripts on the y-axis. I keeping getting syntax error: This works as advertised: > plot(c(1:10), ylab= expression(paste(x^ theta))) This does not: >plot(c(1:10), ylab= expression(paste(x^ {++}))) Note that I am trying to get ++ as superscript. Any suggestions? Thanks. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing
2010 Dec 27
1
another superscript problem
I've exceeded the maximum time I am willing to accept for solving simple problems so I thank all in advance for your assistance. I am trying to plot text combined with an object value and a superscript. obv = 5 text = "Population mean =" ss = ^o # degrees Something like this (very naive so you get the idea): expression(text, obv, ss) paste(text, obv) # works ...but of course I
2011 Nov 01
3
Greek letter
Hi everyone. I'm trying to use small letter phi in a graph produced in R. However, the small letter phi does not look as it should. In fact, it looks like this: http://r.789695.n4.nabble.com/file/n3963311/Untitled.png instead of what is here http://en.wikipedia.org/wiki/Phi Here's the code I use: expression(phi [1]) Anyone has an idea? With regards, Phil -- View this message
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