Displaying 20 results from an estimated 95 matches for "hershey".
2005 Jul 26
1
problem with Hershey fonts
...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 to one of the text-drawing functions
('text', 'mtext', 'title', 'axis', and 'contour') is a character
vector of length 2, Hershey vector fonts are used to render the
text.
:
The other usefu...
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...
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...
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
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?
>From http://www.g...
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)
>text(4,8,"\\SO",vfont=c("serif","plain"))
That works fine; however, trying to get the symbol into a plot label
with a call like this:
>plot(Bin...
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...
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 ma...
2004 Sep 16
4
FW: How do I insert a newline in my title in a plot?
...hat you have already suggested:
title("this is a title\nIn 2 lines")
?
On Thu, 16 Sep 2004, Christos Rodopoulos wrote:
> Hello, I want to help me with a simple I think question: How do I insert
a
> newline into the title of a plot I have made?
>
> Is it only done with hershey fonts? vfont = ??? and so on? I do not
> understand Hershey fonts, and I am afraid to use them, since I use greek
> fonts (iso8859-7).
>
> I need propably something like: title("This is a title\nIn 2 lines");
>
> any help?
>
> ____________________________________...
2000 Feb 08
1
DEC cc doesn't like c++ comments (PR#416)
...+ ./src/main/g_cntrlify.c Mon Feb 7 14:49:40 2000
@@ -59,7 +59,7 @@
/* PAUL MURRELL
sys-defines.h not used
*/
-// #include "sys-defines.h"
+/* #include "sys-defines.h" */
/* PAUL MURRELL
extern.h renamed g_extern.h
@@ -209,7 +209,7 @@
/* if current font is Hershey, first try to match each ligature
pattern (no ligatures supported in non-Hershey fonts) */
- if (1) // _plotter->drawstate->font_type == F_HERSHEY)
+ if (1) /* _plotter->drawstate->font_type == F_HERSHEY) */
{
int i;
bool matched = false;
@@ -235,7 +235,7 @...
2000 Jul 03
1
How to specify fonts
...lus, 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 spacing, with subscripts and Hershey vector
fonts. Is that possible? The help for text() or par() does not make
it clear to me. Other ideas greatly appreciated.
Thanks
--
*************************************...
2004 Feb 04
2
Latin 2 encoding + fonts
...ical) output in Windows and just graphical output in
Linux.
I guess it is possible but I did not find the way.
How can I use the fonts (*.afm) and the (presumably) encondings (*.enc) in
R/rw1081/afm? How do I know what are the real font names. Are those only the
ones listed in the man page for Hershey?
Thanks, Miha
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,
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
2002 Mar 05
1
special characters/symbols
Hi,
Is there a way to print special characters (such as the IPA symbols) on plots?
Thanks,
g
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
2010 Jan 12
2
Placing eps files from R into Adobe InDesign documents: specifying fontfamily
...fault R font, Helvetica, with a fontfamily
that looks like Courier, which significantly changes the physical length of
each character string and disrupts the spacing and justification of titles,
captions, and axis labels.
The way I solved this problem is:
1. When you execute a graph in R, use the Hershey family of fonts. I
particulary like HersheySans. You can specify the fontfamily for axes and
strips and titles as shown in the example below.
2. Export the file in eps by right-clicking the on-screen display and
selecting 'save as postscript'.
3. Place the file in InDesign using the usu...
2006 May 03
1
demo() output looks garbled in default pager (less and most)
...erties of R objects and
is.FOO() functions. Not for newbies!
recursion Using recursion for adaptive integration
scoping An illustration of lexical scoping.
Demos in package <E2><80><98>graphics<E2><80><99>:
Hershey Tables of the characters in the Hershey vector
fonts
Japanese Tables of the Japanese characters in the
Hershey vector fonts
graphics A show of some of R's graphics capabilities
image...
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),
2000 Jul 17
3
Fonts and Line widths
...t....
which it swallows without any complaints...it just doesn't seem to
change anything, either on the screen or when printed out.
Second problem, I find that the text quality when I export to a PNG
file is pretty bad...not good enough for publication.
I thought that I might be able to get HErshey fonts to improve
this...but can't get them to work.
Final question: I cannot get R to swallow the addition of
a font.lab(xxx,xxx) statement in the boxplot function......how do I
get it to use Sans Serif, and produce high quality output? How do I use the
font.lab command and the related...