Displaying 8 results from an estimated 8 matches for "plottabl".
Did you mean:
plottable
2006 Oct 27
2
Question: xyplot panel configurations for Trellis package
Hi,
I am new to R community and I have a question on panel configurations in
the Trellis package.
Particularly, I have the following code:
require(lattice)
plotTable <- NULL
Date <- seq(as.Date("2006-11-01"), as.Date("2009-12-01"), by = 1)
nYear <- length(unique(format(Date,"%Y")))
plotTable$Date <- as.Date(paste(unique(format(Date, "%Y-%m")), "-01",sep
= ""))
nDate <- length(plotTable$...
2023 Aug 27
1
R packages to send plottable data to external apps
I was curious what R packages, or indeed any other applications, exist
to plot streamed data from arbitrary data generators. It need not
be publication quality plotting but it should be easy to use like
an oscilloscope. I was working on something called datascope that I
am using for 1D finite difference monitoring and recently interfaced it
to freefem. I also created an R package. If there is
2009 Mar 20
1
how can I find actual axis limits for an existing plot?
I would like to query an existing plot to learn the actual x and y
limits of the plottable area. Is this possible? I can discover the
extreme tick mark locations but not the actual plot area limits.
Setting the limits with ylim will not help in this case because I am
overplotting an existing plot with a separate function, and I don't want
my end-user to have to pass parameter...
2013 Feb 20
1
ggplot2 customizing a plot
Dear all,
I want some help improve my ggplot as following:
Make the plottable area with grid, so is easy one to see where each box refers to x and y values.
Add a color bar but with fixed values, that I want to specify.
How I can do those two?
Before is some code what I have tried so far.
Regards
Alex
DataToPlot<-matrix(data=seq(1:9),nrow=3,dimnames=list(seq(1,3),...
2004 Dec 02
1
Arrow and text on a 3d plot
I am currently working on surface plots (with R 2.0.1) and I want to
improve the aspect of them. Having a typical 'cow-boy hat' surface
[source: Spector (1994), p. 206]:
pts <- seq(from = -8, to = 8, length = 50)
cow <- function(x, y)
{
z <- sqrt(x^2+y^2)
sin(z)/z
}
out <- outer(pts, pts, cow)
sur <- persp(x=pts, y=pts, z=out, theta=45, phi=30)
What I exactly wanted is:
2003 May 08
3
again troubles with lattice
Dear r-help community,
Thank you for your previous answers!
Now I have strange behaviour of the lattice library funcitons.
They do not draw graphics in the file when called from the script.
I created the script file, called, for example, "a.R", containing
the following
library(lattice);
trellis.device(device="png",
filename="a.png",
2001 Apr 30
2
plotting an expression
I am sure it is just me not understanding how R works, but could somebody
explain why
curve(cos(x))
works and
curve(expression(cos(x))
does not?
I have done some investigating and here is what I found. If I comment out
the line of curve indicated below, both calls work fine.
function (expr, from, to, n = 101, add = FALSE, type = "l", ylab = NULL,
log = NULL, xlim =
2011 Jul 12
1
What's wrong with my code? (Edited version-added my data)
I've written out codes for one particular file, and now I want to generate
the same kind of graphs and files for the rest of similar data files.
For example, a file "8.csv" would look like such:
enc_callee inout o_duration type
A out 342 de
B in 234 de
C out 132 de
E in 111 de
A in 13 cf
H in 15.7 cf
G out 32 de
A out 32 cf
I in 14 de
K in 189 de
J out 34.1 cf
B in 98.7 de
H out