similar to: MetaPost device?

Displaying 20 results from an estimated 10000 matches similar to: "MetaPost device?"

2003 Jul 11
1
metapost device in R (again ;-)
Hi, I read the 2000 thread on a MetaPost device in R. If I understand correctly, the main problem with the concept is that R wants the device driver to give back information on the size of strings/labels. To the bet of my knowledge, MetaPost _does_ make it possible to measure the bounding box of text (see section 7.3: Measuring text in the MetaPost manual). For example, one could get the size of
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[] =
2007 Feb 03
1
metapost output
Hi, I know the R can make eps output. But metapost sees to be an even better choice for me. I've been using gnuplot for a while, it seems it has excellent support with its metapost latex terminal. So I can insert any latex equation in the figure. Meanwhile, I can make the font in the figure will be consistent with font used in the main text. I searched R help, but I can not find metapost
2004 Mar 07
3
graphic device MetaPost
Hi all, By default, MetaPost passes all text through TeX. This has the advantage of allowing essentially any TeX symbols in titles and labels. It give us, who use the multibyte character in ordinary communication, much convenience. Gnuplot has fulfilled this function, and it give me a deep impression for I could use Chinese character in plots with a minor modification to the MetaPost file. I
2008 Oct 12
2
RFC: Kerning, postscript() and pdf()
Ei-ji Nakama has pointed out (from another Japanese user, I believe) that postscript() and pdf() have not been handling kerning correctly, and this is a request for opinions about how we should correct it. Kerning is the adjustment of the spacing between letters from their natural width, so that for example 'Yo' is usually typeset with the o closer to the Y than 'Yl' would be.
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
2009 Oct 24
1
dev.copy(postscript,...) generates a disrupted string
Dear R-Users, I have the following problem: I would like to create a postscript file containing an r-plot with the string "\\vartheta" in it (reason: this is later converted to the TeX-string "\vartheta" and a vartheta is printed in the figure). In the minimal example below, the problem is that the created postscript file does _not_ contain the string "\\vartheta
2007 Feb 14
1
How to upload metapost driver ?
Hi all, To develop the metapost driver, I did an svn checkout (R-2-4-branch revision 40647) as instructed in http://developer.r-project.org/SVNtips.html i.e., I did a, svn co $REPOS/branches/R-2-4-branch r-release-branch/R Not being a core developer, can I just commit the changes? Am I on the right branch? Most of the work is in devPS.c, but there are also some documentation changes
2011 Nov 03
2
Problem with R CMD check and the inconsolata font business.
I have just installed R version 2.14.0 and tried to re-build and re-check some of the packages that I maintain. I'm getting a warning (in the process of running R CMD check on my "deldir" package): > * checking PDF version of manual ... WARNING > LaTeX errors when creating PDF version. > This typically indicates Rd problems. > LaTeX errors found: > ! Font
2007 Feb 11
1
Graphics driver test script?
Hi, 1. I started work on a metapost graphics driver a week or so ago and it is gradually taking shape. I'm building up my own test cases into a script as I go, but figured you may have a "canonical testing script" of cases a driver must handle? 2. The clipping function looks like being a tricky problem. It seems to me that the callers of the driver assume that clipping affects all
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? - Use math in labels (e.g., name your variables $r_{xy}$, do a
2001 Jun 29
1
Problems using Computer Modern fonts
I have been trying to use the Computer Modern fonts in postscript output from R, but I have run into a few problems and limitations. I did read and follow the instructions in the documentation. The first problem is that R sometimes needs to use a minus sign in the text in plots, but the non-symbol computer modern fonts contain only a hyphen. There is no way that I can find to tell R to use a
2001 Jun 29
1
Problems using Computer Modern fonts
I have been trying to use the Computer Modern fonts in postscript output from R, but I have run into a few problems and limitations. I did read and follow the instructions in the documentation. The first problem is that R sometimes needs to use a minus sign in the text in plots, but the non-symbol computer modern fonts contain only a hyphen. There is no way that I can find to tell R to use a
2003 Aug 07
2
plotmath under windows (PR#3672)
Full_Name: Murray H Smith Version: 1.7.1 OS: Windows2000 Submission from: (NULL) (202.36.29.1) This alleged bug is Windows specific and occurs when using Windows metafile plots. The problem does not occur in a Linux version. It does not occur in the pt rintout when a graphic is saved to a postscript file under Windows. The problem came to light when using plotmath to label a plot with
2008 Apr 08
2
plotmath "overstrikes" in output on a Linux system
I've been testing plotmath. But I'm getting some funny output one one computer. The problem is that characters are 'jumbled' and overstrike when symbols are introduced. Sample code: mu <- 440.0 sigma <- 12.5 myx <- seq( mu - 4*sigma, mu+ 4*sigma, length.out=500) myDensity <- dnorm(myx,mean=mu,sd=sigma) # Here's one way to retrieve the values of mu and sigma and
1999 Mar 03
4
xfig device
Hi, I am VERY interested in getting the xfig driver so that I can edit graphical output from R. Searching through the mail archives and reading documentation isn't helping. Is there or isn't there a working driver for this purpose. How can I get it? I tried looking at the development version of the tarballs, but I didn't find anything that looked promising in there. Also, does
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 Feb 06
2
barplots with pictex
Dear R People, I want to include a barplot corresponding to a simple discrete probability distribution in a LaTeX document. I decided to use the pictex driver. After a certain amount of messing about, I came up the stuff below. It does not look too bad, however, there is one very obvious piece of weirdness, ie. the y axis terminates at 0.1 and does not extend down further. I tried to adjust this
2001 Mar 09
1
rotated and/or greek mtext in pictex()?
Greetings- I'm aware that there's no documentation for pictex available easily (that is, without purchasing it). I'm wondering if someone can help me with a simple task. When generating a plot using pictex() from R, one of the commands I use is mtext("Dimension 2: L=xxxx", side=2, line=3) when using X11(), this appears vertically along the Y axis; when using pictex(), it