Displaying 20 results from an estimated 29 matches for "grimport".
2011 Jul 30
1
grImport symbols
Dear list,
I have two questions regarding grid.symbols() in the grImport package.
This package allows you to import a vector graphic in R, and
grid.symbols() can be used to plot the resulting glyph at arbitrary
locations in a grid viewport.
I have tried the code in the grImport vignette, which is most
interesting, however I am stuck with two problems:
1- Is there a po...
2012 Dec 28
1
Using grImport to create a watermark
Hi…
I want to use grImport to create a watermark on a plot() using the methods
Paul Murrell describes here:
http://cran.r-project.org/web/packages/grImport/vignettes/import.pdf (page
28). I can essentially reproduce this manually at the R prompt, and
independently I can use grid.picture(…) successfully in a R script, but
whe...
2011 Mar 27
1
grImport/ghostscript problems
Hi All:
I've been struggling for a while trying to get grImport up and running. I'm on a Windows 7 (home premium 64 bit) machine running R-2.12.2 along with GPL Ghostscript 9.01.
I've set my Windows PATH variable to point to the Ghostscript \bin and \lib directories, and I've created the R_GSCMD environment variable pointing to gswin32c.exe.
I don...
2007 Apr 15
1
mac ghostscript help
Hello R community,
I am hoping to use a new package that I just installed called
"grImport" to import ps images into R for further manipulation using
either base graphics or grid. I downloaded the most recent version
of Ghostscript from http://www.cs.wisc.edu/~ghost/ that I could find
(v.8.56) for Mac OSX. However, I am apparently quite ignorant about
how the required Ghost...
2008 Mar 03
2
insert vector image into a plot
How can I insert a vector image in svg or pdf format into a plot.
Basically i need the equivalent of what the 'pixmap' package does for
bitmap images.
Cheers,
Will Morris
2009 Nov 03
1
fill map with gradient: package?
Hi,
I'd like to fill an existing svg (or png) map with gradient colors.
In detail: The file
http://commons.wikimedia.org/wiki/File:Karte_%C3%96sterreich_Bundesl%C3%A4nder.svg
should be filled with the population density data from this table:
http://de.wikipedia.org/wiki/%C3%96sterreich#Verwaltungsgliederung
choosing the right color saturation (or whatever). The final result
should be something
2012 Jun 24
1
Error using PostScriptTrace()
I couldn't run PostScriptTrace() from the package "grImport" without an
error. At first the postscript program couldn't be found. however the
problem persisted after the full path the postscript program was indicated.
I read earlier post on the subject in vain. See the codes and output below.
The file "Senegal_location_map.ps" was origina...
2009 Nov 25
1
interior and exterior colors of a map
Hi useR's,
I have an image plot I want to overlay a map of the United States on, via
map('usa'). The image is basically a large rectangular of various colors.
When I overlay the United States map, the full rectangle of the image plot
is visible, but I only want to display the image WITHIN the United States
boundary.
Does anyone know a way to do this?
Thanks in advance,
dxc13
--
2009 Dec 30
2
Positioning plots on top of each other (aligment & borders)
Hello,
I want to place two plots on top of each other. However, the problem
is that I can't figure out a simple way to align them correctly. Is
there a way to specify this?
Since the data is bunch of coordinates and the second layer is an
outline of a map (a .ps file I import using the grImport package), I
suppose one option would be to specify a set of "artificial"
coordinates that make up the very corners of that plot, and then have
the second layer will this same space. Any ideas how to do this?
//John
2011 Sep 18
2
Add png image outside plot borders
I am trying to add a copyright disclaimer outside the plot borders of
some images I have created. I can use mtext() to add the written
portion, but I would like to have the Creative Commons license image
(http://en.wikipedia.org/wiki/File:Cc.logo.circle.svg) before the
text. I've found that I can plot a .png image inside the plot
boundaries using rasterImage() but I can't figure out how to
2012 May 22
2
package grid: mirror grob objects along an axis
Hi everyone
I'd like to flip grobs (grid graphical objects) along an axis, e.g. flip grobs
horizontally or vertically. I couldn't find any hints, neither in the
documentation nor by searching the web. Does anybody know how to achieve this?
Cheers
/thomas
2010 Oct 03
3
Include externally generated pdf in output (without Sweave)
Dear useRs,
I generated a simple image-based report using the sequence:
pdf(....)
plot(.....)
textplot( for short texts, from gplots)
dev.off()
Is there an easy way to include an single pdf-page from an external file
(not R generated).
Note: For final reports, I know how to use Sweave, but I am looking for a
quick solution with less overhead. Something like textplot() for pdf.
Dieter
2010 Mar 25
2
Insert .eps files in to an R plot.
Hello Everybody,
I have an eps figure an awesome bacteria and a plot (generated using R) also
in eps format. Now it looks like there is space for only one figure and I
have to insert the picture of the bacteria into the plot. Is there a way to
insert figures (eps/png/jpg) in to plots (may be control over placement of
figures in the plot as well?) ? By plots I mean data represented using axes
and
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.
2007 Feb 26
3
PLotting R graphics/symbols without user x-y scaling
Is it possible to add lines or other
user defined graphics
to a plot in R that does not depend on
the user scale for the plot?
For example I have a plot
plot(x,y)
and I want to add some graphic that is
scaled in inches or cm but I do not want the
graphic to change when the x-y scales are
changed - like a thermometer, scale bar or
other symbol -
How does one do this?
I want to build my own
2008 Jun 17
6
Insert raster image into an R graphic
Dear useRs:
Is there a way to include a raster image (e.g., .gif, .jpg, .bmp) representing
a company logo, a school logo, etc. into an R graphic? For example, it would be
nice to be able to include the logo of the school into the charts that a
student produces for her dissertation. Similarly, while working on a
competitive analysis, it would be nice to be able to replace the names of the
2010 Feb 23
1
How to change a venn command into a named object that can be plotted like a lattice object
Hello,
I am plotting data as a venn diagram but would like to be able to control how it is plotted like a lattice object.
Right now, it plots right away. I would like to name it and then plot at will.
I thought to convert the whole thing to a PostScript file then get it back into R via grImport, but surely (please!) there must be a less roundabout way to do this.
Any help is appreciated.
Here is my code:
# Wrapper function to draw Venn diagram
Venn2 <- function(set1, set2, names, title,...){
stopifnot( length(names) == 2)
# Form universe as union of both sets
universe <- so...
2007 Feb 20
2
Reading Post-Script files
Hi everybody!
Is there any way to read a postscrit file into R?
All the best to you
Ralf Finne
SYH University of Applied Sciences
Vasa Finland
2012 Feb 19
1
parse .ps files with R?
Hi,
Is there a way to parse a postscript (*.ps) file with R (or
perhaps with some other command-line utility)?
E.g., I have a map in postscript format with lots of
features, but I just want to extract the coastline and it's
coordinates.
Any help very much appreciated! Cheers!
Nick
--
====================================================
Nicholas J. Matzke
Ph.D. Candidate, Graduate
2009 Oct 14
2
Scatter plot using icons (from a gif) instaed of points - is it possible ?
Hello dear R-help group.
I wish to plot a scatter plot using icons (or images) instead of points.
Is it possible? and how so?
Thanks,
Tal
----------------------------------------------
My contact information:
Tal Galili
E-mail: Tal.Galili@gmail.com
Phone number: 972-52-7275845
FaceBook: Tal Galili
My Blogs:
http://www.talgalili.com (Web and general, Hebrew)
http://www.biostatistics.co.il