search for: myplot2

Displaying 5 results from an estimated 5 matches for "myplot2".

Did you mean: myplot
2008 Jan 24
1
png to html
hello, to display my histogram from a png file to a html file I use this syntax > myplot2 <- png(file=file.path(directory,"myplot2.png"), bg="transparent") > plot(1:10) > rect(1, 5, 3, 7, col="white") > dev.off() png:C:/Documents and Settings/melyakhlifi/Bureau/myplot.png 2 > HTMLIns...
2005 Mar 09
3
function in order to plot the same graph to postscript and pdf
...name}{ pdf(file=paste(filename, ".pdf", sep="")) myplot dev.off() postscript(file=paste(filename, ".eps", sep="")) myplot dev.off() } yields in a correct pdf but an empty eps file. However something like this: plot.both <- function{myplot1, myplot2, filename}{ pdf(file=paste(filename, ".pdf", sep="")) myplot1 dev.off() postscript(file=paste(filename, ".eps", sep="")) myplot2 dev.off() } yields the expected results even if myplot1 and myplot2 are identical. Does somebody know, how I can i...
2006 Jun 17
0
Panel Bar plots
...degrade.list<-c(0) par(mfrow=c(1,length(D.list)),beside=T) for(i in 1:length(city.list)){ for(j in 1:length(degrade.list)){ myplot<-x[x$Location==city.list[i]&x$Degrade==degrade.list[j],] for(q in 1:length(D.list)){ myplot2<-myplot[myplot$Days==D.list[q],] if(q==1)barplot(myplot2$Ratio,names.arg=myplot2$Radius,horiz=T,main=D.li st[q], beside=T, space=0) if(q>1)barplot(myplot2$Ratio,names.arg=myplot2$Radius,horiz=T,main=D.lis t[q],axes=T) } } } -------------------...
2014 Jul 28
0
lattice, latticeExtra: Adding moving averages to double y plot
...nel.xyplot(x, y, pch = 1,col = "black") panel.lmline(x,y,col = "black", data=madfStuff1) # here I presume that panel.lmline is wrong. # I would like to have my 5 year moving average here, not a straight line. }) myplot1 myplot2 <- xyplot(Value ~ Year, data = stuff12_3data, col="black", lty=1, pch=1, ylab = "hours", strip.left = F, strip=myStripStyle, xlab = ("Year"), panel = function(x,y,...,subscript...
2007 Mar 07
5
How to open more windows to make more graphs at once!
Dear R users, I have a data frame (test) including five columns of upper (numeric), lower (numeric), observed (numeric), best_sim (numeric) and stname (factor with 80 levels, each level with different length). Now I would like to write a short program to draw one graph as follow for each level of stname but I would like also to draw each time 12 graphs for the 12 levels of stname in the same