Skip to content

axes limits in do3d

6 messages · Hrishi Mittal, drlasher, Jonathan Christensen

#
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.
#
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.
#
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.