Displaying 20 results from an estimated 1000 matches similar to: "mtext coordinates"
2009 Jan 14
4
How to get legend outside of plot?
I am creating a CDF plot function more user-friendly than any default r
function. Depending upon the bimodality of the data (it is often bimodal),
or any other strange data trends, the points can end up gathering in just
about any corner of the plot. So, when I add a legend, whether I choose to
add it in the bottom right, top left, or wherever, it will sometimes end up
putting the legend right
2012 Oct 18
1
legend of maps generated by function symbols
I generated maps with the function symbols (graphics). These are basic
maps generated with :
symbols(x,y,circles=myvariable)
where x et y are spatial coordinates corresponding to replicates of
"myvariable".
I would associate legend to this kind of maps, is it possible?
Regards,
Marion.
--
Marion Jacquot
Laboratoire de Chrono-environnement
UMR UFC/CNRS 6249 USC INRA
Universit? de
2013 Jan 22
1
how to give a lengend in symbols functions
hi Rusers
I am trying to use symbos in gtools package
symbols(data1,data3,circle=data1/data3,inches=0.1,bg="lightgreen")
Now I want to give a lengend to tell the reader the meaning or magnitude of
these circle.
How can I add these information in symbols plot just like legend in plot ?
thank you .
--
TANG Jie
Email: totangjie@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon
2010 Oct 07
2
text/mtext axis labels on graphs
Hello everyone
I have problem with axis labels on graphs, I have my code as below:
plot(0,0,xlim=c(1,ncol(PA)),ylim=c(1,nrow(PA)),main="Stratigraphic
Range",xlab="Time
Bins",ylab="Taxa",cex.axis=1.5,cex.lab=2,cex.main=2.5,mgp=c(5,1.5,0),xaxt="n")
text(1:(length(strat_name)), y= 0, adj=1,
srt=45,labels=strat_name,xpd=TRUE, cex=1) #adds text to x
2009 Aug 12
3
How to label and unlabel points on scatterplot with mouse pointer
Dear all,
How can I label/unlabel points on scatterplot with mouse pointer. As the
mouse approches near to point, it should label the closest point, then
unlabel when it moves away.
How can I do in R? I be very thankful.
Thanks and Regards,
Hitesh Singla
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
2009 Oct 02
3
plot scale
Hi,
Is there a way to set the scale of a plot (i.e. number of axis units
per centimeter) when you output it to postscript? If not, how am I
supposed to plot graphs with different axis limits to the same scale?
They just get resized to fit the paper so that graphs which show a
smaller number of axis units end up with a larger scale.
Cheers,
Ben
--
Dr. Ben Kenward
Department of Psychology,
2008 Sep 04
2
Adding a legend to R graph device with several plots (no to individual plots!)
Dear Users, I already posted this question: it either went unnoticed,
or it is to basic (if this is so, please sent me a hint).
I would like to know if there is a way to add a common
legend to an arrangement of plots. In the example below, I get four
plots in my device. each one has a density for 1995 and one for 2006.
I have found that using legend or smartlegend I can add a legend to
each plot,
2009 Mar 05
3
text at the upper left corner outside of the plot region
Hi,
is there a way to place text at the upper left corner (or another
corner) of the plot?
I want to place it really at the upper left corner of the whole plot
(the file I get),
not at the upper left corner of the plot-region.
I tried text() and mtext(), and corner.label() of the plotrix package
but it didn't work out.
thanks!
2009 Feb 22
3
line joining graphs
hi,
I need to draw a line joining graphs,but abline stops within a graph.What do
i do to cover portions between two graphs
--
Rajesh.J
[[alternative HTML version deleted]]
2013 Mar 07
1
what is absolute size of mar
Hi R users,
The margin parameter mar is measured in unit of lines, the size of which is
automatically adjusted during plotting. I am wondering how can get the size
of a line and how can I control the margin size by controlling the line
size? (I know I can use mai to control the absolute size of margin, but in
some situations that parameter does not exist. For example, heatmap() only
accept mar as
2013 Jan 20
2
"user units" in plotrix
hi all - i'm having some difficulty figuring out how to convert
between "user units" (which i can't find a definition for in the
plotrix package) and either (a) device units (e.g. inches with PDFs)
or (b) user coordinates along any particular axis.
as an example, suppose i set up a PDF device with inches, the device
has both outer and inner magins, and the plot region has
2010 Jul 09
3
Plotting text in existing plot?
I would like to plot some text in a existing plot graph. Is there a
very simple way to do that. It does not need to be pretty at all (just
maybe a way to center it or define a position within the plot). ( ? )
Ralf
2008 Sep 01
2
Text
Hello,
I would like to place some text that should appear in the same position
of the graphic device, preferably outside the plotting area, regardless
the x and y axes limits. How can I do this?
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vall?s- SPAIN
2010 Apr 22
2
legend problem
Dear R users,
I have been plotting several graphics in only one page. I intend to plot
only one legend in each page.
Since the graphics are inside a loop I have to do it automatically.
The main problem is that inside the loop I work with differente types of
variables, I mean , the range is different for each one.
I have already tried :
par(xpd=TRUE)
pos<-par("usr")
2009 May 27
3
Axis label spanning multiple plots
Hello
I need to plot 3 graphs in a single column; the top two plots have the
same title, and I would like it to be written only once, centered
horizontally and spanning the two plots. Something like
t +------------+
| |
i | |
| |
t +------------+
l +------------+
| |
e | |
| |
1 +------------+
t
2008 Sep 19
2
plot order in multi-panel figure
Hi,
Does anyone know if there is a way to 'reset the plot number' on a traditional graphics device?
For instance, I want to have two plots on stacked top of each other (mfrow=c(2,1)) but with underlying grid lines spanning both figures vertically. I can put the grid lines on top if I add them last:
par(mfrow=c(2,1))
plot.new()
plot.window(c(0,1),c(0,1))
for( i in 1:2) axis(i)
2009 Apr 16
3
segment between points on different plots
Hi,
I need to draw a line segment between two points on different plots in the
same multigraph.I've tried looking at the zoominplot function in plotrix but
havent understood much.any help is appreciated
~Aks
[[alternative HTML version deleted]]
2013 Sep 04
5
5.10 regression (from 5.01) MENU INCLUDE broken.
Hello,
Long story short, example config:
### cut
UI vesamenu.c32
MENU TITLE Multiboot USB
MENU BACKGROUND #00000000
MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel 37;44 #50ffffff #a0000000 std
MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
MENU BEGIN
MENU TITLE System Rescue CD 2.4.1
INCLUDE sysrcd-2.4.1.conf
MENU END
MENU BEGIN
MENU TITLE
2008 Jul 21
3
Lattice Version of grconvertX or variant on panel.text?
Still playing with Lattice...
I want to use panel.text(x, y etc) but with x and y in plot coordinates
(0,1), not user coordinates.
I think if I had this problem with traditional graphics, I could use
grconvertX to make the change. I did come across convertX {grid} but this
doesn't seem to be what I need.
Is there a function like grconvertX in Lattice, or is there a flag or some
other
2008 Oct 23
3
xy.coords in text
Hello,
I want to add text annotation about correlation on "pairs" plots. I
found that I could pass a function to the "panel" argument of pairs :
panel.annot <- function(x, y, ...) {
points(x, y, ...)
c <- cor.test(x, y)
legend("topleft", legend=substitute(rho == r, list(r=sprintf("%.2f",
c$estimate))), bty="n")
}
And then :