Does anybody know how to change the axes limits in do3d in made4? This is the code I have tried: do3d(sub, x=2, y=1, z=3, pch="+", col="darkgreen", ylim=c(0,4), xlim=c(0,140) ) But it doesn't seem to change the limits of the x and y axes as I would expect. I've also tried lab statements but can't seem to achieve the scales that I want. Any ideas would be much appreciated. -- View this message in context: http://n4.nabble.com/axes-limits-in-do3d-tp1565754p1565754.html Sent from the R help mailing list archive at Nabble.com.
What is your dataset? Can you provide a sample? Also, what errors or warnings do you get when you run your command? ----- Try http://prettygraph.com Pretty Graph , the easiest way to make R-powered graphs on the web. -- View this message in context: http://n4.nabble.com/axes-limits-in-do3d-tp1565754p1565818.html Sent from the R help mailing list archive at Nabble.com.
Here is an extract from the data. It's data from a model. Social weighting varies from 0-1, Between Individual deviation from 0-140, Mean cluster score from 0-4. Social.Weighting Between.Individual.Deviation Mean.Cluster.Score 1 0 50.94769 1.4014520 2 0 48.81940 0.8129322 3 0 82.42724 1.4502070 4 0 76.33424 0.8686030 5 0 41.60529 1.2493080 6 0 93.09986 0.7672890 7 0 61.07373 1.0093360 8 0 23.30236 1.5663900 9 0 80.77335 0.8858921 10 0 90.16651 0.6780775 Thanks for the pretty graph package it looks interesting, but I understand that you have to buy the package and I use R because it's freely available software. -- View this message in context: http://n4.nabble.com/axes-limits-in-do3d-tp1565754p1565916.html Sent from the R help mailing list archive at Nabble.com.
ALso meant to say there are no warnings when I run the code as shown here. It just doesn't change the scale of the axes. -- View this message in context: http://n4.nabble.com/axes-limits-in-do3d-tp1565754p1565920.html Sent from the R help mailing list archive at Nabble.com.
ALso meant to say there are no warnings when I run the code as shown here. It just doesn't change the scale of the axes. -- View this message in context: http://n4.nabble.com/axes-limits-in-do3d-tp1565754p1565919.html Sent from the R help mailing list archive at Nabble.com.
Hi, On Tue, Feb 23, 2010 at 4:03 AM, drlasher <lasher@rvc.ac.uk> wrote:> > Does anybody know how to change the axes limits in do3d in made4? > > This is the code I have tried: > > do3d(sub, x=2, y=1, z=3, pch="+", > col="darkgreen", ylim=c(0,4), xlim=c(0,140) > ) > > But it doesn't seem to change the limits of the x and y axes as I would > expect. I've also tried lab statements but can't seem to achieve the scales > that I want. > > Any ideas would be much appreciated. >You may want to ask on the BioConductor list, as made4 is not a "standard" r package. That said, the made4 documentation says that do3d uses scatterplot3d. The scatterplot3d package documentation says that "setting enlarged limits may not work as exactly as expected (a known but unfixed bug)." So that may be your problem. Best of luck, Jonathan> -- > View this message in context: > http://n4.nabble.com/axes-limits-in-do3d-tp1565754p1565754.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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 commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]