Displaying 20 results from an estimated 700 matches similar to: "patch for textspecial and defaultfont in xfig"
2006 Jul 10
2
Source code for R graphics devices
Hi Folks,
I'm trying to locate the source code for a (typical)
R graphics device, in order to study how it's done.
The underlying reason is that I'm thinking of trying
to create a graphics device for 'pic' (the diagram
drawing component of [g]troff).
I thought the xfig device would be a good place to
look, since the format of an xfig file is similar in
nature (though very
2009 Jan 25
1
Warning for dropped text with devices that don't support clipping (in text attachments)
Hello,
Apparently, the mail program doesn't like attachments. Here's the
patch and the script again.
Sebastian
------- R Script -------
xfig
(file
=
"test
.fig",onefile=TRUE,width=6,height=4,textspecial=TRUE,defaultfont=TRUE)
barplot(seq(.8,0,-0.15))
legend("topright",legend=c("1234567890"),cex=.7,text.width=.5)
dev.off()
2005 Jan 10
1
XFIG color output (PR#7491)
Full_Name: Chris Haidinyak
Version: 2.0.1 & 1.9.0
OS: Linux x86_64
Submission from: (NULL) (139.95.251.9)
Hi,
I am using R 1.9.0 (on Linux Redhat AS 3 - x86_64) and 2.0.1 (on Linux Fedora
Core 3 - x86_64) and am having problems using graphs created with the xfig
option.
1.9.0 problem - sometimes the graph output puts the color definitions in the
wrong place in the file. According to
2005 Jul 16
1
xfig device - depth
Hi,
I hope this is the right list for my posting, since I've never posted
to any R list before.
I'm quite extensively using the xfig graphics device and as far as I
figured out this
device writes all the objects into xfig layer 100 (based on what I saw
in the devPS.c
file -if this is the file to output to xfig format - depth 100 is
hardcoded). Are the any
plans to implement xfig layer
2002 May 29
1
bug in xfig()?
I'm using (Linux version) xfig() within a function
and then simple matplot() and matline() plots.
Although I do not define any bg or fg default color,
sometimes all lines in the final fig file are green.
The same code works as (I) expected if I use
x11() or pdf().
This is what I'm doing:
I open 2 devs:
xfig()
dev.set(2)
layout(mat1)
xfig()
dev.set(3)
2000 Jun 16
1
postscript device on R-1.1.0
Am I the only one with this problem?
> postscript()
Error in old$command == "default" : comparison (1) is possible only for
vector types
The function postscript() is creates a list called "old". the function
wants to access old$command, but old does not have a component called
command.
> postscript
function (file = ifelse(onefile, "Rplots.ps",
2007 Mar 06
1
Obtaining figures with exactly placed points
Dear list,
I have to plot some geometrical shape given as list of points. My need
is the following: let's say my shape is a 1 inch large square; how can
I plot it with R in a graphic format that gives me an image *exactly*
1 inch large? I tried to set oma, mar and fin parameters, but with no
success.
I'm currently using the xfig driver for the final images are to be
included in latex
2004 Jul 21
1
Problem using xfig()
Hello ... I tried to generate .fig figures with R, using the xfig() function ...When I open the figures using xfig software under linux ... the foreground color change strangely ... whereas when I display the same figure in R or when I saved it in using postscript() function there is no problem.
Any idea about the behavior of the colors when using xfig ??
Thanks in advance
Christophe Grova
2007 Feb 05
2
Metapost device driver
Hi All,
I've started work on a MetaPost device driver (please don't hold your
breath).
I've copied the XFig driver and renamed everything and this works, I can
open the new metapost() and it works exactly like the xfig
driver. Now all I have to do is the actual work!
Just one question. There is a magic number in ExtEntries as follows:
static const R_ExternalMethodDef ExtEntries[] =
2007 Feb 05
2
Metapost device driver
Hi All,
I've started work on a MetaPost device driver (please don't hold your
breath).
I've copied the XFig driver and renamed everything and this works, I can
open the new metapost() and it works exactly like the xfig
driver. Now all I have to do is the actual work!
Just one question. There is a magic number in ExtEntries as follows:
static const R_ExternalMethodDef ExtEntries[] =
1997 Nov 20
3
R-beta: edit figs with xfig?
Question for R users under unix:
Do you ever edit figs created by R using xfig or some other program? I
tried to edit a figure with xfig (a program which I find quite horrible by
the way) and it said it couldn't read it in. I guess xfig has no
capability of reading postscript files?
Can anyone tell me how to do it, or perhaps suggest another freeware
structured drawing program for use in
2001 May 31
1
No subject
Hi R-helpers!
I have a problem with the xfig device and I don't know how to
tackle. If anybody can give me some help I will be very thankful:
*I have produced a series of figures using a function that
makes a call to barplot (in fact I am making Pareto Charts using
a function that was kindly provided through this list :-)
*I have exported the figures to xfig in order to give them
a
2006 Dec 12
1
Sweave, Xfig, pdflatex and \setkeys
Dear useRs,
How does one include graphics created with Xfig with LaTeX fonts into
Sweave?
If I create a graphic with Xfig with some Computer Modern fonts, I
choose to export it as combined PDF and LaTeX. So I get two files, one
foo.pdf with the drawings without the text and foo.pdftex with some
LaTeX code that ensures the text lands in the right place together with
the drawing. I'm supposed
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver.
When I run a simple example, eg
> data(InsectSprays)
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
the boxplot is fine. Doing the same thing after
> xfig(file='test.fig')
and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots
where the boxes, although correctly shaded in,
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver.
When I run a simple example, eg
> data(InsectSprays)
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
the boxplot is fine. Doing the same thing after
> xfig(file='test.fig')
and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots
where the boxes, although correctly shaded in,
2002 Feb 28
3
R-plots with 'complex' axis-labelling
Hi there,
I want to create plots with some kind of 'complex' axis labelling of the form
$\dot{V}$ and integrate those plots into a LaTeX document. What is the best
way to go?
I've figured out, that the 'plotmath' commands are somewhat limited (at least
I wasn't able to get the $\dot{V}$ generated) and that plots with
'plotmath'-axes wouldn't export
2011 Mar 18
7
Add repo for xfig package
Hi All
We want to install packages like xfig and transfig on centos 5.5. We found rpms available but them but it seems there are lot of dependencies for these packages. So we would like to setup yum repo for this. Can anyone suggest trusted baseurl for yum repo?
Regards
Hersh
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2003 Feb 05
2
postscript: can't center plot
One of our color postscript printers needs a slightly larger margin
than the default, so I'm trying to send slightly smaller graphics to
it, but all the extra margin I provide ends up at the right and
bottom of the page.
These are the relevant (I imagine) ps.options:
$paper [1] "special"
$width [1] 10
$height [1] 8
$pagecentre [1] TRUE
I tried this on two systems, in
2012 Jan 03
1
Options for generating editable figures?
Hello all,
I'm using R to produce figures for people who want to be able to edit
the figures directly, and who use PowerPoint a lot. I use a Mac, and I'd
appreciate any advice about how to approach this. Here's what I've come
up with so far:
1) I can use xfig() and then ask them to install Inkscape to edit the
files. Downsides are no transparency and a learning curve with
2000 Sep 11
1
R 1.1.1 (and 1.2.0) on Mac (PPC) and "/afm/" bugs (?)
Hy (I hope this is the right list).
1. Mac porting
I'm finishing the porting of R for Mac. I hope to finish it for the
end of september. Thanks to the porting of R 0.64 by Ross (that he
gave me) I succeded in this porting. This is the current state:
Both R 1.1.1. and 1.2.0 works with minor modification to the original
code. The Macintosh device has been updated to the new version of