Displaying 20 results from an estimated 2000 matches similar to: "Axes in 3D plots"
2011 Aug 09
1
rgl how to plot a cylinder like arrow3d?
Dear List,
I'm trying to draw vector in XYZ with rgl under use of a cylinder3d.
Therefore I scale and rotate a basis-cylinder).
However, somehow the rotation is wrong as
verified by overplotting arrow3d().
Where is my mistake?
library(heplots)
library(rgl)
# ... 2 vectors
data=data.frame(row.names=c('X','Y','Z'), x1=c(2,1,5),y=c(4,3,2))
2006 May 05
2
dovecot LDA w/virtual domains and postfix
Hi,
I've been trying to follow the documentation that I am finding, but am running
into trouble getting things set up correctly for postfix + virtual domains
(using ldap) with dovecot LDA. I can get it to work without LDA, but I'm
running into permissions problems when I try to run with LDA. I am wondering
if anyone has any good examples of configuring this.
I basically have a
2006 Mar 18
6
ActiveLDAP and variable sub scope object writing
Anyone out there using ActiveLDAP have an idea how I can accomplish
creating an object one level below a known base where we have a variable
item in the middle?
That first sentence doesn''t even make sense to me. Here''s what I want
to do: I have a user class that I use for managing users. Each user
gets a ou called addressbook (which in turn will contain sub-entries,
but
2003 Oct 22
2
non linear regression with R
Dear Colleagues,
I have x, y data (pollen and seed dispersal from oaks !) that I would
like to fit with a function which look like this:
p(a,b,x,y)=b/(2*pi*a?gamma(2/b))*exp(-(square_root(x?+y?)/a)power(b))
I am looking for a and b values that fit my data at best.
Can someone give me hints to perform such an analysis with R ?
Thanks a lot
Sophie
Sophie Gerber
2005 Apr 06
2
conditional selection with Factors
Hi All,
I want to select a level of a factor variable from a dataset. I have the folowing data:
dataset: use
factor: month (use$month, levels=February, July)
> use[1:5,]
month registration use department size
1 February KKG151GP Y Safety 1.6
To select February I tried:
> use[use$month=="February"]
Error in "[.data.frame"(use, use$month ==
2006 Mar 16
3
Passing function names from string variables
This may be a more generic Ruby question, so I''m going to ask on the Ruby
forum, but I''m trying to figure out if there is a way to pass in the string
value of a variable as the name of a method.
For example, I would like to do something like:
def sort_obj_by_uid(objects,@attr)
@tmparray = Array.new
@tmphash = Hash.new
for object in @objects
if !
2006 May 04
1
SIEVE: Any information at all?
Hi,
I am quickly losing the will to live over the lack of any kind of information
at all about the SIEVE support that is listed in the dovecot features list.
Does anyone have any information at all? I've grepped through the source,
looked through all the configuration files, and googled a fair bit and come
up with nothing at all.
How would a user with maildir enable a sieve script?
2012 Jul 10
1
RGL 3D curvilinear shapes
Dear useRs,
I'm trying to simply fill in the area under a curve using RGL. Here' the set
up:
x <- c(0.75,75.75,150.75,225.75,300.75,375.75,450.75,525.75,600.75,675.75,
0.5,50.5,100.5,150.5,200.5,250.5,300.5,350.5,400.5,450.5,
0.25,25.25,50.25,75.25,100.25,125.25,150.25,175.25,200.25,225.25)
y <- c(0.05,4.91,9.78,14.64,19.51,24.38,29.24,34.11,38.97,43.84,
2000 Apr 04
2
customizing help()
Hi
I tried to customize help(), so it starts the compiled html help, and
searches in all packages.
I wrote the following function:
> my.help
function(topic){
help(topic, package=.packages(all=T), lib.loc=.lib.loc, chmhelp=T)
}
When I use it with
>my.help(help)
give the following error:
Error in help(topic, package = .packages(all = T), lib.loc = .lib.loc, :
No documentation
2006 Jun 19
6
User Loses Ability to Make Outgoing Calls
We've been running an Asterisk-based phone system here in our office for
a year and a half, and it's pretty much been running smoothly.
One employee who works out of the office has a problem that she can't
make outgoing calls on a temporary basis every so often (a few times a day).
No one else has this problem, her settings are fine, and she regains the
capability spontaneously with no
2006 Mar 06
1
ActiveLDAP handle uppercase attributes?
Does anyone know how to assign values to LDAP objects with upper cased
attributes? For example, you can normally do:
user = User.new(@user)
user.sn = params[:user][attr]
But what about the case where there is an attribute that looks like
OXTimeZone? You clearly can''t do:
user = User.new(@user)
user.OXTimeZone = params[:user][attr]
I''m trying to
2004 Sep 23
1
Alternate MP3 Player
Hi! I am currently working on setting up an Asterisk system, and I was
wondering if anyone has worked on an alternate mp3 player to mpg123.
We have a library of MP3 files that we would like people to be able to select
and play over the phone -- and this will require pause & resume, as well
as fast forward / reverse (jump forward / jump back). It doesn't seem like
mpg123 can do this. Is
2007 Jan 19
1
naive bayes help
Hello
I have a rather simple code and for some reason it produces an error
message. If someone can tell me why and how to fix it, I would be very
greatful. Thank you in advance.
##### create data
set.seed(10)
n <- 200 # number of training points
n.test <- 200 # number of test points
p<-2 # dimension of input space
z <-
2009 Mar 20
2
A category reduction problem
I am trying to print out a list of strings of length 11 based on
integers 0 through 10. The rules as given to me for the ordering are:
The first digit must be 0.
The 2nd digit must be 0 or 1.
The 3rd digit must equal the 2nd digit or the 2nd digit +1.
...
Given the final digit, n, all digits 0 through n must appear in a given
sequence.
So the final 1024 item list should look like
0 1 2 3 4 5
2008 Nov 13
4
Moving a file with Puppet
I wanted to move a file from one directory to another because my co-
worker didn''t like where it was being put by puppet. I went into
puppet and changed the name parameter of the the file directive. I
then created a new file directive to delete the old file, but I was
wondering if there was a better way to do this.
So, just to clarify, I went from:
file {"myfile":
name
2011 Sep 09
1
rgl: axis/viewport/box problems in persp3d()
Dear expeRts,
I am a new user of rgl, below is my first trial to plot a simple function in 3d.
I managed to put the axes in the right locations, but:
(1) The xlab, ylab, and zlab arguments are ignored; how can I put in axes labels?
(2) Since I removed the axes in persp3d() the viewport is too small; is it possible
to keep the size of the viewport?
(3) The box is not correctly drawn, there
2008 Jan 06
3
Can a dynamic graphic produced by rgl be saved?
Dear r-helpers,
Can one save a dynamic graphic produced by rgl, e.g.:
open3d(); x <- sort(rnorm(1000)); y <- rnorm(1000); z <-
rnorm(1000) + atan2(x,y); plot3d(x, y, z, col=rainbow(1000), size=2)
as a dynamic figure that can be embedded in a pdf?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400
2008 Feb 15
7
History of R
Earlier today I sent a question to Frank Harrell as an R developer with
whom I am most familiar. He suggested also that I put my questions to
the list for additional responses. Next month I'll be giving a talk on
R as an example of high quality open source software. I think there is
much to learn from R as a high quality extensible product that (at least
as far as I can tell) has never
1999 Dec 16
3
Samab and init.d
Is it better to start Samba using in initd, or to use the script, much like
the one provided by SuSE. ?? so far I have used the script, but I don't
like the fact of having to start samba manually. I would much prefer to
see it run as a service. just to confirm all it really involves is starting
smbd and nmbd
Rowan [TSS]
Gerber Scientific Products
http://www.gspinc.com
2012 Jul 13
2
alternate tick labels and tick marks with lattice xyplot
Hi,
I would like to use xyplot to create a figure. Unfortunately, I cannot find
documentation in xyplot to specify alternating the x-axis tick labels with
the x-axis tick marks. I can do this with the regular R plot function as
follows.
#A small version of my data looks like this
data<-data.frame(matrix(ncol=3,nrow=12))
data[,1]<-rep(c(1,2,3),c(4,4,4))
data[,2]<-rep(c(1,2,3,4),3)