Displaying 20 results from an estimated 40000 matches similar to: "odot symbol as a subscript in axes labels"
2000 Mar 26
1
LaTeX labels
Is there a way to label axes with LaTeX commands like \frac{M}{M_{\odot}} or v_{\rm Cluster} (10^3 km s^{-1}) and have them come out looking right?
Please CC eford at princeton.edu.
Thanks,
--
Eric Ford eford at princeton.edu
http://www.princeton.edu/~eford/ eford at mad.scientist.edu
2008 Oct 15
1
ggplot2: sub/super-script axes labels
How are sub/superscripts designated for text in axis labels? As in
this y-axis label:
scale_y_continuous("Respiration, pmol O2 h-1")
where the "2" needs to be subscripted and the "-1" needs to be
superscripted.
Thanks.
Adam
---------------------------------------------------
Adam G. Marsh, Ph.D.
Associate Professor
Marine Biological Sciences
University of
2007 Jul 23
2
persp and greek symbols in the axes labels
Hello,
I am plotting a 3D function using persp and I would like to use greek
symbols in the axes labels.
I have found examples like this one on the web:
plot(0,0,xlab=expression(kappa[lambda]),ylab=substitute(paste(phi,"=",true,sigma),list(true=5)))
this works well with plot but not with persp:
with the command
persp(M,theta = -20,phi =
2009 Jun 15
1
reducing space between tickmark labels and axes labels
Hello,
Does anybody know if it is possible to reduce the spaces between axes labels and axes lables in boxplots? I am trying to fit several plots onto one page ( layout() ) and need to save as much space as possible. I have reduced margins (par(mar)),adjusted font size (cex) and tck, is there anything else I can do?
Thank you
[[alternative HTML version deleted]]
2006 Mar 04
1
Wireframe: Labels parallel to axes?
Hi,
I would like to have the labels parallel to the axes in my wireframe
(lattice) plot. Sure you can use ...xlab=list(label="x-axis",rot=30)
and for the z-axis this is easy (as rot=90), but for the x- and y-
axis the angle is not (always) quite clear (to me). Is there an
option that just rotates all three labels to be parallel to the
corresponding axes?
Thanks
marius
2002 Mar 12
1
Change axes labels in Lattice
Hello
I'm making a levelplot with frequencies in a 2*2 table with ordered factors. I get the plot I want, but axes draw the levels of the factor (1,2,3,4..) instead of
the desired labels.
Is there a way to alter this axes labels in lattice graphics?
Thanks for the reply
Oscar
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2010 Dec 19
1
Hershey fonts and substitute()
Hello R users,
I am new to R, so this may be a very stupid question. I need to
subscript the dotted circle (Hershey escape sequence "\\SO") to a
string. I tried using
text(.5,.5,substitute( R[disk] == 5 R["\\SO"] ) )
but it turns out to be a syntax error.
Do you have any suggestion?
Thanks
Gaetano
2008 Jan 07
4
Orientation of labels on axes
http://www.nabble.com/file/p14664173/at-modality.png
I created the above image with R and I have one problem left:
Some of the labels of the axes do not show up, probably because there's not
enough space.
I use the following code to create the plot:
modality <- read.table("results.table", header=TRUE, sep=",")
color <-
2008 Oct 25
0
increase symbol size in expression - axis label of a plot
Heja,
It took me a while to find a way of implementing normal text as
subscripted text in a expression followed by another expression and more
subscripted text :O)
It looks now as this:
ylab=expression(Delta^"+"~""[paste("my subscripted
text")]~">"~Delta^"+"~""[paste("my subscripted text")])
I use several par commands
2005 Aug 14
1
Labels on axes with log scales with lattice
I using lattice to make some plots and I want to make the y-axis on
some of these plots use a log scale. In the following plot:
x <- 1:10
y <- 2^x
xyplot(log10(y) ~ x)
I get tick marks on the y-axis at 0.5, 1.0, 1.5, 2.0, 2.5, and 3.0. I
would rather have just 3 tick marks at 1.0, 2.0, and 3.0 but labeled
10, 100, and 1000.
I know this can be done using the "at" and
2005 Dec 07
2
Change labels of x-axes in Plot of stl() function?
Hi all,
How can the label of the x-axes in the plot() of a stl.object be adapted?
e.g.,
When plotting: plot(stl(nottem, "per"))
In the labels of the x-axes is “time”. How can this be changed to e.g.,
“Time (dekade) “?
It does not work with xlab or others anymore…
Thanks,
Jan
_______________________________________________________________________
Ir. Jan Verbesselt
Research
2007 Oct 01
1
Graphics and LaTeX documents with the same font - multiple y-axes
Well,
I agree that plots with multiple y-axes can be very confusing but .... i am not sure that always they are also misleading .... One time i was asked to make a 2 y-axes plot, one y axes was for elevation (heights in meters) and one for rugosity (values between 1 and 2 - unitless). The idea was to visualize that for a more complex profile the rugosity is higher than for a flatter terrain. A
2002 Nov 15
1
lattice: formatting tickmark labels of log scaled axes
Problem:
How can I format tickmark labels of log scaled axes of lattice
graphics in the usual `xxx'-Format (and not in the scientific
format).
Example:
(according to the help-page of xyplot):
In the first plot I get the xxx-Format,
in the second plot I get the scientific format (10^xxx):
data(sunspot)
plot( 1:37, sunspot, log='y',type='l')
xyplot( sunspot ~ 1:37,
2003 Feb 26
1
plot as .ps file: where are the axes and labels gone
Sorry, I am sure, this must be documented somewhere (but there are that
many docs and tutorials to scan for topics..., actually a great thing...
but if you are in a hurry..):
I want to save a plot as .ps (or .eps):
> postscript("plot1.eps", horizontal=FALSE,
onefile=FALSE,height=8,width=8,pointsize=10)
> plot(hpfit$fit,rstudent(hpfit),xlab="Fitted
2011 May 12
2
Exporting interactive 3D plots with axes and labels
Hi,
I have a question about exporting interactive 3D plots. I use the following code to plot a contour of a trivariate normal distribution:
library(mvtnorm)
library(rgl)
library(misc3d)
n=25
x=seq(-3,3,length=n)
X=cbind(rep(x,each=n**2),rep(rep(x,each=n),n),rep(x,n**2))
p=array(dmvnorm(X,sigma=diag(3)*0.5+0.5),c(n,n,n))
contour3d(p,x,x,x,level=mean(p))
lim=c(-3,3)
2012 Mar 28
1
xyplot lattice fine control of axes limits and thick marks (with log scale)
After a long and winding road (sorry but I'm a novice) I get to a final
result which is quite close to what I need;
nevertheless I would like to tweak a little further the xyplot so that I can
get ***for each single panel defined by variable z*** a finer control over:
-the x and y the limits: I would like to be the same for both axes;
-the number of thick marks: again I would like to be same
2004 Oct 21
1
Arrow heads at the end of axes
I would like to have arrow heads at the end of my axes, since I am
plotting variable where the absolute amount is irrelevant, there is not
supposed to be numbers on the axes.
An imperfect example:
plot(rnorm(10),bty='l',xaxt='n',yaxt='n',ylab='',xlab='',type='l')
abline(h=0)
Like this but without, the xaxis and with arrrowheads
More like this in
2004 Oct 15
4
pdf device --- axes labels text disappeared?
Dear R Wizards: Running R 1.9.1. on amd64.
Promise<- c(0,20,40); Expect<- c(0, 20, 0.2*20+.8*40 );
# this omits printing numbers on the axes labels.
pdf(file = "bug.pdf" );
plot(Promise, Expect, type="b", ylim=c(0,60));
dev.off();
# this works
postscript(file = "bug.eps" );
plot(Promise, Expect, type="b", ylim=c(0,60));
dev.off();
apologies if
2011 Feb 04
1
Adding axes label to image
Dear all,
Using the code I got from the link (
http://www.phaget4.org/R/image_matrix.html), I obtained a nice plot that
suits me. However, adding axes labels proved difficult for me . I have
succeeded in adding a few things to the plot function so as to get what a
better plot. Other things work but ylab="days" did not reflect.
It will be great if somebody can advice on how to add axes
2011 Jul 21
3
R versions and PostScript files
Dear R users,
I have a desktop computer and a laptop, both of them with Ubuntu Lucid. The
former has R2.10 installed from Ubuntu repositories (this is the most recent
version in the repositories), while the latter has R2.13 from the CRAN
repositories.
I noticed that postscript files generated with R2.10 are "better" than
files generated with the latest release of R, in particular for