Displaying 20 results from an estimated 10000 matches similar to: "Mathematical Superscript on the y-axis of a plot"
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
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
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,
2012 May 29
1
Boxplot superscript y-axis
Dear list,
I need to include in a superscript number (-1) in a y-axis label of a
boxplot graphic. I tried the following line:
>boxplot(five$gr13~five$Code, xlab="Species code",
ylab=substitute(paste("DGL growth (cm.yr"^{-1},")")))
It returns the following error message:
Error in "DGL growth (cm.yr"^{ : non-numeric argument to binary operator
I used
2009 Jun 16
2
Superscript in y-axis of plot
Dear all,
I've been trying to superscript the '2' in the following command (I don't want the '^' displayed), but as yet haven't had much luck. I've tried both the paste and expression commands, but neither have brought me any joy!
mtext(side=2, line=5.5, "Monthly Precipitation (mm x 10^2/month)", font=2, cex=1.1)
Any advice would be much appreciated,
2000 Mar 08
3
Error loading ctest
Has anyone noticed this behavior:
> library(ctest)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library "J:
\STATS\RW1000/library/ctest/libs/ctest.dll":
LoadLibrary failure
> library(ctest)
> version
_
platform Windows
arch x86
os Win32
system x86, Win32
status
major 1
minor 0.0
year 2000
month
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 <-
2003 Aug 22
1
Substitute in legend
I tried to use substitute in legend as follows:
pval <- 0.04
plot(0)
legend(1,0.5,substitute(hat(theta) == p, list(p = pval)))
For some reason the legend is repeated 3 times.
Any suggestions or is this a bug?
1999 Jul 07
2
superscript -,+?
In Version 0.64.1 (May 8, 1999), Solaris 2.5.1,
expression(theta^{-})
and
expression(theta^{+})
(and the equivalent subscripts) give syntax errors.
(Superscript or subscripts of numbers, letters, or "+1" or "-1" all
work.)
Anyone have a workaround or a patch?
Or should I just use psfrag as god intended?
Ben
Benjamin Bolker Dep't
1999 Jul 07
2
superscript -,+?
In Version 0.64.1 (May 8, 1999), Solaris 2.5.1,
expression(theta^{-})
and
expression(theta^{+})
(and the equivalent subscripts) give syntax errors.
(Superscript or subscripts of numbers, letters, or "+1" or "-1" all
work.)
Anyone have a workaround or a patch?
Or should I just use psfrag as god intended?
Ben
Benjamin Bolker Dep't
2004 Oct 29
3
Warning message if the plot statement breaks into 2 lines
Here is a curious observation. In
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 0.0
year 2004
month 10
day 04
language R
>
Try the following:
> Plot(c(1:100), type = "l
+ ")
Warning message:
plot type 'l
' truncated to first character in: plot.xy(xy, type, pch,
2001 Sep 27
4
using the pfe editor with R 1.1.3 under windows 2000
I am in the process of setting up R1.3.1 on a new computer running windows
2000. I am having problems running the PFE text editor simultaneously
within R for editing functions and outside R for editing
ordinary text files. The PFE editor behaves as I expected, if it is opened
in R AND but no other PFE window is open outside R. Similarly, it also
works fine if I am editing a text file outside
2017 Jul 31
0
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
Hi Martin
see in line
> -----Original Message-----
> From: Martin Maechler [mailto:maechler at stat.math.ethz.ch]
> Sent: Monday, July 31, 2017 10:52 AM
> To: PIKAL Petr <petr.pikal at precheza.cz>
> Cc: Rosa Oliveira <rosita21 at gmail.com>; r-help mailing list <r-help at r-
> project.org>
> Subject: Re: [R] Superscript and subscrib R for legend x-axis and
2000 Mar 22
4
R-release dynamic load problem on HPUX10.20
Hello,
I just pulled the patched release:
R-release Version 1.0.0 Patched (March 19, 2000), on HPUX10.2
I am having dynamic library load problems. I configured with:
./configure --prefix=/home/absd00t/local --with-readline --with-x
After changing etc/Makeconf to take -lblas out of libs (the blas
library provided by the system is not a shared library), system was
built without any interruptions.
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
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
2017 Jul 31
0
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
Hi, everyone,
Before everything, thanks. Lots of thanks ;)!!!!
I don?t think you understood everything I need to do.
I want to write t_i instead of "Day in ICU? [i subscript for t] and y_ij instead of "CRP (mg/dL)? [ij superscript for y]. The label of the axis? :(
Can you help me on that task?
Thanks!!!!!
Best,
Rosa Oliveira
> On 31 Jul 2017, at 10:28, Martin Maechler
2017 Jul 31
0
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
Hi Rosa
something like
plot(1,1, sub=expression(lambda^"2"))
So with your example, do you want something like
plot(c(1:5), CRP7raw[1,], type = "n", xlim=c(1,5), ylim=c(-10,5) ,
xlab="Day in ICU",
ylab="CRP (mg/dL)",
sub = mtext(expression(lambda^2)))
CRP7graph <- apply(CRP7, 1, lines, col="gray")
Cheers
Petr
>