similar to: problem with Hershey fonts

Displaying 20 results from an estimated 3000 matches similar to: "problem with Hershey fonts"

2002 Mar 12
2
How to get special (Hershey) font symbols into plot axis labels?
Dear R experts- I'm running R 1.2.3 (2001-04-26) on Linux. I need to get special symbols, such as a circle with a dot in it as used to indicate Solar units in astronomy, into my plot axis labels. How can I do this? Using the R documentation on the Hershey font sets, one can plot a Solar symbol within the world coordinates of a plot like this: >plot(1:10,1:10)
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
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
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 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?
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
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. --
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
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
2011 Oct 25
1
R fails when converting units using Hershey-Fonts
I run into some problems when trying to convert units using Hershey-Fonts: R chrashes. > library(grid) > label <- "some text" > pushViewport(viewport(gp=gpar(fontfamily="HersheySerif"))) > convertHeight(stringHeight(label), unitTo="mm") *** caught segfault *** address 0xadc838f8, cause 'memory not mapped' Traceback: 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 ?
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.
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,
2008 Jan 22
1
Hershey Felder, The Secrets About Musical Instruments And Physics
Hershey Felder, The Secrets About Musical Instruments And Physics Every sound produced by a musical instrument has a physical explication, the way instruments are created and the type of materials that are used define in a unique way the resulting sound. The sound wave is a transfer of energy that doesn't imply matter. Within a more theoretical approach sounds are Mechanical Longitudinal
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 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 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
2000 Jul 03
1
How to specify fonts
In Splus, if I wanted to use Bookman-Demi instead of the default Helvetica, I would specify font = 18 as a graphical parameter for a postscript printer. In R it seems font can take only the values 1 to 4 which change only the style but it's still Helvetica. There's some great flexibility using Hershey vector fonts, but it appears they are all mono-spaced. I wish to use proportional
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),