|
|
|
|
|
|
s********1 发帖数: 54 | 1 I wonder whether SAS can make the plots in the attachment. i have two plots
. The left plot is to paste all the numbers of z to
the corresponding x-axis and y-axis. I want to see the numbers instead of
symbols. For the right plot, I hope I can create a image
lot or color plot which can imply the values of z by using the colors. Note
that I do not want to show z=-1 for both of these two
o plots and I want to show the text, "number of bugs", on the right of color
scale. Can SAS create this type of plot? I tried to
use proc g3d. But I do not think this is the right proc for me to use.
Thank you!!!!!
The following is my data in sas code:
data ss;
input x y z;
cards;
1 1 -1
1 2 -1
1 3 -1
1 4 -1
1 5 -1
1 6 -1
1 7 -1
1 8 -1
1 9 -1
1 10 -1
1 11 -1
1 12 -1
1 13 -1
1 14 2
1 15 -1
1 16 -1
1 17 -1
1 18 -1
1 19 -1
1 20 -1
1 21 -1
1 22 -1
1 23 -1
1 24 -1
1 25 -1
1 26 -1
1 27 -1
1 28 -1
1 29 -1
1 30 -1
2 1 -1
2 2 -1
2 3 -1
2 4 -1
2 5 1
2 6 -1
2 7 -1
2 8 -1
2 9 -1
2 10 -1
2 11 -1
2 12 -1
2 13 -1
2 14 1
2 15 1
2 16 -1
2 17 -1
2 18 -1
2 19 -1
2 20 -1
2 21 -1
2 22 -1
2 23 -1
2 24 -1
2 25 3
2 26 0
2 27 -1
2 28 -1
2 29 -1
2 30 -1
3 1 -1
3 2 -1
3 3 -1
3 4 -1
3 5 -1
3 6 -1
3 7 2
3 8 -1
3 9 3
3 10 -1
3 11 -1
3 12 -1
3 13 -1
3 14 -1
3 15 -1
3 16 -1
3 17 -1
3 18 -1
3 19 -1
3 20 -1
3 21 -1
3 22 -1
3 23 -1
3 24 -1
3 25 -1
3 26 -1
3 27 -1
3 28 -1
3 29 -1
3 30 -1
4 1 -1
4 2 -1
4 3 -1
4 4 -1
4 5 -1
4 6 -1
4 7 -1
4 8 -1
4 9 -1
4 10 -1
4 11 -1
4 12 -1
4 13 -1
4 14 -1
4 15 -1
4 16 -1
4 17 3
4 18 -1
4 19 -1
4 20 -1
4 21 -1
4 22 -1
4 23 -1
4 24 -1
4 25 -1
4 26 4
4 27 -1
4 28 -1
4 29 -1
4 30 1
5 1 -1
5 2 -1
5 3 -1
5 4 -1
5 5 1
5 6 -1
5 7 -1
5 8 -1
5 9 -1
5 10 -1
5 11 1
5 12 -1
5 13 -1
5 14 1
5 15 -1
5 16 -1
5 17 -1
5 18 0
5 19 -1
5 20 -1
5 21 -1
5 22 -1
5 23 -1
5 24 -1
5 25 -1
5 26 2
5 27 -1
5 28 -1
5 29 -1
5 30 -1
6 1 -1
6 2 -1
6 3 -1
6 4 -1
6 5 -1
6 6 -1
6 7 -1
6 8 -1
6 9 -1
6 10 -1
6 11 -1
6 12 -1
6 13 -1
6 14 -1
6 15 -1
6 16 -1
6 17 0
6 18 -1
6 19 -1
6 20 -1
6 21 -1
6 22 -1
6 23 -1
6 24 -1
6 25 -1
6 26 -1
6 27 -1
6 28 -1
6 29 1
6 30 -1
7 1 -1
7 2 -1
7 3 -1
7 4 -1
7 5 -1
7 6 -1
7 7 -1
7 8 -1
7 9 2
7 10 1
7 11 -1
7 12 -1
7 13 -1
7 14 -1
7 15 -1
7 16 -1
7 17 -1
7 18 -1
7 19 -1
7 20 0
7 21 -1
7 22 -1
7 23 -1
7 24 3
7 25 -1
7 26 -1
7 27 -1
7 28 -1
7 29 -1
7 30 -1
8 1 -1
8 2 -1
8 3 -1
8 4 -1
8 5 -1
8 6 2
8 7 2
8 8 -1
8 9 1
8 10 -1
8 11 -1
8 12 -1
8 13 1
8 14 -1
8 15 -1
8 16 -1
8 17 -1
8 18 -1
8 19 -1
8 20 -1
8 21 -1
8 22 -1
8 23 -1
8 24 -1
8 25 -1
8 26 -1
8 27 -1
8 28 4
8 29 -1
8 30 -1
9 1 -1
9 2 -1
9 3 -1
9 4 -1
9 5 -1
9 6 -1
9 7 2
9 8 -1
9 9 -1
9 10 -1
9 11 -1
9 12 -1
9 13 -1
9 14 -1
9 15 -1
9 16 -1
9 17 -1
9 18 -1
9 19 -1
9 20 -1
9 21 -1
9 22 -1
9 23 -1
9 24 -1
9 25 -1
9 26 -1
9 27 -1
9 28 -1
9 29 -1
9 30 -1
10 1 -1
10 2 -1
10 3 -1
10 4 -1
10 5 -1
10 6 -1
10 7 -1
10 8 1
10 9 -1
10 10 -1
10 11 -1
10 12 -1
10 13 -1
10 14 -1
10 15 -1
10 16 -1
10 17 -1
10 18 -1
10 19 -1
10 20 -1
10 21 -1
10 22 -1
10 23 -1
10 24 -1
10 25 -1
10 26 -1
10 27 4
10 28 -1
10 29 -1
10 30 -1
11 1 -1
11 2 -1
11 3 -1
11 4 1
11 5 1
11 6 -1
11 7 -1
11 8 -1
11 9 -1
11 10 -1
11 11 -1
11 12 -1
11 13 -1
11 14 -1
11 15 -1
11 16 -1
11 17 -1
11 18 -1
11 19 -1
11 20 -1
11 21 -1
11 22 -1
11 23 2
11 24 -1
11 25 -1
11 26 -1
11 27 -1
11 28 -1
11 29 -1
11 30 -1
12 1 -1
12 2 -1
12 3 -1
12 4 -1
12 5 -1
12 6 -1
12 7 -1
12 8 -1
12 9 -1
12 10 -1
12 11 -1
12 12 -1
12 13 -1
12 14 -1
12 15 -1
12 16 2
12 17 -1
12 18 -1
12 19 -1
12 20 -1
12 21 -1
12 22 -1
12 23 -1
12 24 -1
12 25 -1
12 26 -1
12 27 -1
12 28 -1
12 29 -1
12 30 1
13 1 -1
13 2 -1
13 3 -1
13 4 -1
13 5 -1
13 6 0
13 7 -1
13 8 -1
13 9 -1
13 10 -1
13 11 -1
13 12 -1
13 13 -1
13 14 4
13 15 -1
13 16 -1
13 17 3
13 18 -1
13 19 -1
13 20 -1
13 21 0
13 22 -1
13 23 -1
13 24 -1
13 25 -1
13 26 1
13 27 -1
13 28 -1
13 29 0
13 30 -1
14 1 -1
14 2 -1
14 3 -1
14 4 -1
14 5 -1
14 6 -1
14 7 -1
14 8 -1
14 9 -1
14 10 -1
14 11 -1
14 12 -1
14 13 -1
14 14 -1
14 15 -1
14 16 -1
14 17 -1
14 18 -1
14 19 -1
14 20 -1
14 21 -1
14 22 -1
14 23 -1
14 24 -1
14 25 -1
14 26 2
14 27 1
14 28 -1
14 29 -1
14 30 -1
15 1 0
15 2 -1
15 3 -1
15 4 -1
15 5 -1
15 6 -1
15 7 -1
15 8 -1
15 9 -1
15 10 -1
15 11 -1
15 12 -1
15 13 -1
15 14 -1
15 15 -1
15 16 -1
15 17 -1
15 18 -1
15 19 -1
15 20 -1
15 21 -1
15 22 -1
15 23 -1
15 24 -1
15 25 -1
15 26 -1
15 27 -1
15 28 -1
15 29 -1
15 30 -1
16 1 1
16 2 -1
16 3 -1
16 4 -1
16 5 -1
16 6 -1
16 7 -1
16 8 -1
16 9 -1
16 10 -1
16 11 3
16 12 -1
16 13 -1
16 14 -1
16 15 -1
16 16 -1
16 17 -1
16 18 3
16 19 -1
16 20 0
16 21 -1
16 22 -1
16 23 -1
16 24 -1
16 25 -1
16 26 -1
16 27 -1
16 28 -1
16 29 -1
16 30 -1
17 1 0
17 2 -1
17 3 -1
17 4 1
17 5 -1
17 6 -1
17 7 -1
17 8 -1
17 9 -1
17 10 -1
17 11 -1
17 12 -1
17 13 -1
17 14 -1
17 15 -1
17 16 -1
17 17 -1
17 18 -1
17 19 -1
17 20 -1
17 21 -1
17 22 -1
17 23 -1
17 24 -1
17 25 -1
17 26 -1
17 27 -1
17 28 -1
17 29 -1
17 30 -1
18 1 -1
18 2 -1
18 3 -1
18 4 -1
18 5 -1
18 6 -1
18 7 -1
18 8 -1
18 9 -1
18 10 -1
18 11 -1
18 12 -1
18 13 -1
18 14 -1
18 15 0
18 16 -1
18 17 -1
18 18 -1
18 19 -1
18 20 -1
18 21 -1
18 22 -1
18 23 -1
18 24 1
18 25 -1
18 26 -1
18 27 2
18 28 -1
18 29 -1
18 30 -1
19 1 -1
19 2 -1
19 3 -1
19 4 -1
19 5 -1
19 6 -1
19 7 0
19 8 4
19 9 -1
19 10 -1
19 11 -1
19 12 0
19 13 -1
19 14 -1
19 15 0
19 16 -1
19 17 -1
19 18 -1
19 19 -1
19 20 -1
19 21 -1
19 22 -1
19 23 0
19 24 -1
19 25 -1
19 26 -1
19 27 -1
19 28 -1
19 29 -1
19 30 -1
20 1 -1
20 2 -1
20 3 -1
20 4 -1
20 5 -1
20 6 -1
20 7 -1
20 8 -1
20 9 -1
20 10 -1
20 11 -1
20 12 -1
20 13 -1
20 14 -1
20 15 1
20 16 -1
20 17 -1
20 18 -1
20 19 -1
20 20 -1
20 21 -1
20 22 -1
20 23 -1
20 24 -1
20 25 -1
20 26 -1
20 27 -1
20 28 2
20 29 -1
20 30 -1
21 1 -1
21 2 -1
21 3 -1
21 4 -1
21 5 -1
21 6 -1
21 7 -1
21 8 -1
21 9 -1
21 10 -1
21 11 -1
21 12 2
21 13 -1
21 14 -1
21 15 -1
21 16 2
21 17 -1
21 18 -1
21 19 -1
21 20 -1
21 21 3
21 22 1
21 23 -1
21 24 -1
21 25 3
21 26 -1
21 27 -1
21 28 -1
21 29 2
21 30 -1
22 1 -1
22 2 -1
22 3 0
22 4 -1
22 5 2
22 6 -1
22 7 -1
22 8 -1
22 9 -1
22 10 -1
22 11 -1
22 12 -1
22 13 -1
22 14 -1
22 15 -1
22 16 -1
22 17 -1
22 18 -1
22 19 -1
22 20 -1
22 21 -1
22 22 1
22 23 -1
22 24 -1
22 25 -1
22 26 -1
22 27 -1
22 28 -1
22 29 -1
22 30 -1
23 1 4
23 2 -1
23 3 -1
23 4 -1
23 5 -1
23 6 -1
23 7 0
23 8 -1
23 9 -1
23 10 -1
23 11 -1
23 12 -1
23 13 3
23 14 -1
23 15 -1
23 16 -1
23 17 -1
23 18 -1
23 19 -1
23 20 -1
23 21 -1
23 22 -1
23 23 -1
23 24 -1
23 25 -1
23 26 -1
23 27 -1
23 28 -1
23 29 -1
23 30 -1
24 1 -1
24 2 -1
24 3 -1
24 4 -1
24 5 2
24 6 2
24 7 -1
24 8 1
24 9 -1
24 10 -1
24 11 -1
24 12 -1
24 13 -1
24 14 -1
24 15 -1
24 16 3
24 17 -1
24 18 -1
24 19 -1
24 20 -1
24 21 1
24 22 3
24 23 -1
24 24 -1
24 25 -1
24 26 -1
24 27 -1
24 28 -1
24 29 -1
24 30 -1
25 1 -1
25 2 -1
25 3 -1
25 4 -1
25 5 -1
25 6 -1
25 7 -1
25 8 -1
25 9 -1
25 10 -1
25 11 -1
25 12 2
25 13 -1
25 14 -1
25 15 -1
25 16 -1
25 17 -1
25 18 -1
25 19 -1
25 20 -1
25 21 -1
25 22 -1
25 23 -1
25 24 -1
25 25 -1
25 26 -1
25 27 3
25 28 -1
25 29 -1
25 30 -1
26 1 -1
26 2 -1
26 3 2
26 4 1
26 5 -1
26 6 -1
26 7 -1
26 8 -1
26 9 1
26 10 -1
26 11 -1
26 12 -1
26 13 -1
26 14 -1
26 15 -1
26 16 -1
26 17 -1
26 18 -1
26 19 -1
26 20 -1
26 21 -1
26 22 -1
26 23 -1
26 24 -1
26 25 -1
26 26 -1
26 27 -1
26 28 -1
26 29 -1
26 30 -1
27 1 -1
27 2 -1
27 3 5
27 4 -1
27 5 -1
27 6 -1
27 7 -1
27 8 -1
27 9 -1
27 10 -1
27 11 -1
27 12 -1
27 13 -1
27 14 -1
27 15 -1
27 16 1
27 17 -1
27 18 -1
27 19 -1
27 20 -1
27 21 -1
27 22 -1
27 23 -1
27 24 -1
27 25 -1
27 26 -1
27 27 -1
27 28 2
27 29 -1
27 30 -1
28 1 -1
28 2 -1
28 3 -1
28 4 -1
28 5 -1
28 6 -1
28 7 -1
28 8 1
28 9 -1
28 10 -1
28 11 -1
28 12 -1
28 13 -1
28 14 -1
28 15 -1
28 16 -1
28 17 -1
28 18 -1
28 19 -1
28 20 0
28 21 -1
28 22 0
28 23 -1
28 24 -1
28 25 -1
28 26 -1
28 27 -1
28 28 -1
28 29 -1
28 30 -1
29 1 -1
29 2 1
29 3 -1
29 4 1
29 5 -1
29 6 -1
29 7 -1
29 8 -1
29 9 -1
29 10 -1
29 11 -1
29 12 -1
29 13 -1
29 14 -1
29 15 -1
29 16 -1
29 17 -1
29 18 -1
29 19 1
29 20 -1
29 21 -1
29 22 -1
29 23 -1
29 24 2
29 25 -1
29 26 -1
29 27 -1
29 28 -1
29 29 -1
29 30 -1
30 1 -1
30 2 -1
30 3 -1
30 4 -1
30 5 -1
30 6 -1
30 7 -1
30 8 -1
30 9 -1
30 10 -1
30 11 -1
30 12 -1
30 13 -1
30 14 -1
30 15 -1
30 16 -1
30 17 -1
30 18 -1
30 19 -1
30 20 -1
30 21 -1
30 22 -1
30 23 -1
30 24 1
30 25 -1
30 26 -1
30 27 -1
30 28 -1
30 29 -1
30 30 1
31 1 -1
31 2 -1
31 3 -1
31 4 0
31 5 -1
31 6 -1
31 7 -1
31 8 -1
31 9 -1
31 10 -1
31 11 -1
31 12 -1
31 13 -1
31 14 -1
31 15 -1
31 16 -1
31 17 -1
31 18 1
31 19 -1
31 20 -1
31 21 -1
31 22 -1
31 23 -1
31 24 -1
31 25 -1
31 26 -1
31 27 -1
31 28 -1
31 29 -1
31 30 -1
32 1 -1
32 2 -1
32 3 -1
32 4 -1
32 5 -1
32 6 -1
32 7 -1
32 8 -1
32 9 -1
32 10 -1
32 11 -1
32 12 -1
32 13 -1
32 14 -1
32 15 -1
32 16 -1
32 17 -1
32 18 0
32 19 -1
32 20 -1
32 21 -1
32 22 -1
32 23 -1
32 24 -1
32 25 -1
32 26 -1
32 27 -1
32 28 -1
32 29 -1
32 30 -1
33 1 -1
33 2 -1
33 3 -1
33 4 -1
33 5 -1
33 6 -1
33 7 -1
33 8 -1
33 9 -1
33 10 -1
33 11 -1
33 12 -1
33 13 -1
33 14 1
33 15 -1
33 16 5
33 17 -1
33 18 -1
33 19 -1
33 20 -1
33 21 4
33 22 -1
33 23 -1
33 24 -1
33 25 -1
33 26 -1
33 27 -1
33 28 -1
33 29 -1
33 30 -1
34 1 -1
34 2 -1
34 3 4
34 4 -1
34 5 -1
34 6 -1
34 7 -1
34 8 -1
34 9 -1
34 10 -1
34 11 -1
34 12 -1
34 13 -1
34 14 2
34 15 -1
34 16 0
34 17 -1
34 18 -1
34 19 -1
34 20 -1
34 21 -1
34 22 -1
34 23 -1
34 24 -1
34 25 -1
34 26 -1
34 27 -1
34 28 -1
34 29 -1
34 30 -1
35 1 -1
35 2 -1
35 3 -1
35 4 -1
35 5 -1
35 6 -1
35 7 -1
35 8 -1
35 9 -1
35 10 2
35 11 -1
35 12 -1
35 13 -1
35 14 -1
35 15 -1
35 16 -1
35 17 -1
35 18 -1
35 19 -1
35 20 -1
35 21 -1
35 22 -1
35 23 -1
35 24 -1
35 25 -1
35 26 -1
35 27 -1
35 28 -1
35 29 -1
35 30 -1
36 1 -1
36 2 -1
36 3 -1
36 4 -1
36 5 -1
36 6 -1
36 7 -1
36 8 -1
36 9 1
36 10 -1
36 11 -1
36 12 -1
36 13 -1
36 14 -1
36 15 -1
36 16 -1
36 17 -1
36 18 -1
36 19 -1
36 20 -1
36 21 -1
36 22 -1
36 23 -1
36 24 -1
36 25 -1
36 26 -1
36 27 2
36 28 -1
36 29 -1
36 30 -1
37 1 -1
37 2 1
37 3 -1
37 4 -1
37 5 -1
37 6 -1
37 7 -1
37 8 -1
37 9 -1
37 10 -1
37 11 -1
37 12 -1
37 13 -1
37 14 -1
37 15 -1
37 16 -1
37 17 0
37 18 -1
37 19 -1
37 20 -1
37 21 -1
37 22 -1
37 23 -1
37 24 -1
37 25 -1
37 26 1
37 27 -1
37 28 -1
37 29 2
37 30 -1
38 1 -1
38 2 -1
38 3 -1
38 4 -1
38 5 -1
38 6 -1
38 7 -1
38 8 -1
38 9 -1
38 10 -1
38 11 -1
38 12 -1
38 13 -1
38 14 -1
38 15 1
38 16 -1
38 17 -1
38 18 -1
38 19 -1
38 20 -1
38 21 -1
38 22 -1
38 23 -1
38 24 -1
38 25 -1
38 26 -1
38 27 -1
38 28 -1
38 29 -1
38 30 -1
39 1 -1
39 2 -1
39 3 -1
39 4 -1
39 5 -1
39 6 -1
39 7 -1
39 8 -1
39 9 -1
39 10 -1
39 11 1
39 12 -1
39 13 -1
39 14 -1
39 15 -1
39 16 -1
39 17 -1
39 18 -1
39 19 -1
39 20 -1
39 21 -1
39 22 -1
39 23 -1
39 24 -1
39 25 -1
39 26 -1
39 27 -1
39 28 -1
39 29 -1
39 30 -1
40 1 -1
40 2 -1
40 3 -1
40 4 1
40 5 -1
40 6 -1
40 7 -1
40 8 -1
40 9 -1
40 10 -1
40 11 -1
40 12 2
40 13 -1
40 14 -1
40 15 -1
40 16 -1
40 17 1
40 18 -1
40 19 1
40 20 -1
40 21 -1
40 22 0
40 23 1
40 24 -1
40 25 -1
40 26 1
40 27 -1
40 28 -1
40 29 -1
40 30 -1
;
run;
proc print;
run; | o****o 发帖数: 8077 | 2 is this giving you a jump start?
*******************************;
data ss;
set ss;
if z=-1 then x2=.;
else x2=x;
run;
ods html ;
symbol1 value='squarefilled';
proc gplot data=ss;
plot y*x2 =z ;
label x2="X" y="Y";
run;quit;
ods html close; | m*********n 发帖数: 413 | 3 SAS 9.3 里面应该有吧,heatmap,先用proc template定义,再用proc sgrender画图 | b******e 发帖数: 202 | 4 yes, there is some example and code
http://robslink.com/SAS/democd10/aaaindex.htm
【在 m*********n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : SAS 9.3 里面应该有吧,heatmap,先用proc template定义,再用proc sgrender画图
| m*********n 发帖数: 413 | 5 这是两码事,这个link的例子是用SAS/Graph画出来的
我说的是用SAS GTL
【在 b******e 的大作中提到】![](/moin_static193/solenoid/img/up.png) : yes, there is some example and code : http://robslink.com/SAS/democd10/aaaindex.htm
|
|
|
|
|
|