similar to: Legend text -- discrepancy between X11 and postscript

Displaying 20 results from an estimated 3000 matches similar to: "Legend text -- discrepancy between X11 and postscript"

2003 Dec 30
2
regexp problem on R 1.7.0
Hi, Am I missing something in using regexps in R? Below, 'egrep' means invokation of the command from the shell prompt. # I have > as.character(block.dist.vals) [1] "1e+06" "2e+06" "5e+06" # that I wish to convert to: "1" "2" "5" # OK (R and egrep) > sub( "e.+06", "", as.character(block.dist.vals) )
2004 Jun 14
3
How to 'stamp' a plot with meta-data?
Dear R users, Sometimes, for tracking purposes, I am interested to add to a plot some metadata such as * the date it was produced * filename that stores the plot * perhaps data sources, author, etc Ideally, I would like to be able to do this for any kind of plot, plot(), barplot(), hist(), etc.; and, to be able to produce plots with or without the metadata by a simple toggle mechanism.
2006 Nov 11
2
Strange yum behavior
Hello, 'yum search R' returns an impossibly-long list. So I tried 'yum search R.x86_64' and 'yum search R-2.3.0' and few others to no avail. (Google revealed that R package does exist in kbsingh repository.) However, 'yum install R' did offer to install the correct package. Can someone enlighten me as to why did the searches failed or generated a hugh list
2004 Feb 19
1
piece wise application of functions
Dear all, After struggling for some time with *apply() and eva() without success, I decided to ask for help. I have 3 lists labeled with, each contains 3 different interpolation functions with identical names: > names(missgp0) [1] "spl.1mb" "spl.2mb" "spl.5mb" > > names(missgp1) [1] "spl.1mb" "spl.2mb" "spl.5mb" > >
2005 Apr 05
3
How to do aggregate operations with non-scalar functions
Hi, I have a data set, the structure of which is something like this: > a <- rep(c("a", "b"), c(6,6)) > x <- rep(c("x", "y", "z"), c(4,4,4)) > df <- data.frame(a=a, x=x, r=rnorm(12)) The true data set has >1 million rows. The factors "a" and "x" have about 70 levels each; combined together they subset
2006 Dec 10
1
OT: profiling user applications
Hi, Is there an easy way to obtain statistics of user applications usage: who invoked what; for how long; what resources were used; etc. I am thinking of some kind of a super-ps that will integrate and summarize the usage profile during a long period of time - not just a snapshot. Background: I have a RH 7.3 machine that serves as the central node for a cluster that runs various
2004 Mar 25
1
How to add a top X-axis with a different logarithmic scale?
Hi, I am trying to put on one plot two different logarithmic scales, using the bottom and top X-axes. Below there is an example of what I am trying to achieve, using axTicks() -- and fails. I already spent few hours on that, and cannot figure out from ?par and ?axTicks what I am doing wrong. Example follows: ############################################################ #### Data x <-
2007 May 12
2
Screen blanks after initial setup (Centos 5)
Hi, The installation process went without noticable problems; this is true to the setup phase immediately after the installtion. However: after pressing "Finish" in the Setup Agent the screen blanked on me - Ctrl-Alt-F1, Ctrl-Alt-F2, Ctrl-Alt-backspace, Ctrl-Alt-Del didn't help. Nada. Did someone else have encountered this? Any recommendations? Thanks in advance. System:
2004 Mar 11
1
rsync + ssh: fails from cron
Hi, My ssh set up, on both 'work' and 'home' machines uses the private-public key authentication (key uses non-empty passphrase). So from the 'home' shell prompt the following works without prompting to password or passphrase: rsync -avz --delete -e ssh remote.work.machine:publicats $HOME/work >From cron, however, I am prompted for a password, though. I have seen
2004 Feb 20
1
unexpected postscript output with par(mfg)
Hi, a colleague of mine encountered some unexpected behavior regarding the postscript output from R. It's difficult for me to tell whether or not this is an R problem or a ghostview/gv/interpreter problem. Just to note, I think it's exactly the same situation reported here: http://finzi.psych.upenn.edu/R/Rhelp02/archive/25436.html The following code produces a working plot (no
2004 Feb 11
7
large fonts on plots
Hi all, I need to enlarge te fonts used oo R-plots (plots, histograms, ...) in labels and titles etc. I seem to be unable to figure out how to do it. The problem is that the titles of the plots are simply unreadable when I insert them into my LaTeX text, since they are relatively small compared to the entire plot. I am sure it is pretty simple, can anybody give me a hint ? Please reply
1998 Dec 15
1
legend
I am trying to put a legend below some plots as follows: x11() par(mfcol = c(2, 1), mar = c(5.1, 6.1, 4.1, 2.1)) matplot(matrix(1:30,15,2), type="l", lty=1:2) par(mfg = c(2, 1, 2, 1)) legend((par()$usr)[1:2], (par()$usr)[3:4], c("a","b"), lty = 1:2, col=1:2, bty = "y") The letters "a" and "b" print but not the lines. If I omit
2006 Oct 09
3
Yum, duplicate packages, 4.3->4.4 upgrade.
Hi, I am running a CentOS 4.3 machine. I wish to move on to 4.4. My problem is that I have some 60 duplicate packages listed below. The kernel and gpg-pubkey packages are different versions of the same (none for the gpg) architecture. All the rest are a x86_64 and i[356]86 pairs. 1. Is this a problem? 2. If yes, what should I do? a) remove the duplicates (the i[356]86) and then 4.3 ->
2007 May 09
2
how to create label fo swap space
I just add a partition /dev/sdb3 and use "mkswap /dev/sdb3" to make it swap space. How can I label the /dev/sdb3 like "SWAP-sdb3"? what I want is put on /etc/fstab as entry like: LABEL=SWAP-sdb2 swap swap defaults 0 0 LABEL=SWAP-sdb3 swap swap defaults 0 0 Thanks
2003 May 20
1
legend() with option adj=1
Hi there, I want to justify to right the text of my legend. Consider this short reproducable example. x <- 1:5 y1 <- 1/x y2 <- 2/x plot(rep(x,2),c(y1,y2),type="n",xlab="x",ylab="y") lines(x,y1) lines(x,y2,lty=2) legend(5,2,c("1,000","1,000,000"),lty=1:2,xjust=1,yjust=1)
2003 Jun 05
1
dev.copy2eps: Why did the colors come into my postscript output?
On a RedHat 7.3 system with R-1.6.1, I did this > x11(width=3.5,height=4,colortype="gray") Then plotted (with matplot) a nice looking no-color graph on the screen, then I did this: > dev.copy2eps(file="test.eps",height=4,width=3.5) I was surprised that the output in the eps file included the colored lines from the plot, even though the screen device was set to
2004 Aug 20
0
legend lwd - feature request (PR#7023)
Lfo@psykiatri.aaa.dk wrote: > (R1.9.1 Windows) > > In legend( ) lwd have no effect on points - contrary to the behaviour > in e.g. plot( ) and points( ). It would be nice to have an option pt.lwd > affecting the line width of legend points (like pt.cex changes the > magnification). > > > An example (note the difference in line width between points in the > plot
2009 Jan 20
1
Problem with cyrillic in postscript
Hi all, When I plot some graph with cyrillic (namely russian) titles it looks ok, but after saving this figure as eps file I get damaged title fonts. The command dev.copy2eps was used in the following manner: dev.copy2eps("test.eps") or, for example dev.copy2eps("test.eps",family='NimbusSan') What is wrong? I use R 2.6.0 under Windows. Any help will be appreciated.
2003 Jun 05
2
Fwd: Re: legend() with option adj=1
Is there a simpler way then the solution to the one that was posted here? I'm not very proficient with legend, and I don't understand this solution. All I have is two or more lines on one plot that I want to put a legend on and I can't figure out how to do it from the examples. Can you give a very simple example? It does not have to be fancy!! I have never worked with a
2009 Mar 05
2
identify() and postscript output
In the following, I'm fitting a logistic regression model, and using car:::influencePlot. When I run the latter with output to the screen, it calls identify() that lets me label observations with large CookD. However, if I use postscript() to get .eps output, identify() seems not to be called at all. If instead, I use dev.copy2eps() after getting output to the screen, the point labels