Displaying 20 results from an estimated 300 matches similar to: "Problem using mtext to write onto a jpeg"
2009 Apr 06
0
mtext problem - grainy and massive file size
Hi Team,
I'm on a mac, 0SX 10.5.6, R 2.7.2.
I consistently make pairs plots and use mtext() to put labels on top of the
plot in the outer margin. All of a sudden, this text has become really
grainy in the final product and is making huge files. I have no idea why
this has just started happening. The only thing I've done lately is install
the new version of GIMP and run the script to
2011 Nov 02
1
HOW TO REMOVE MTEXT FROM PLOT, plotting changing populations with titles in loop
is there a way to hide/undraw mtext (or lines etc.) in a loop like
plot(runif(10))
iterCol <- rainbowPalette(10)
for(i in 1:10){
mtext(paste("this is iteration ", i, sep=""))
points(runif(10),col=iterCol[i])
Sys.sleep(1)
## UNDRAW/HIDE the text so that it does not mess up the plot in the next
iteration
}
--
View this message in context:
2002 Jul 15
1
mtext
Is there some way to make mtext horizontal along the vertical axis? Can I
use mtext numerous times for one graph (created using symbols(...)) so that
at the right of each graph there is a list of numbers along the axis?
I have two graphs on the same page and would like to have a list of
identifying numbers next to each circle of the graph.
Does anyone know of a way to do this?
Thanks,
K
2006 Feb 08
2
rotating axis / mtext labels
Hello list.
Is it possible to use par(srt=45) to rotate text by 45 degrees along the
x-axis of a plot. Using:
<code>
x_names<-c("C57 Nv", "C57 Vacc", "129 Nv", "129 Vacc", "IFNgR Nv", "IFNgR Vacc")
par(srt=45)
mtext(font=2, x_names, side=1, line=1, at=l, cex=1.2)
par(srt=0)
</code>
doesn't seem to work in R 2.2.0
2001 Mar 06
0
mtext: expressions in bold font
Hi, all.
I'm using mtext to put some labels in figure margins. Several of these
labels are expressions, created with substitute:
mtext(substitute(h[x](t), list(x = paste("n", 1, sep = ","))), cex = 2,
font = 2, side = 4, line = 1, las = 1)
I'm using this to get the subscripting (perhaps there's a better way to do
that?).
The problem is that the font argument
1998 Feb 04
1
R-beta: Functionality of tck=1, and mtext()
In the version of R that I am running I have found two advertised
features that don't appear to work correctly:
Version 0.61.0 Alpha (December 21, 1997)
(installed using r-base-0.61.0-2.i386.rpm)
1. mtext adj parameter is seriously offset to the right. For example:
> par(oma=c(0,0,3,0))
> mtext("Try this", side=3, outer=T) # nothing is observed on x11
> mtext("Now
2009 Jun 22
2
New line operator in mtext
Dear R Users,
I'm finding that when I execute the following bit of code, that the new line argument is actually displayed as text in the graphics device. How do I avoid this happening?
mtext(side=2, line=5.5, expression(paste("Monthly Summed Runoff (mm/month)", "/n", "and Summed Monthly Precipitation (mm x ",10^2,"/month)")))
I suspect that I've
2010 Apr 08
0
Problem with mtext
Dear list
I am experiencing a very annoying problem with mtext, although I have
been using this command for many years. The following code prints
"test" twice in the outer margin, once at .7 where it should be, and
once at the bottom somewhere. I also notice that the command takes
longer than normal to execute, and it seems to overprint many times.
Can anyone reproduce this?
2010 Jun 22
1
Warped Text in mtext in a Quartz-Window
Hello,
With one procedure, I get a strangely warped text in the mtext-area of a quartz-window, while with an other the text comes out OK - see attached PDF.
(Number of Trials is the x-Axis label, which always comes out OK)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Warped Text.pdf
Type: application/pdf
Size: 24420 bytes
Desc: not available
URL:
2000 Aug 22
1
adj parameter in mtext
I am trying to adjust the sigma symbol down in the y direction with
the following command but R recycles the sigma and puts another at
-0.1 in the x axis.
Any suggestions would be appreciated.
mtext(expression(sigma),1,outer=TRUE,adj=c(0.5,-0.1))
Regards
Ross Darnell
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
1999 Nov 23
1
"outer" argument in mtext (PR#340)
mtext(..., outer = TRUE) does not seem to center the text in the outer
margins as it did previously. Reproduce with
example(plot.profile.nls, package = "nls")
On versions of the development sources before November 17 this
produced main and subtitles that were centered horizontally on the
page. After that the main title (from mtext("..", side = 3, outer = TRUE))
is centered
2001 Jan 24
0
adjustment of expressions with mtext(..., las=2) (PR#823)
[Subject renamed for bug report]
Don Wingate wrote:
[...]
> For example:
>
> math.names.text <- c("x1^2", "x2^2", "x2%*%x3) # in actual use,
> dynamically created.
> math.expressions <- parse(text=math.names.text)
> dotplot(1:3, labels=math.expressions)
[...]
> By the way, I notice that when using math expressions as
2001 Aug 02
1
mtext and srt
Hello:
I am trying to get some text at an angle in the margins of a plot. I was
accustomed under older versions of Splus to using srt in the mtext command,
but that seems not to work under R,
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 3.0
2005 Jun 03
2
Lattice xyplot -- footnote font size / mtext
Is there a way of controlling the font size and alignment of a footnote
in an xyplot, or alternatively of using 'mtext' to place a footnote at
the bottom of a graph?
--Rich
Richard Kittler
Advanced Micro Devices, Inc.
Sunnyvale, CA
2005 Jul 04
1
Colors in mtext
I want to assign different colors to different strings using
mtext(...). However, when I use something like
mtext(text=c("string1","string2","string3"),
col=c("black","blue","red"), side=3, line=0)
string2 and string3 are printed over string1. When I use
paste("string1","string2","string3"), the series
2005 Nov 29
1
help combining mtext and strwrap?
Hi all,
I've got some image plots on which I'd like to include some gene information
(in the margins using mtext). Unfortunately, the description is rather long
and will need to be wrapped to fit on several lines. From what I know about
mtext, it's really only meant for single-line labels, not paragraphs.
Here's some sample code of the idea I'm trying to accomplish:
2006 Jun 27
1
rotate text using mtext
Hello,
I wish to write a label to the right-hand side of a plot (side=4) using
mtext, with the text facing inwards - that is, rotated 180 degrees from the
default orientation. How might I do this? (I've tried experimenting with
las but no luck.)
Thanks,
Rashmi
Rashmi Mathur
Master's Candidate
Fisheries Science and Management Research Group
School of Resource and Environmental
2007 Feb 24
1
Bold Substring in mtext (newbie question)
Hi everyone,
I suspect this is an easy task however I've not been able to accomplish it. I'd like to create an mtext title which has certain words bold, the rest not bold. So far I've been able to create one which is all bold, one which is all not bold and one which has bold and not bold superimposed on one another. Any suggestion would be appreciated.
Many thanks,
Joe Retzer
# Not
2007 Feb 24
1
mtext bold font problem
Hi everyone,
I suspect this is an easy task however I've not been able to accomplish it. I'd like to create an mtext title which has certain words bold, the rest not bold. So far I've been able to create one which is all bold, one which is all not bold and one which has bold and not bold superimposed on one another. Any suggestion would be appreciated.
Many thanks,
Joe Retzer
# Not
2007 Mar 23
1
using "\t" in mtext
Hi,
Using tab spaces in mtext e.g.
> mtext("\t")
little squares are plotted. Is there a way to use "\t" without getting
squares displayed?
Thanks
Thomas
[[alternative HTML version deleted]]