Hello sir:
I have a question about the axis label of scatterplot3d function.
The data is in the attachment.
 
If I use the command:
scatterplot3d(x,y,z,type="h")
 
I want the  plot's x-axis lab to be 1,2,3,...,13, y-axis lab to be 1,2,3,...11
 
But if I use the command:
scatterplot3d(x,y,z,type="h",x.ticklabs=1:13,y.ticklabs=1:11)
The axis labs are overlap, still can't get what I want.
 
I'm in difficulty in how to set the axis labels,which need your suggestion very 
much.
 
Thanks for your help.
 
My best.
 
 
way     nation  fre
1       1       0
1       2       1
1       3       1317
1       4       0
1       5       0
1       6       0
1       7       1
1       8       1
1       9       1
1       10      16
1       11      2
2       1       0
2       2       0
2       3       35
2       4       0
2       5       0
2       6       0
2       7       0
2       8       0
2       9       3
2       10      0
2       11      0
3       1       12
3       2       8
3       3       539
3       4       38
3       5       7
3       6       0
3       7       6
3       8       7
3       9       325
3       10      36
3       11      15
4       1       0
4       2       0
4       3       2
4       4       0
4       5       0
4       6       0
4       7       0
4       8       0
4       9       1
4       10      0
4       11      0
5       1       0
5       2       0
5       3       4
5       4       1
5       5       0
5       6       0
5       7       0
5       8       0
5       9       4
5       10      0
5       11      2
6       1       0
6       2       0
6       3       0
6       4       0
6       5       0
6       6       0
6       7       0
6       8       0
6       9       1
6       10      0
6       11      0
7       1       0
7       2       0
7       3       1
7       4       0
7       5       0
7       6       0
7       7       0
7       8       0
7       9       0
7       10      0
7       11      0
8       1       0
8       2       0
8       3       128
8       4       2
8       5       0
8       6       0
8       7       0
8       8       0
8       9       0
8       10      0
8       11      1
9       1       0
9       2       0
9       3       22
9       4       0
9       5       0
9       6       0
9       7       0
9       8       0
9       9       3
9       10      0
9       11      0
10      1       0
10      2       0
10      3       8
10      4       0
10      5       0
10      6       0
10      7       0
10      8       0
10      9       2
10      10      0
10      11      0
11      1       0
11      2       0
11      3       6
11      4       0
11      5       0
11      6       0
11      7       0
11      8       1
11      9       0
11      10      0
11      11      0
12      1       0
12      2       0
12      3       124
12      4       1
12      5       0
12      6       10
12      7       0
12      8       0
12      9       5
12      10      1
12      11      0
13      1       5
13      2       3
13      3       561
13      4       7
13      5       3
13      6       0
13      7       7
13      8       9
13      9       50
13      10      7
13      11      45
______________________________________________
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.

Reply via email to