Displaying 9 results from an estimated 9 matches for "postscripttrac".
Did you mean:
postscripttrace
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 "Senega...
2007 Apr 15
1
mac ghostscript help
...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 Ghostscript software works.
When I run PostScriptTrace after loading the grImport package, I get
this response:
> PostScriptTrace("/Users/erinberryman/Documents/data.ps")
Error in PostScriptTrace("/Users/erinberryman/Documents/data.ps") :
status 256 in running command 'gs -q -dBATCH -dNOPAUSE -
sDEVICE=pswrite -sOutpu...
2011 Mar 27
1
grImport/ghostscript problems
...ted the R_GSCMD environment variable pointing to gswin32c.exe.
I don't have any experience with Ghostscript, but with the setup described above I can view the postscript file with the following command to the Windows command prompt: gswin32c.exe D:\Sndbx\vasarely.ps
However, I can't get the PostScriptTrace() function to work on the same file. Submitting PostScriptTrace("D:/Sndbx/vasarely.ps") gives me the error:
Error in PostScriptTrace("D:/Sndbx/vasarely.ps") : status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE -sDEVICE=pswrite -sOutputFile=C:\Users\Al\AppDa...
2010 Jul 30
1
Reading .eps file created in Illustrator
Hello,
I am trying to import an .eps file created with Adobe Illustrator and
plot it in a Quartz window (I am using R 2.11.1 GUI 1.34 Leopard build
32-bit (5589) on MacOSx.5.8).
I thought of using the PostScriptTrace() to convert my .eps file to
RGML, and then use readPicture to plot the file, but the first step
already fails (cf below).
I also had a look at the add.image( ) example, which does work on my
screen.
Ultimately, I would like to plot my picture and let the user click on
different parts to...
2011 Jul 30
1
grImport symbols
...to a new location
-10 20 10 20 5 10 curveto % curve to a third location
5 10 lineto % line to a fourth location
closepath % connect back to the start location
0 setgray % set the drawing colour to black
fill % fill the current shape"
cat(petal.ps, file="petal.ps")
library(grImport)
PostScriptTrace("petal.ps")
petal <- readPicture("petal.ps.xml")
grid.symbols(petal, 1:10/10, 1:10/10, size=0.1) # OK
grid.symbols(petal, 1:10/10, 1:10/10, size = seq(0.01, 0.1,
length=10)) # Warning and weird shapes
sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: i386-apple-darwin...
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
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
2009 Mar 28
7
unicode only works with a second one
I'd like to paste a zodiac sign on a graph, but it only prints it when
I add another unicode ( \u3030) to the desired \u2648 - why?
See the examplecode (compare the orange with the skyblue):
plot(c(-1,1),c(-4,-2),type="n")
text(x=0,y=-3.0,labels="\u2648 \u3030",cex=2.3,col="skyblue")
text(x=0,y=-3.2,labels="\u2648",cex=2.3,col="orange")