search for: xfig

Displaying 20 results from an estimated 111 matches for "xfig".

2009 Jan 19
1
patch for textspecial and defaultfont in xfig
Hello, The current xfig device lacks the functionality to set the textspecial flag and use the defaultfont in xfig. This is necessary when you want to export to xfig and use interpreted text (e.g., $ \frac{1}{e}$ gets interpreted by latex). The attached patch adds this functionality. Why would you like to do this?...
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 depth control in the xfig graphics device...
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 the xfig program, color definitions must come before any object. For whatever reason, R sometimes produces xfig files with color definitions in the wrong place. Run demo('...
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...
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 s...
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 different in detail) to 'pic' code. When, in R, I type "xfig" to see the R code, I get the line .Internal(XFig(file, old$paper, old$family, old$bg, old$fg, old$width,...
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 ?? Than...
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() de...
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 toge...
2000 Apr 06
1
MetaPost device?
I would like to know if a MetaPost device is available or in the plans. A search MetaPost in the documents and list archives did not turn up anything. [I would prefer to use MetaPost when the graphics is to be included in a document that I want in both hard-copy and in pdf formats.] If not, how easy/hard is it to add a new device to R? I caouln't see anything about adding devices in the
2000 Apr 06
1
MetaPost device?
I would like to know if a MetaPost device is available or in the plans. A search MetaPost in the documents and list archives did not turn up anything. [I would prefer to use MetaPost when the graphics is to be included in a document that I want in both hard-copy and in pdf formats.] If not, how easy/hard is it to add a new device to R? I caouln't see anything about adding devices in the
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[] = { EXTDEF(PicT...
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[] = { EXTDEF(PicT...
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 prod...
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 prod...
2001 Nov 22
6
Editing R graphics
One of the few things that I miss from Splus is the ability of interactively add text and symbols to graphics that have been created by functions. I understand that the best solution in R is to create a graphic file and use external software for editing the graphic. I know what to use in the Win environment, but could anyone suggest what tools would be appropriate under Linux? Thanks Agus Dr.
2007 Mar 06
1
Obtaining figures with exactly placed points
...etrical 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 documents, so I can easily add latex mathematical text and other things; however, other formats (pdf, eps) will do. The piece of code: xfig("R2fig.fig") par(mar=c(0,0,0,0),oma=c(0,0,0,0),fin=c(1,1))#no margin, figure dimension 1x1...
2003 Oct 04
0
Re: Bug#213857: r-base-core: xfig plot fails with invalid line type (PR#4401)
...ls. R is a collaborative project with many contributors. Type 'contributors()' for more information. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for a HTML browser interface to help. Type 'q()' to quit R. > data(cars) > xfig("/tmp/cars.xfig") NULL Warning message: xfig(/tmp/cars.xfig, onefile=FALSE) will only return the last plot > plot(cars) > dev.off() null device 1 > q() Save workspace image? [y/n/c]: n > > Thanks, Dirk > > > > > > > > > >...
2001 May 31
0
Problem with xfig()
...I have been tried to reproduce the same example in R 1.2.3 for Windows (2001-04-26) and the problem seems to be fixed (at least with the graphics generated by example(barplot)). Then I had a better look to the mailing list archive and the problem seems to be solved in the following thread: [R] xfig boxplot (polygon) bug?? e.catchpole at adfa.edu.au (Tue Feb 13 2001 - 04:51:56 CET) Re: [R] xfig boxplot (polygon) bug?? Prof Brian D Ripley (Tue Feb 13 2001 - 08:28:59 CET) RE: [R] xfig boxplot (polygon) bug?? Yves Gauvreau (Tue Feb 13 2001 - 10:07:04 CET) which is just a...
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 e...