Displaying 20 results from an estimated 5000 matches similar to: "Hershey Fonts, PNG, SVG, .. graphics formats"
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
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
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.
--
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:
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)
2009 Jun 15
1
display SVG, PNG, GIF, JPEG, TIFF, PPM in new plot frame
Dear R-help
I want to display an image file in a new plot frame.
SVG is my preferred format, but I can also consider
PNG, GIF, JPEG, TIFF, and PPM (from ImageMagick).
By way of background (although not material to this
posting), the image file is generated by a call to
'dot' (part of the 'Graphviz' suite) after the required
.dot file has been produced using hand-crafted R code.
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
2007 May 28
1
svg as a spescial case for image
SVG starts to become more useful in browsers like Firefox, OmniWeb,
Opera and soon Safari. There is a couple problem. Since no browser
support svg embedded with img one need to fall back to html from:
<object data="/path/to/img.svg" type="image/svg+xml"
width="512" height="384">Alt text</object>
Second, one need to write the width
2006 Mar 27
2
svg image link
the link_to command is really nice, especially with confirm built in -
wondering if there is a way to use it with SVG images since SVG doesn''t
seem to work with image_tag
I can display svg images (in Firefox) with the following code:
<embed width=32 height=32 src="/images/quit.svg"
type="image/svg+xml"></embed>
"normal" link_to code:
2019 Jun 19
3
point size in svg
Hello, All:
????? I'm unable to control the font size in plots to svg.? Consider
the following:
svg('cex-svg.svg')
cex. <- 5
plot(1:2, cex.axis=cex.)
text(1:2, 1:2, c('as', 'DF'),
????????? cex=cex.)
dev.off()
????? When I open this in Gimp 2.10.4, the font size is tiny.? I also
tried:
svg('cex-svg.svg', width=15, height=15, pointsize=24)
cex.
2010 Sep 29
1
svg plot and dashed lines
Dear users,
When I boxplot(), the lines of the whiskers are dashed. However, when I
save in an svg file, the dashed lines of the whiskers are not dashed
anymore.
How can I have the dashed lines in the svg file?
I don't have this problem with a ps file, but I cannot edit such file as
easily as an svg file. That's why I'd like to stick to the svg format.
Thanks in advance,
Ivan
df
2011 Mar 14
2
svg malformed on CentOS (epel R)
There is an issue with the default svg device on a centos workstation that I
am using. It does not result in an error, but it produces malformed svg
images. Exactly the same script works just fine on an ubuntu box. On Ubuntu
I am using R binary that comes with maverick, on centos I am using the
latest R binary from EPEL. Other than that both boxes are pretty clean, with
only the dependencies
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
2009 Jan 21
1
Italics in svg output display as bold (PR#13463)
Full_Name: Yan Wong
Version: 2.8.1
OS: Mac OS X 10.4
Submission from: (NULL) (78.149.167.246)
When printing a plot to and svg file, text intended to be in italics is rendered
in bold (svg file viewed using both Safari 3.2.1 and Firefox 2.0.0.9.
For example, try viewing the test.svg file generated by
svg("test.svg", width=4,4,8)
plot.new();
2009 Jul 31
1
SVG output on Windows OS
How may one save a graphic as svg on Windows? The svg() command is
recognized and functions well on Linux, etc., but not on Windows, it seems.
I'm trying to use Hadley Wickam's ggplot2 and I would like to be able to
save created charts as svg for later input into Illustrator. I am able to
accomplish this workflow under Linux, but I don't know how to get R to
recognize the svg() command
2023 Mar 07
1
insert hyperlink into svg graphic
This was actually the first thing that ChatGPT debugged for me.
The issue was that I was able to click on the link when I displayed the raw SVG in the browser (you can use that to test whether the syntax is even correct), but not when the svg displays inside a html page with the <img ...> tag.
ChatGPT correctly identified the issue and suggested a solution using <object ...> tags
2006 Mar 17
6
SVG showstopper
We seem unable to get SVG running under Rails with apparent memory
conflicts between the SVG xml object and parameters. For us, unless we
can get SVG running okay under Rails, it is a showstopper for us to use
Rails.
There seem to be only 2 examples out there for SVG, the graph project
that actually converts SVG to another image format (way too
cumbersome/unworkable for our needs) and the
2011 May 19
2
Error in svg() : cairo-based devices are not supported on this build
Hello,
Sorry if it is not the right place..
I installed R-2.13.0 on a x86_64 linux server.
All went fine, but the svg() function yells:
> svg()
Error in svg() : cairo-based devices are not supported on this build
I have the Cairo, cairoDevice, RSvgDevice packages installed, and running.
> Cairo.capabilities()
png jpeg tiff pdf svg ps x11 win
TRUE TRUE TRUE TRUE TRUE
2023 Mar 07
2
insert hyperlink into svg graphic
Perhaps this thread on stackoverflow (from a search on "include hyperlink
in svg graphic") may be of use:
https://stackoverflow.com/questions/41970535/a-hyperlink-in-svg-use
Cheers,
Bert
On Tue, Mar 7, 2023 at 12:34?AM Rusty Travis <rusytravis19 at gmail.com> wrote:
> Greetings,
>
> I am creating plots of weather data and wish to include a link to the
> data source