But it works ;-). According to print.trellis help, 'plot' is an alias
for 'print'.
IMO, this is an abuse of overloading: same method name does totally
different things.
On 21 April 2017 at 21:58, Jeff Newmiller wrote:
> No... it is
>
> print(plot(cop1, main = "cop1 function"))
>
> --
> Sent from
No... it is
print(plot(cop1, main = "cop1 function"))
--
Sent from my phone. Please excuse my brevity.
On April 21, 2017 1:56:00 PM PDT, George Trojan - NOAA Federal
wrote:
>I see. So, if I don't care about the plot object itself, the proper
>incantation is
>
>plot(plot(cop1, main = "cop1 fu
I see. So, if I don't care about the plot object itself, the proper
incantation is
plot(plot(cop1, main = "cop1 function"))
Thanks again.
On 21 April 2017 at 20:32, Jeff Newmiller wrote:
> Your original function created the cop1 plot object but did nothing with it.
> It then created the cop2
Your original function created the cop1 plot object but did nothing with it. It
then created the cop2 plot and returned it from the function. Since you had
invoked the cplot function from the interactive console, R printed that
returned object automatically, which displayed the plot.
FYI: when
Thanks. After changing the function to
cplot <- function(cop1, cop2) {
x11()
o <- plot(cop1, main = "cop1 function")
print(o)
x11()
o <- plot(cop2, main = "cop2 function")
print(o)
}
I see both plots. But, since "cop2 function" was plotted before, does
it mean it is plotted twice now?
FAQ 7.22
And don't send HTML email... you are the one making it difficult for us to read
your question.
--
Sent from my phone. Please excuse my brevity.
On April 21, 2017 8:27:20 AM PDT, George Trojan - NOAA Federal
wrote:
>Consider the following example:
>
>library("kdecopula")
>library("mv
Consider the following example:
library("kdecopula")
library("mvtnorm")
pobs <- function(x) rank(x) / (length(x) + 1)
n <- 1000
sigma1 <- diag(x = 1, 2, 2)
x1 <- rmvnorm(n, sigma = sigma1)
xx1 <- apply(x1, 2, pobs)
cop1 <- kdecop(xx1)
eps <- 0.8
sigma2 <- matrix(c(1, eps, eps, 1), ncol = 2)
x2
On Dec 24, 2012, at 1:30 AM, krusty the klown wrote:
> Thanks, I'm setting now the mai parameter, but it is not so intuitive how it
> works with persp...
>
Sometimes specialized functions will coerce par options and one needs to work
around of hack the code. I don't know if this is the case in
Thanks, I'm setting now the mai parameter, but it is not so intuitive how it
works with persp...
--
View this message in context:
http://r.789695.n4.nabble.com/wireframe-and-margins-tp4653838p4653865.html
Sent from the R help mailing list archive at Nabble.com.
On Dec 23, 2012, at 9:43 AM, krusty the klown wrote:
Hi everybody,
I'm working with wireframe (and persp) functions, and I'm not able
to set
the margins between the 3d plot and the R window... It should be easy,
innit?, but I can't find out which parameters I have to change...
Any help?
Than
Hi everybody,
I'm working with wireframe (and persp) functions, and I'm not able to set
the margins between the 3d plot and the R window... It should be easy,
innit?, but I can't find out which parameters I have to change...
Any help?
Thanks,
ktk
--
View this message in context:
http://r.789695
Thanks a lot for pointing me to that!
Best,
Simone
2012/5/7 David Winsemius :
>
> On May 7, 2012, at 7:15 AM, Simone Gabbriellini wrote:
>
>> Hello List,
>>
>> I have some plots with the wireframe() function, and I'd like to
>> display them in a single jpeg file. I know that par(mfrow=c(x,y)) wil
On May 7, 2012, at 7:15 AM, Simone Gabbriellini wrote:
Hello List,
I have some plots with the wireframe() function, and I'd like to
display them in a single jpeg file. I know that par(mfrow=c(x,y)) will
divide my display window in x rows and y columns, and although this
works with plot(), it l
Hello List,
I have some plots with the wireframe() function, and I'd like to
display them in a single jpeg file. I know that par(mfrow=c(x,y)) will
divide my display window in x rows and y columns, and although this
works with plot(), it looks like it's not working with wireframe.
here's my code:
Im plotting some data with wireframe() like so:
wireframe(result ~ u * r, myData, scales=list(arrows=FALSE))
However, I would really like to display something different for the
displayed values of "u" rather than the actual values.
This is because my u-values are a sequence of quantiles of myDa
On 2011-06-06 06:33, Rbjørn Nicolaisen wrote:
Hi,
Im plotting some data with wireframe() like so:
wireframe(result ~ u * r, myData, scales=list(arrows=FALSE))
However, I would really like to display something different for the displayed values of
"u" rather than the actual values.
This is be
Hi,
Im plotting some data with wireframe() like so:
wireframe(result ~ u * r, myData, scales=list(arrows=FALSE))
However, I would really like to display something different for the displayed
values of "u" rather than the actual values.
This is because my u-values are a sequence of quantiles of
On 16/05/2011 11:17 AM, Chris Mcowen wrote:
Thanks for this,
With the data i have what is the best method to convert it into the required
matrix, as i am a little unsure how it would be done - i imagine this must be a
common task?
You can't convert it. Your data doesn't form a surface.
You
Thanks for this,
With the data i have what is the best method to convert it into the required
matrix, as i am a little unsure how it would be done - i imagine this must be a
common task?
Chris
On 16 May 2011, at 16:05, Duncan Murdoch wrote:
On 16/05/2011 10:57 AM, Chris Mcowen wrote:
> Sorry,
Sorry,
My bad -
I have notice you can remove the data call when using this and it works the
same, also FD is the same as Residual_FD i just forgot i coded it different.
wireframe(FD ~ Elevation * Temperature, scales = list(arrows = FALSE), drape =
TRUE, colorkey = TRUE)
Sorry and thanks agai
On 16/05/2011 8:40 AM, Chris Mcowen wrote:
Dear List,
i am trying to produce a 3d plot using wireframe using the code:
wireframe(Residuals_FD ~ Elevation * Temperature, data = data2, scales =
list(arrows = FALSE), drape = TRUE, colorkey = TRUE)
As you can see when the code (using the data bel
Dear List,
i am trying to produce a 3d plot using wireframe using the code:
wireframe(Residuals_FD ~ Elevation * Temperature, data = data2, scales =
list(arrows = FALSE), drape = TRUE, colorkey = TRUE)
As you can see when the code (using the data below) is run the plot area is
set-up correctly
On Sun, Feb 27, 2011 at 1:29 AM, James Platt wrote:
> Hi all,
>
> I'm quite new to wireframe, essentially what I want to do is display a graph,
> and z-values > 1 would be yellow and those < 1 would be blue.
> This is a bit of my data.
>
> 0.334643563 0.350913807 0.383652307
> 0.370325283
Hi all,
I'm quite new to wireframe, essentially what I want to do is display a graph,
and z-values > 1 would be yellow and those < 1 would be blue.
This is a bit of my data.
0.334643563 0.350913807 0.383652307
0.370325283 0.38779016 0.4238
Kim Jung Hwa wrote:
>
> I'm trying a 3D-plot using wireframe() from Lattice package. Below is my
> code and sample data (read in "dta" object).
>
> I'm wondering if it is possible to make center grid (curved) line more
> prominent (or bold). The curved line I'm talking about is the center
> lin
Hi All,
I'm trying a 3D-plot using wireframe() from Lattice package. Below is my
code and sample data (read in "dta" object).
I'm wondering if it is possible to make center grid (curved) line more
prominent (or bold). The curved line I'm talking about is the center
line drawn for a fixed value of
Hi,
I would like to create wireframe plots conditional on 2 variables and use
different
limits for the 3-axes in each plot. I thought I could do this with subscripts
and
the panel.wireframe but I haven't been successful. I am getting this
error "...multiple actual arguments..." so I definitel
On Mon, Aug 3, 2009 at 9:36 AM, Marlin Keith Cox wrote:
> Hello, hopefully simple question, but I cannot find the answer. I need to
> change the color from the standard default. Still want the scaled colors,
> but need different colors for different graphs.
>
> Code is:
>
> wireframe(z ~ y*x, mat
Hello, hopefully simple question, but I cannot find the answer. I need to
change the color from the standard default. Still want the scaled colors,
but need different colors for different graphs.
Code is:
wireframe(z ~ y*x, mat.df,
drape = TRUE,
zlab = list("Water mass error
Hello, hopefully simple question, but I cannot find the answer. I need to
change the color from the standard default. Still want the scaled colors,
but need different colors for different graphs.
Code is:
wireframe(z ~ y*x, mat.df,
drape = TRUE,
zlab = list("Water mass error
Hello, hopefully simple question, but I cannot find the answer. I need to
change the color from the standard default. Still want the scaled colors,
but need different colors for different graphs.
Code is:
wireframe(z ~ y*x, mat.df,
drape = TRUE,
zlab = list("Water mass error
Ben,
Thank you for your help!
Jun
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide c
Xu Jun wrote:
>
> I am trying to graph a 3-D graph of simulated data for logit models using
> the powerful wireframe command, but I got stuck. Here are the codes:
>
> x <- seq(-4, 4, by=0.01)
> y <- seq(-4, 4, by=0.01)
> p <- 1/(1+exp(-0.12*x + 0.35*y))
> mydata <- cbind(x, y, p)
> require
Dear All R Users,
I am trying to graph a 3-D graph of simulated data for logit models using
the powerful wireframe command, but I got stuck. Here are the codes:
x <- seq(-4, 4, by=0.01)
y <- seq(-4, 4, by=0.01)
p <- 1/(1+exp(-0.12*x + 0.35*y))
mydata <- cbind(x, y, p)
require(lattice)
wirefr
Hello,
I'm trying to get the z-axis labels in the right place - they overlap
with the tick marks and axis. How can I move them them to the left?
wireframe(volcano,zlab="",scales =
list(arrows=F,z=list(labels=c(1:100)/1000)))
Thanks,
Andrzej
--
Andrzej Szymański, M.Sc.
tel. +48 12 6174035
f Of Bill Szkotnicki
> Sent: Thursday, November 06, 2008 8:39 AM
> To: r-help@r-project.org
> Subject: [R] wireframe
>
> I've been using lattice/wireframe succesfully to visualize some data.
> I have one question.
> I want to be able to change the viewpoint ( i.e. rotate
Try the 'rgl' package.
On Thu, Nov 6, 2008 at 10:38 AM, Bill Szkotnicki <[EMAIL PROTECTED]> wrote:
> I've been using lattice/wireframe succesfully to visualize some data.
> I have one question.
> I want to be able to change the viewpoint ( i.e. rotate the plotted figure a
> bit left or right or up
Am Donnerstag, den 06.11.2008, 10:38 -0500 schrieb Bill Szkotnicki:
> I've been using lattice/wireframe succesfully to visualize some data.
> I have one question.
> I want to be able to change the viewpoint ( i.e. rotate the plotted
> figure a bit left or right or up and down )
> Is there a way to
I've been using lattice/wireframe succesfully to visualize some data.
I have one question.
I want to be able to change the viewpoint ( i.e. rotate the plotted
figure a bit left or right or up and down )
Is there a way to do that?
Or is there some other package around that could help?
Thanks.
__
Dear Deepayan,
I am sorry to bother you again, but I have some more questions on the R
wireframe :
- when plotting an interaction between two variables, originating from a
logistic model with several factors : what happens to the other variables (ie
the ones not plotted)? Are they set to 0
On 4/30/08, Strubbe Diederik <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I'm trying to add some data points to a wireframe. X an Y axis are
> independent variables, Z axis is predicted probability. I'd like to add the
> original data points on which the predicted probabilities are based to the
Hello all,
Im trying to add some data points to a wireframe. X an Y axis are independent
variables, Z axis is predicted probability. Id like to add the original data
points on which the predicted probabilities are based to the wireframe. Ive
followed some of the previous post on this but get
On 11/29/07, David Afshartous <[EMAIL PROTECTED]> wrote:
>
>
> All,
>
> The code below produces a color 3D graph. I'd like to make it black and
> white shading. I tried setting col.regions to FALSE but this just made it
> completely white. I want the graph to look exactly as is, except black (or
All,
The code below produces a color 3D graph. I'd like to make it black and
white shading. I tried setting col.regions to FALSE but this just made it
completely white. I want the graph to look exactly as is, except black (or
grey) and white shading. Is this possible?
Cheers,
David
p.list
On 10/12/07, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
> On 10/11/2007 6:32 PM, Deepayan Sarkar wrote:
> > On 10/11/07, Karim Rahim <[EMAIL PROTECTED]> wrote:
> >> Thank you for your reply.
> >>
> >> In this graphics context, I'm not sure what the incident or reflected
> >> light rays are.
> >>
> >
On 10/11/2007 6:32 PM, Deepayan Sarkar wrote:
> On 10/11/07, Karim Rahim <[EMAIL PROTECTED]> wrote:
>> Thank you for your reply.
>>
>> In this graphics context, I'm not sure what the incident or reflected
>> light rays are.
>>
>> May I ask for an example of using a colour key with the volcano data
Hi,
colorkey: logical indicating whether a color key should be drawn
alongside, or a list describing such a key. See 'levelplot'
for details.
So I would like an appropriate colour key (legend perhaps) mapping the
colours to the z-axis values.
Ex:
wireframe(volcano, drape = T
On 10/11/07, Karim Rahim <[EMAIL PROTECTED]> wrote:
> Thank you for your reply.
>
> In this graphics context, I'm not sure what the incident or reflected
> light rays are.
>
> May I ask for an example of using a colour key with the volcano data
> using the colours that appear when you select the sh
Thank you for your reply.
In this graphics context, I'm not sure what the incident or reflected
light rays are.
May I ask for an example of using a colour key with the volcano data
using the colours that appear when you select the shade option?
It is simple to have the colour key appear using dr
Hi,
I am using wireframe with shade=T and I would like a colour key that
matches the colours produced with the option shade=T. How do I do
this?
Thanks,
Karim
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
50 matches
Mail list logo