similar to: How to get special (Hershey) font symbols into plot axis labels?

Displaying 20 results from an estimated 8000 matches similar to: "How to get special (Hershey) font symbols into plot axis labels?"

2005 Jul 26
1
problem with Hershey fonts
This was reported to me by a colleague in China, so I may not be reproducing exactly what they are seeing (which I suspect is rw2011), but this is what I see: > version _ platform i386--netbsdelf arch i386 os netbsdelf system i386, netbsdelf status major 2 minor 1.1 year 2005 month 06 day 20 language R > help(Hershey) : : If the 'vfont' argument
2013 Jul 01
1
Male and female signs as subscript in plot
Hello, I'd like to add labels to my plot that include a male or female symbol as subscript. I'm working in Windows Vista and R 3.0.0. I am able to add the male symbol to the plot as regular text (NOT as subscript), e.g. with: mtext("Male\u2642") This displays the word "Male" followed by the male symbol on the plot. But "\u2642" does not work when I try to
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
2005 May 24
1
How to get special (Hershey) font symbols into plot axis labels? [Revisited]
Dear R users, I would like to use sub- and super-script in axis labels. I assume this is best done using Hershey symbols. When trying to find information on using Hershey font symbols in axis labels, I came across the following discussion thread: http://maths.newcastle.edu.au/~rking/R/help/02a/1857.html Have Hershey font implementations moved on since then? Thanks, Sander. --
2001 Nov 19
1
Symbol escape sequence in xlab
I would like to label an x-axis with the nabla symbol. I have tried this with the following symbol escape sequence plot(1:5, 1:5, xlab=""); title(xlab="\\dl", vfont=c("serif symbol", "plain")) but I got the warning message parameter "vfont" couldn't be set in high-level plot() function Is it possible to use a symbol escape
2006 May 12
1
X11 and vfonts modules on AIX 5.2
I am trying to get R-2.2.1 to pass make check on an AIX 5.2 at work (I know R-2.2.1 is not the latest release, but I encountered make errors in my attempts to install either R-2.3.0 or the R-patched_2006-05-10 on the version of AIX I am on. I will post those errors in a separate posting from this.) So far, configure and make finish without error for R-2.2.1 using gnu make, gcc-4.1.0, and
2004 Sep 16
4
FW: How do I insert a newline in my title in a plot?
yes I have tries, and nothing. It just shows the strings with the slashn, just like i typed it. -----Original Message----- From: Rashid Nassar [mailto:rnassar at duke.edu] Sent: ÐÝì?ôç, 16 Óå?ôåìâñßïõ 2004 15:44 To: Christos Rodopoulos Subject: Re: [R] How do I insert a newline in my title in a plot? Have you not tried what you have already suggested: title("this is a title\nIn 2
2007 Apr 28
3
Perpendicular symbol in plotmath?
Hey, Does anyone know of an equivalent to the LaTeX \perp (perpendicular) symbol for adding to R plots? Parallel is easy enough ("||"), but I haven't been able to find a way of adding perpendicular. The plotmath documentation doesn't mention how to do it, so I'm inclined to think that it doesn't exist - but surely there must be some way of achieving the desired result,
2010 Aug 04
2
French accents on characters
Hello Could someone please direct me to the correct commands for adding accents (grave and aigu) to a letter in a plot title, label, or in added text? I'm sure there's a handy list somewhere, but I've failed in coming up with the correct search words to find it. Thank you muchly! Jen
2005 Jun 15
3
how to plot density distribution with a arrow pointer?
Hi all, for example: > X<- rnorm(1000) > X0 <- 0.899 I want to draw a density distribution plot with a arrow pointer indicating the position of X0, meanwhile, giving out the p-value. any functions? Thanks very much.
2005 Feb 02
3
postscript symbols?
dear R wizards: is it possible to use a postscript font symbol as a plot symbol? in particular, I want to use the four postscript symbols for playing cards (club, heart, spade, diamond) as points. In LaTeX, these four are \Pisymbol{psy}{"A7} \Pisymbol{psy}{"A8} \Pisymbol{psy}{"A9} \Pisymbol{psy}{"A10} and what I would love to do is place them, at say, (x=1,y=1),
2007 Jul 28
1
text() and vector arguments like adj
Hello, I remarked that the function ## Default S3 method: text (x, y = NULL, labels = seq(along = x), adj = NULL,pos = NULL, offset = 0.5, vfont = NULL,cex = 1, col = NULL, font = NULL, ...) accepts vectors of arguments (of the same length) except for the parameter adj. When passing a vector of information for adjusting the labels, only the first value is taken. Any special reason for this ?
2006 Mar 05
2
plotting partial deriviatives
Dear R Helpers: I am trying to annotate a plot. The following code snippet works, but it is kind of a kludge since it adds the partial derivative symbols after creating the plotmath frac(). Is there a more elegant way to write a partial derivative? dev.off() plot(NA, xlim=c(-3,3), ylim=c(0,1.6), xlab="", ylab="", tck=-0.015) text(1.6, 1, expression(paste("slope =
2010 Apr 19
1
How to embed italic Greek letters in a eps file?
Hi, I need to add on a plot text containing italic Greek characters using the function mtext (i.e. I cannot use Hershey vectors). The characters are nicely displayed when the file is saved as png but not when saved as eps. See code below as example: #postscript('test.eps') png('test.png') plot(1,1, type = 'n') mtext(side = 3, line = 2,
2010 Jan 15
1
What is the newline escape sequence when using the Hershey fontfamily?
Hello! The question is simple: What is the escape sequence for a new line when using Hershey fonts? I obviously tried '\n' but it didn't work (see the sample below). I looked at 'demo(Hershey)' but all it only shows escape sequences for printable characters. The sample I've been using to try to find the escape sequence is below. You can comment or un-comment the
2003 Dec 14
1
contour() should handle the asp parameter
Hi all, To my knowledge, the current version of contour.default() does not handle the 'asp' parameter. This can be embarassing when displaying eg geographical maps, etc... Submitted to the opinion of more experienced R programmers, contour.defaut() function should be changed according to the followings: line 7: add = FALSE,asp=NA,...) line 33: plot.window(xlim, ylim,
2007 Jan 03
2
Hershey fonts for musical notation?
Hi, I'd like to know if it is possible to use Hershey vector fonts to create very primitive musical notation. If I can hang some whole notes on these lines X11() plot(0,0, xlim=c(0,10), ylim=c(0,10)) # Staves: for (i in c(seq(from=2,to=2.8,by=0.2),seq(from=4,to=4.8,by=0.2))) { abline(h=i) } it is enough. Best wishes, Atte Tenkanen University of Turku, Finland
2000 Oct 04
1
Hershey Fonts, PNG, SVG, .. graphics formats
I wonder if we couldn't just use the PNG , SVG, support from the GNU plotutils from which we already have the Hershey scalable vector fonts [-> help(Hershey)] The new plotutils (July 2000) do support these (and will probably even better in the future, i.e., we can build on others people free software. Paul [who built "Hershey" into R], do you think this path is worth pursuing?
2017 Aug 14
1
Some Unicode symbols are missing
Hi, I would like to draw some Unicode symbols like G- and f-clefs (used in music notation) in quartz-window. I succeed in producing sharp #,: plot(0,0,xlim=c(0,2),ylim=c(0,2)) points(1,1, pch="\u266F",cex=2) But for instance "b" (flat accidental) u266D and those clefs doesn't work. G-clef is said to be UTF-8: F0 9D 84 9E UTF-16: D834 DD1E Code point: U+1D11E I have
2004 Sep 13
1
How to show the symbol of Angstrom ?
Also, I am wondering if there is any source where the expressions of many symbols are collected. Thanks you very much!!! Li, Xiang(Sean)