Displaying 20 results from an estimated 1000 matches similar to: "problem with legend on other graphics devices"
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
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",
1999 Oct 04
1
bitmap copies of plots
Michael Lapsley was suggesting on R-help direct copies to gif/png/jpeg.
The following seems to do a sensible job for me of copying the current
device to any bitmap format supported by gs. The manipulation is needed
to work around assumptions made by postscript(), and I think better fixed
in postscript() (but not a couple of days before a release).
I want to make onefile=FALSE work on
2005 Jul 23
1
"%03d" in the pdf command
The pdf man page contains the following text:
pdf(file = ifelse(onefile, "Rplots.pdf", "Rplot%03d.pdf"),
width = 6, height = 6, onefile = TRUE, family = "Helvetica",
title = "R Graphics Output", fonts = NULL, version = "1.1",
paper, encoding, bg, fg, pointsize)
I am creating multi-page graphics in which each
2011 Jun 15
4
[Bug 38350] New: [NVAC] Screen doesn't come back after suspend
https://bugs.freedesktop.org/show_bug.cgi?id=38350
Summary: [NVAC] Screen doesn't come back after suspend
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at
2000 Aug 10
1
Usage questions
Can I ask a couple of usage questions? (RedHat Linux 6.1, R-1.1)
1. This may just indicate I'm a dinosaur who can't leave SAS behind. I
want to write programs and run them with source() to see what they do,
then I would like to use the "up arrow" to go back through the commands
that were in the file, fiddle them, see what they do, and so forth. Is
there no way? SAS has a
2003 Jul 11
3
postscript/eps label clipping
The following code produces an eps file with the tops of each of the ylabs
clipped off.
par(mfrow=c(2,2))
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
plot(runif(10),
ylab=expression(Delta * Beta^2),xlab="Prediction")
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
2005 Jul 22
3
problems with submitting an eps-file created in R
Dear all
I've got some problems submitting a manuscript, because I can't manage
creating the favourable eps-file of a graph created in R. The journal's
graphic requirements are as followed:
format: eps
width: max. 6 inches
resolution: min. 1000 dpi
supported fonts: Arial, Courier, Helvetica, Symbol, Times, Charcoal,
Chicago, Geneva, Georgia, Monaco, Zapf, New York
Itried to ways
2013 Sep 13
0
Problema con el tamaño de las letras en R en gráficos multiples
Estimando Javier Villacampa González
Yo guardo las gráficas en un archivo, no las copio.
Javier Marcuzzi
-----Original Message-----
From: Javier Villacampa González
Sent: Friday, September 13, 2013 12:43 PM
To: R ayuda
Subject: [R-es] Problema con el tamaño de las letras en R en gráficos
multiples
Hola buenas,
Actualmente me hayo haciendo unas gráficas que han de tener un tamaño de
letra
2011 Nov 05
1
How to infer default width and height for a device?
Hi.
GENERAL:
Is there a general method for inferring default device settings,
particularly 'width' and 'height', that works for all devices? AFAIK,
the answer is no, but there might be functions out there that I don't
know of.
POSTSCRIPT SPECIFIC:
If not, I'm considering implementing such a method myself. Is it
possible for R to infer the default 'width' and
2010 Oct 28
2
How to enable Arial font for postcript/pdf figure on Windows?
Hi,
I need to generate some figure using the Arial font as a requirement for
PLoS.
Following their guidelines, I have converted the windows font files
arial.tff files to .afm using tff2afm (exec file from MikTeX), but when I
try to generate a postcript file, the postcript device does not recognize
the .afm files.
The code I use to test the new font is the following:
2002 Nov 08
1
pdf() and pdflatex
I am having good success in using pdf() to produce pdf graphics files for inclusion in documents processed by pdflatex [I'm using R 1.6.0 on Linux]. I am having one small problem consistently though, which I believe I also had with S-Plus's pdf.graph(): wasted space at the top of the graph which causes pdflatex to put the graph on a later page, when the current page has plenty of space.
2004 Oct 16
1
problem with axis labels
Dear R users,
Below are some R commands which produce a y-axis label that is not wholly
in the viewing area of the eps file (or the x11 window).
I have tried experimenting with the postscript bounding box, and using
such R commands as over(phantom(0),...) but I make the whole y-label
visible.
Does anyone have any suggestions for how I may fix this. (Please CC
mailing list email to p.stansell
2003 Dec 18
0
Re: [R] R GUI dies using postcript() in Windows XP Pro (PR#5910)
On Thu, 18 Dec 2003 18:02:07 +0000, Gavin Simpson
<gavin.simpson@ucl.ac.uk> wrote :
>Dear List,
>
>My colleague has been having a problem with the following data and
>plotting commands. The example below is part of a larger set of plots,
>but I've isolated the problem to this example using this small dataset
>(below), which kills rgui consistently. My version info
2003 Feb 26
1
plot as .ps file: where are the axes and labels gone
Sorry, I am sure, this must be documented somewhere (but there are that
many docs and tutorials to scan for topics..., actually a great thing...
but if you are in a hurry..):
I want to save a plot as .ps (or .eps):
> postscript("plot1.eps", horizontal=FALSE,
onefile=FALSE,height=8,width=8,pointsize=10)
> plot(hpfit$fit,rstudent(hpfit),xlab="Fitted
2003 Mar 14
1
Using Arial font in linux
Hi,
Late last year there was a thread on r-help about installing Arial
fonts on linux machines:
http://finzi.psych.upenn.edu/R/Rhelp02/archive/8548.html
I too would like to use Arial fonts in some R plots created on my
redhat machine. I've installed the TrueType fonts from
http://corefonts.sourceforge.net/ -- there is now a directory
/usr/share/fonts/msttcorefonts/ and xlsfonts reports
2005 Apr 09
1
PostScript scatter plot, losing points at RHS
I'm using the following sequence to plot a scatter plot to PostScript.
Those familiar with the Iris LDA example in MASS will recognise what
I'm at.
> postscript("hulda.eps", horizontal=FALSE, onefile=TRUE, height=6, width=6, pointsize=8, paper="special")
> plot(hu.ld, type = "n", xlab= "first linear discriminant", ylab="second linear
2007 May 09
1
Error in plot.new() : figure margins too large
Yes, I already had a look on previous posts but nothing is really helpful to
me.
The code is:
postscript(filename, horizontal=FALSE, onefile=FALSE, paper="special",
bg="white", family="ComputerModern", pointsize=10);
par(mar=c(5, 4, 0, 0) + 0.1);
plot(x.nor, y.nor, xlim=c(3,6), ylim=c(20,90), pch=normal.mark);
gives error
Error in plot.new() : figure margins too
2005 Jan 14
0
Code contributed for a gant (Gantt) chart
I searched CRAN for material on gant (or Gantt) charts, those schedule
plots that look like horizontal barplots where the x-axis is time.
Finding none, I wrote the following and am submitting it to the archive
so that it may help someone in the future.
plotfile <- "gant.eps"
regular.color <- "lightgray"
important.color <- "yellow"
tasks <- list() #
2000 Jun 26
1
postscript error
I'm using R version 1.1.0 with Redhat 6.2 in a Dual-Pentium
When I type
postscript()
I have the next error:
-- Error in old$command == "default" : comparison (1) is possible only
for vector types
I have updated R next week using the rpm package
http://www.stat.math.ethz.ch/CRAN/bin/linux/redhat/6.x/i386/R-base-1.0
.0-2.i386.rpm
I know that postscript() has new features, but I