[R] scatterplot3d
Nair, Murlidharan T
mnair at iusb.edu
Thu May 14 02:02:47 CEST 2009
Does anyone have any suggestion on this? I tried par(new="T") It does not seem to work with scatterplot3d. Any suggestion is appreciated.
Cheers../Murli
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Nair, Murlidharan T
Sent: Wednesday, May 13, 2009 3:37 PM
To: r-help at r-project.org
Subject: [R] scatterplot3d
Hi!!
I am interested in plotting 3 different (x,y,z) coordinate sets on the same plot. How do I achieve using scatterplot3d?
Is there an easy method to call to change the projection or rotate the figure along a particular axis? The following is the code that plots if one at a time. Any help is appreciated.
Cheers../Murli
library(lattice)
library(scatterplot3d)
#dna.data<-read.table("exampleStrData.txt", header=T)
dna.data<-structure(list(x = c(-0.976, -6.303, -9.18, -9.06, -5.614, -0.164,
5.426, 9.291, 9.906, 7.005, 1.692, -3.463, -7.177, -7.963, -5.736,
-1.219, 3.615, 6.269, 6.879, 4.084, -1.21, -7.535, -12.713, -15.096,
-14.614, -11.237, -6.99, -3.484, -2.401, -4.248, -9.079, -15.575,
-21.813, -25.937, -27.552, -26.456, -25.875, -25.034, -25.287,
-27.215, -31.032, -36.02, -41.416, -46.256, -51.102, -54.042,
-54.906, -55.819, -56.814, -58.038, -61.13, -65.598, -71.022,
-76.011, -79.895, -82.225, -84.397, -86.421, -89.339, -92.108,
-96.247, -100.082, -103.601, -108.129, -112.082, -114.986, -117.538,
-120.449, -122.97, -126.634, -130.103, -134.035, -138.364, -142.669,
-145.902, -149.369, -151.415, -153.209, -155.732, -159.215, -163.25,
-167.681, -171.346, -174.791, -178.37, -181.651, -185.104, -188.12,
-190.669, -194.157, -196.937, -200.38, -204.254, -208.881, -212.721,
-215.459, -218.595, -221.409, -224.476, -227.962, -231.158, -234.317,
-237.907, -241.606, -245.655, -248.442, -250.598, -253.455, -257.274,
-261.822, -265.844, -269.848, -273.594, -276.022, -278.695, -281.207,
-283.789, -287.246, -290.888, -295.352, -299.21, -303.33, -306.367,
-309.065, -312.064, -314.715, -318.076, -321.929, -325.512, -329.274,
-333.206, -336.78, -340.07, -342.181, -344.743, -348.16, -351.067,
-353.741, -356.422, -359.35, -364.045, -368.999, -373.59, -377.852,
-381.278, -383.766, -385.238, -387.026, -388.751, -390.822, -394.156,
-398.712, -404.357, -409.85, -414.053, -416.838, -418.37, -419.415,
-420.259, -421.386, -423.821, -426.858, -431.561, -436.892, -442.576,
-447.087, -449.644, -451.747, -451.988, -452.06, -452.818, -455.908,
-460.367, -466.487, -472.09, -477.038, -479.276, -479.32, -479.023,
-479.15, -479.68, -482.804, -488.106, -493.789, -499.546, -503.815,
-506.616, -507.113, -505.542, -504.38, -504.942, -507.754, -512.085,
-517.712, -523.884, -528.347, -531.918, -533.124, -533.519, -532.602,
-533.009, -534.518, -538.442, -543.402, -549.54, -554.481, -558.977,
-561.288, -561.256, -561.215, -560.699, -562.118, -565.226, -570.285,
-576.374, -581.882, -585.705, -587.281, -588.984, -590.669, -592.348,
-594.75, -597.098, -600.538, -605.565, -611.006, -616.036, -620.408,
-622.303, -622.504, -621.953, -622.305, -624.874, -629.303, -635.501,
-641.425, -646.202, -649.046, -649.801, -649.026, -647.58, -647.557,
-648.536, -652.066, -657.337, -663.912, -669.809, -673.629, -675.536,
-675.425, -674.216, -672.441, -671.959, -674.436, -678.829, -684.336,
-689.951, -694.944, -698.649, -700.648, -700.599, -699.689, -698.986,
-700.502, -703.473, -709.192, -715.417, -721.053, -725.085, -727.794,
-728.295, -728.072, -726.634, -726.391, -728.629, -732.609, -738.011,
-744.458, -749.378, -752.045, -752.237, -750.693, -749.24, -749.673,
-752.347, -757.124, -763.106, -769.433, -773.955, -776.569, -776.807,
-776.779, -776.232, -776.12, -777.713, -780.521, -785.29, -791.844,
-798.007, -802.178, -804.119, -804.634, -803.615, -803.706, -803.761,
-806.265, -810.164, -816.269, -822.515, -827.322, -831.152, -832.468,
-832.926, -832.808, -832.696, -834.214, -838.204, -843.281, -848.907,
-854.053, -858.641, -861.891, -862.645, -863.157, -862.809, -863.661,
-865.428, -869.157, -874.066, -880.179, -885.446, -888.681, -891.175,
-892.408, -893.407, -894.295, -896.526, -900.06, -904.807, -909.516,
-914.03, -918.627, -922.211, -925.316, -926.835, -929.317, -931.379,
-934.21, -937.533, -941.34, -944.962, -0.976, 4.509, 7.845, 8.938,
6.746, 2.106, -3.074, -6.728, -7.461, -5.013, -0.36, 4.507, 8.344,
8.955, 6.515, 1.522, -4.38, -8.926, -11.956, -11.667, -8.739,
-4.113, -0.016, 1.378, 0.049, -4.305, -10.17, -16.129, -20.297,
-21.892, -20.503, -17.583, -14.865, -14.25, -15.966, -20.676,
-26.07, -32.111, -37.427, -41.451, -43.679, -44.32, -44.491,
-45.26, -45.979, -48.479, -53.002, -58.162, -63.396, -68.704,
-72.197, -74.332, -75.172, -76.391, -78.946, -82.721, -87.066,
-91.656, -95.749, -99.779, -102.51, -105.202, -108.241, -110.354,
-113.303, -116.726, -120.916, -124.836, -129.081, -132.062, -135.532,
-138.456, -141.047, -143.19, -146.24, -149.32, -153.518, -158.432,
-162.768, -166.131, -168.974, -171.32, -174.063, -177.343, -180.458,
-183.613, -187.115, -190.834, -194.954, -198.369, -202.194, -205.645,
-208.673, -210.647, -213.617, -217.341, -220.558, -224.687, -228.349,
-231.521, -235.328, -238.813, -242.261, -245.371, -247.99, -251.67,
-256.056, -260.075, -263.333, -265.46, -268.071, -270.367, -273.091,
-277.032, -281.16, -285.41, -289.463, -293.104, -296.329, -298.537,
-301.329, -303.678, -307.178, -310.808, -314.74, -318.902, -322.325,
-325.156, -328.606, -331.571, -334.537, -337.244, -340.708, -345.09,
-349.231, -352.899, -356.616, -360.596, -364.571, -368.279, -370.328,
-372.128, -374.218, -375.878, -378.806, -382.48, -387.015, -391.642,
-396.183, -400.751, -404.174, -406.308, -406.754, -407.268, -408.936,
-411.198, -415.028, -419.97, -425.211, -430.515, -434.467, -438.016,
-439.884, -440.9, -440.838, -442.112, -444.863, -448.534, -453.868,
-459.918, -465.41, -468.645, -470.339, -469.954, -469.946, -469.796,
-472.145, -476.933, -482.348, -488.043, -493.521, -496.481, -497.061,
-496.97, -495.931, -496.036, -497.435, -501.491, -507.54, -513.546,
-518.528, -521.684, -523.406, -523.318, -522.175, -522.462, -523.602,
-527.057, -531.986, -538.194, -543.609, -548.18, -550.518, -551.623,
-550.862, -551.012, -551.538, -554.484, -559.639, -564.899, -570.921,
-575.477, -578.535, -579.526, -579.108, -579.194, -580.789, -584.809,
-589.383, -593.802, -598.777, -603.085, -607.304, -610.572, -611.976,
-612.911, -614.018, -615.127, -618.521, -623.803, -629.941, -635.542,
-639.002, -640.492, -639.664, -638.555, -638.084, -639.086, -642.456,
-647.708, -654.124, -659.68, -664.227, -666.273, -666.22, -664.316,
-662.496, -662.924, -664.75, -668.884, -674.452, -681.141, -686.86,
-689.893, -690.969, -690.591, -690.07, -690.274, -691.297, -694.236,
-698.827, -704.762, -710.998, -715.266, -717.958, -717.925, -717.196,
-716.54, -716.79, -718.655, -722.836, -728.06, -734.498, -740.185,
-743.713, -745.321, -744.911, -742.603, -741.533, -742.943, -747.1,
-753.201, -759.769, -764.823, -767.683, -768.144, -766.919, -764.967,
-764.848, -766.233, -770.069, -775.049, -780.654, -786.316, -790.874,
-794.176, -795.181, -793.8, -792.533, -792.822, -795.2, -799.146,
-804.988, -810.646, -816.565, -820.023, -822.265, -822.111, -821.588,
-822.05, -823.257, -826.797, -831.459, -837.123, -843.216, -847.819,
-850.109, -851.148, -851.201, -851.308, -852.052, -853.51, -857.503,
-862.409, -868.581, -873.877, -878.487, -881.027, -882.058, -881.566,
-881.819, -884.213, -887.377, -891.988, -896.817, -902.098, -906.583,
-909.811, -911.576, -913.556, -915.47, -917.02, -919.49, -922.758,
-927.3, -931.605, -936.007, -939.964, -943.735, -946.785, -949.837,
0, -0.117, -0.305, -0.315, -0.167, 0.003, 0.336, 0.897, 1.441,
1.732, 1.633, 1.397, 1.035, 0.351, -0.302, -0.798, -1.265, -1.9,
-2.581, -3.261, -4.096, -4.9, -5.775, -6.785, -7.743, -8.618,
-9.512, -10.506, -11.615, -12.763, -14.085, -15.764, -17.747,
-19.815, -21.917, -24.144, -26.584, -29.167, -31.746, -34.375,
-37.006, -39.652, -42.438, -45.416, -48.463, -51.437, -54.368,
-57.382, -60.473, -63.539, -66.596, -69.655, -72.789, -76.045,
-79.332, -82.623, -85.932, -89.24, -92.565, -95.888, -99.175,
-102.477, -105.826, -109.199, -112.552, -115.9, -119.278, -122.664,
-126.035, -129.398, -132.767, -136.133, -139.448, -142.712, -146.008,
-149.337, -152.657, -155.98, -159.306, -162.633, -165.96, -169.269,
-172.599, -175.965, -179.332, -182.7, -186.072, -189.452, -192.838,
-196.223, -199.603, -202.977, -206.344, -209.708, -213.059, -216.414,
-219.76, -223.11, -226.491, -229.862, -233.238, -236.622, -240,
-243.369, -246.736, -250.112, -253.471, -256.808, -260.129, -263.438,
-266.747, -270.069, -273.392, -276.698, -280.033, -283.401, -286.756,
-290.102, -293.439, -296.765, -300.092, -303.417, -306.756, -310.096,
-313.451, -316.835, -320.222, -323.607, -326.988, -330.365, -333.714,
-337.045, -340.389, -343.746, -347.109, -350.478, -353.852, -357.204,
-360.511, -363.767, -367.041, -370.352, -373.592, -376.795, -380.018,
-383.249, -386.459, -389.647, -392.798, -395.915, -399.051, -402.118,
-405.179, -408.267, -411.256, -414.183, -417.088, -420.07, -423.144,
-426.216, -429.29, -432.347, -435.407, -438.393, -441.361, -444.332,
-447.311, -450.372, -453.393, -456.375, -459.29, -462.127, -464.906,
-467.705, -470.47, -473.126, -475.854, -478.626, -481.306, -484.032,
-486.777, -489.419, -492.108, -494.705, -497.136, -499.652, -502.22,
-504.762, -507.236, -509.582, -512.02, -514.655, -517.314, -519.886,
-522.437, -525.129, -527.875, -530.511, -533.229, -535.982, -538.701,
-541.453, -544.238, -546.963, -549.6, -552.376, -555.225, -558.039,
-560.895, -563.664, -566.294, -568.967, -571.702, -574.428, -577.259,
-580.266, -583.318, -586.355, -589.471, -592.623, -595.8, -599.041,
-602.235, -605.341, -608.45, -611.593, -614.648, -617.624, -620.633,
-623.627, -626.462, -629.163, -631.833, -634.422, -636.924, -639.356,
-641.752, -644.187, -646.596, -649.007, -651.481, -654.015, -656.48,
-658.831, -661.138, -663.386, -665.704, -668.025, -670.297, -672.651,
-675.026, -677.4, -679.723, -682.043, -684.411, -686.833, -689.456,
-692.203, -694.984, -697.753, -700.344, -702.853, -705.408, -707.963,
-710.476, -713.043, -715.697, -718.213, -720.707, -723.3, -725.951,
-728.646, -731.191, -733.619, -736.088, -738.518, -740.724, -742.793,
-745.039, -747.54, -750.138, -752.636, -755.045, -757.446, -759.792,
-762.054, -764.286, -766.651, -769.097, -771.506, -773.916, -776.462,
-779.078, -781.683, -784.412, -787.136, -789.676, -792.206, -794.781,
-797.276, -799.801, -802.368, -804.931, -807.654, -810.437, -813.159,
-815.895, -818.698, -821.556, -824.404, -827.212, -829.97, -832.72,
-835.501, -838.324, -841.109, -843.907, -846.722, -849.468, -852.245,
-854.989, -857.656, -860.408, -863.257, -866.164, -869.092, -871.977,
-874.792, -877.555, -880.407, -883.415, -886.482, -889.528, -892.567,
-895.583, -898.573, -901.65, -904.79, -907.992, -911.234, -914.444,
-917.646, -920.848, -924.052, -927.286, -930.591, -933.914, -937.227,
-940.565, -943.901, -947.228), y = c(9.259, 6.786, 2.687, -2.799,
-6.878, -8.266, -6.149, -1.07, 5.418, 11.214, 14.487, 14.788,
12.221, 8.393, 5.545, 5.463, 8.289, 12.889, 18.983, 25.416, 29.162,
30.022, 27.618, 23.153, 19.109, 17.069, 18.067, 22.23, 27.823,
34.161, 38.667, 40.039, 37.877, 33.821, 29.135, 25.896, 25.694,
28.379, 34.043, 40.227, 44.713, 47.249, 46.588, 43.071, 38.201,
34.295, 32.872, 34.335, 38.619, 44.516, 50.173, 53.966, 54.396,
51.331, 46.579, 41.309, 37.499, 36.994, 39.028, 43.894, 48.468,
52.312, 53.608, 51.633, 47.906, 42.468, 37.62, 35.211, 36.136,
39.79, 44.74, 49.819, 52.063, 51.826, 48.323, 43.429, 37.79,
33.452, 31.839, 33.208, 37.372, 41.67, 45.589, 47.174, 45.653,
40.628, 35.846, 30.991, 28.341, 28.676, 32.141, 37.606, 42.239,
45.431, 45.346, 42.059, 36.621, 31.538, 27.036, 25.188, 26.611,
31.546, 36.445, 40.887, 43.058, 42.005, 38.019, 32.171, 27.84,
24.768, 24.684, 28.31, 33.824, 39.381, 42.981, 44.062, 41.43,
37.622, 32.487, 28.549, 27.068, 28.773, 33.26, 39.759, 44.145,
46.896, 46.576, 42.85, 38.371, 33.048, 30.316, 29.931, 32.567,
37.93, 43.763, 47.867, 50.067, 49.076, 45.207, 39.892, 34.932,
32.864, 33.789, 38.281, 43.317, 48.375, 51.816, 51.581, 47.948,
42.723, 36.911, 33.665, 32.841, 35.554, 39.597, 45.71, 49.951,
51.193, 49.609, 44.961, 39.015, 33.668, 30.503, 30.229, 33.582,
37.609, 42.388, 44.731, 44.473, 41.233, 35.64, 30.378, 26.228,
24.988, 26.749, 30.944, 36.319, 40.799, 42.949, 41.811, 37.547,
33.669, 29.053, 27.653, 28.792, 33.016, 39.033, 44.692, 48.701,
50.279, 49.222, 45.768, 42.253, 39.48, 39.163, 41.559, 47.111,
53.792, 58.97, 62.876, 63.427, 60.806, 56.829, 53.956, 52.241,
52.832, 56.82, 62.239, 68.596, 73.94, 76.393, 76.308, 74.068,
70.515, 67.937, 67.22, 69.368, 74.042, 79.538, 86.169, 90.333,
92.075, 90.278, 86.328, 81.409, 78.783, 78.972, 82.101, 87.461,
93.618, 98.824, 102.028, 102.455, 101.847, 99.896, 98.885, 98.939,
101.676, 107.008, 112.992, 119.279, 123.821, 125.658, 125.505,
124.568, 123.238, 123.273, 125.087, 128.878, 134.36, 140.729,
146.048, 149.743, 151.168, 150.683, 148.493, 146.455, 146.353,
149.522, 155.281, 161.922, 167.403, 170.977, 172.47, 170.865,
168.366, 166.337, 166.417, 168.529, 173.123, 179.218, 185.504,
189.747, 191.863, 192.315, 190.149, 189.248, 188.844, 189.348,
191.767, 196.158, 201.817, 207.839, 213.037, 216.432, 217.703,
216.429, 215.066, 214.055, 214.664, 217.704, 222.531, 229.513,
235.754, 239.763, 241.205, 241.681, 239.631, 237.78, 237.08,
238.017, 241.743, 247.614, 253.463, 259.053, 262.974, 264.041,
262.862, 260.198, 257.594, 257.124, 259.134, 264.052, 270.013,
276.133, 281.174, 283.436, 283.006, 280.468, 277.274, 276.727,
278.058, 281.769, 287.328, 293.615, 299.224, 302.35, 303.069,
300.916, 298.341, 295.772, 294.895, 297.182, 301.779, 308.635,
314.745, 318.766, 320.536, 319.134, 315.678, 311.393, 308.743,
308.741, 311.448, 316.817, 322.112, 327.952, 330.816, 330.705,
327.91, 322.862, -9.259, -7.751, -3.748, 2.149, 7.252, 10.441,
10.641, 8.15, 4.358, 1.157, 0.212, 2.454, 7.5, 13.976, 19.889,
23.655, 24.699, 23.365, 20.005, 15.992, 14.184, 14.777, 18.184,
23.88, 29.934, 34.58, 36.474, 35.301, 32.185, 27.525, 24.07,
23.427, 25.981, 30.827, 37.095, 42.364, 44.554, 44.165, 40.762,
36.388, 32.782, 30.368, 31.488, 35.79, 41.796, 47.52, 51.327,
52.215, 50.2, 45.974, 41.199, 37.682, 37.03, 39.541, 44.11, 49.556,
53.825, 55.065, 53.336, 48.397, 42.857, 37.694, 35.329, 36.169,
39.382, 44.72, 49.831, 52.938, 52.67, 49.489, 44.623, 38.77,
35.026, 33.182, 34.886, 38.853, 43.932, 47.877, 49.325, 47.808,
43.149, 37.501, 31.905, 28.675, 28.705, 32.324, 36.714, 42.266,
45.95, 46.378, 43.683, 38.415, 33.108, 28.356, 26.602, 28.063,
31.989, 36.18, 40.893, 43.652, 43.084, 39.084, 34.173, 28.714,
24.981, 24.427, 27.136, 32.257, 36.987, 41.503, 43.177, 41.145,
36.689, 31.559, 27.686, 25.68, 27.182, 30.865, 36.805, 42.282,
45.635, 45.821, 42.794, 37.215, 33.01, 29.486, 28.878, 31.463,
35.586, 41.603, 45.904, 48.742, 48.086, 44.291, 39.344, 35.269,
32.391, 33.041, 36.895, 42.385, 47.923, 51.233, 51.638, 48.717,
44.33, 38.914, 34.496, 33.622, 35.766, 39.828, 45.309, 49.047,
51.325, 49.912, 46.374, 40.161, 35.214, 32.693, 32.504, 35.619,
40.347, 44.666, 47.33, 47.247, 43.892, 38.859, 32.367, 27.872,
25.778, 27.184, 31.591, 36.497, 41.027, 43.133, 41.664, 37.502,
31.957, 27.365, 24.824, 25.649, 29.835, 34.93, 41.541, 45.347,
47.05, 45.219, 41.237, 37.322, 34.6, 34.151, 36.755, 41.684,
47.516, 53.48, 57.412, 58.589, 56.543, 53.01, 50.088, 47.294,
47.848, 51.593, 57.264, 62.93, 68.292, 71.372, 71.125, 69.019,
65.201, 62.009, 61.668, 63.794, 68.422, 74.965, 80.866, 85.11,
86.773, 85.93, 83.46, 78.856, 76.189, 75.156, 77.627, 83.005,
89.884, 94.971, 97.713, 97.715, 95.301, 91.971, 89.663, 89.623,
92.077, 96.584, 102.854, 108.849, 114.218, 116.996, 117.098,
116.115, 114.166, 113.519, 115.189, 119.342, 124.852, 131.279,
136.505, 140.367, 142.22, 141.974, 140.312, 139.334, 139.451,
142.021, 146.757, 153.201, 159.509, 164.016, 165.332, 163.809,
161.066, 159.378, 159.159, 160.91, 165.716, 171.749, 177.853,
182.54, 185.316, 185.153, 182.913, 179.764, 178.388, 179.363,
182.584, 188.496, 194.315, 200.142, 205.035, 207.818, 208.409,
207.578, 206.221, 205.185, 205.708, 208.435, 213.948, 219.725,
225.618, 230.402, 232.785, 233.036, 230.523, 228.288, 227.82,
229.319, 232.754, 238.48, 244.652, 250.288, 254.615, 256.063,
255.147, 253.465, 251.124, 250.168, 252.271, 256.344, 262.272,
268.651, 273.526, 276.2, 275.923, 274.141, 271.51, 269.303, 269.833,
273.118, 279.001, 286.067, 291.229, 294.955, 296.081, 294.776,
292.07, 289.367, 288.929, 291.036, 296.313, 302.25, 308.209,
312.717, 314.36, 313.515, 310.034, 306.82, 305.076, 304.685,
307.14, 312.055, 318.563, 324.087, 327.408, 327.74, 325.03, 321.301,
316.031, 313.369, 313.625, 316.668, 322.506, 0, 0.104, 0.373,
0.616, 0.83, 1.203, 1.803, 2.722, 4.022, 5.62, 7.315, 9.012,
10.656, 12.065, 13.31, 14.656, 16.083, 17.346, 18.607, 20.039,
21.435, 22.69, 23.678, 24.466, 25.305, 26.18, 27.079, 28.086,
29.083, 29.99, 30.941, 31.902, 32.631, 33.258, 33.987, 34.605,
35.132, 35.739, 36.513, 37.397, 38.032, 38.622, 39.451, 40.28,
40.947, 41.599, 42.302, 42.964, 43.645, 44.284, 44.87, 45.46,
45.953, 46.186, 46.309, 46.297, 46.101, 45.899, 45.599, 45.212,
44.737, 44.396, 44.42, 44.447, 44.5, 44.561, 44.453, 44.321,
44.033, 43.809, 43.707, 43.505, 43.126, 42.64, 42.287, 42.087,
41.758, 41.21, 40.602, 39.98, 39.364, 38.653, 38.076, 37.772,
37.586, 37.352, 37.254, 37.408, 37.418, 37.272, 37.154, 37.037,
36.82, 36.483, 36.068, 35.712, 35.238, 34.799, 34.595, 34.476,
34.414, 34.422, 34.342, 34.056, 33.757, 33.542, 33.373, 33.188,
33.267, 33.579, 33.803, 34.014, 34.293, 34.6, 34.787, 34.864,
34.929, 35.135, 35.59, 36.084, 36.503, 36.883, 37.186, 37.536,
37.8, 37.882, 37.995, 37.933, 37.939, 38.195, 38.659, 39.267,
39.772, 40.194, 40.621, 40.854, 41.04, 41.47, 41.905, 42.105,
42.123, 42.234, 42.426, 42.686, 42.849, 42.804, 42.83, 42.854,
42.602, 42.238, 41.97, 41.908, 41.991, 42.107, 42.085, 42.006,
41.985, 41.78, 41.461, 41.138, 40.628, 39.884, 39.17, 38.521,
37.957, 37.296, 36.556, 35.866, 35.249, 34.857, 34.568, 34.355,
34.199, 33.985, 33.67, 33.322, 33.19, 33.454, 33.833, 34.155,
34.557, 35.239, 36.026, 36.824, 37.679, 38.376, 39.208, 40.174,
41.257, 42.412, 43.539, 44.623, 45.759, 47.085, 48.419, 49.697,
51.055, 52.527, 53.761, 54.86, 55.952, 56.958, 57.976, 59.23,
60.703, 62.047, 63.41, 64.764, 66.039, 67.476, 69.028, 70.534,
72.024, 73.589, 75.06, 76.395, 77.803, 79.299, 80.586, 81.717,
82.761, 83.657, 84.558, 85.56, 86.505, 87.367, 88.337, 89.384,
90.541, 91.948, 93.703, 95.691, 97.704, 99.823, 102.094, 104.436,
106.797, 109.126, 111.49, 113.836, 116.111, 118.328, 120.591,
122.95, 125.368, 127.852, 130.294, 132.723, 135.157, 137.506,
139.833, 142.183, 144.577, 146.956, 149.318, 151.592, 153.565,
155.311, 157.027, 158.794, 160.75, 162.816, 164.873, 166.958,
168.984, 170.879, 172.731, 174.716, 176.683, 178.503, 180.219,
181.886, 183.739, 185.757, 187.849, 190.035, 192.411, 194.955,
197.367, 199.586, 201.75, 204.018, 206.345, 208.64, 210.961,
213.345, 215.797, 218.131, 220.371, 222.673, 224.972, 227.144,
229.286, 231.452, 233.443, 235.435, 237.626, 239.804, 241.928,
244.137, 246.34, 248.508, 250.68, 252.635, 254.494, 256.466,
258.451, 260.316, 262.068, 263.81, 265.611, 267.48, 269.378,
271.263, 273.064, 274.923, 276.785, 278.594, 280.503, 282.408,
284.382, 286.468, 288.439, 290.276, 292.016, 293.723, 295.494,
297.365, 299.32, 301.14, 302.666, 304.042, 305.473, 306.945,
308.481, 310.077, 311.474, 312.708, 313.781, 314.761, 315.843,
316.956, 318.069, 319.118, 320.065, 320.741, 321.308, 321.906,
322.419, 323.011, 323.643), z = c(-1.8, 0.734, 4.349, 8.803,
12.602, 16.408, 19.305, 21.145, 22.434, 23.889, 26.165, 29.552,
33.751, 38.521, 44.594, 49.663, 52.73, 55.311, 56.023, 56.889,
57.839, 60.155, 63.551, 67.442, 72.876, 77.895, 82.786, 86.846,
89.229, 90.431, 91.127, 91.31, 92.045, 94.208, 98.099, 103.505,
109.324, 115.169, 119.39, 120.386, 119.972, 117.383, 114.473,
112.983, 114.641, 119.354, 125.517, 131.359, 136.128, 137.982,
137.252, 133.986, 130.176, 127.039, 126.358, 128.552, 133.63,
139.664, 144.608, 147.702, 147.994, 145.073, 140.178, 135.123,
132.811, 132.923, 136.037, 141.045, 146.851, 151.016, 152.285,
150.345, 147.112, 142.554, 138.289, 136.818, 138.243, 142.447,
147.96, 153.259, 156.636, 156.796, 153.758, 148.725, 143.802,
140.125, 139.858, 142.513, 147.747, 152.832, 157.108, 158.926,
157.636, 153.352, 148.625, 143.87, 141.697, 142.391, 145.914,
151.778, 156.764, 160.662, 161.133, 158.694, 154.115, 148.716,
144.535, 142.907, 143.857, 147.315, 152.165, 156.675, 157.973,
155.979, 151.856, 146.21, 140.215, 137.314, 137.046, 139.625,
144.382, 149.094, 152.312, 152.411, 149.836, 144.825, 139.285,
134.678, 133.277, 134.871, 138.234, 144.284, 148.682, 151.454,
151.037, 148.517, 143.545, 138.078, 134.096, 133.001, 134.82,
138.979, 142.485, 145.831, 145.868, 143.113, 137.153, 130.606,
125.319, 122.761, 123.133, 124.846, 128.967, 131.897, 132.36,
130.262, 125.184, 119.562, 113.329, 108.623, 106.938, 108.655,
111.943, 114.877, 117.321, 116.587, 113.19, 107.878, 101.722,
96.318, 93.307, 92.36, 93.975, 97.221, 98.836, 98.786, 96.758,
92.521, 85.795, 79.813, 75.074, 72.002, 71.679, 72.466, 74.761,
76.962, 76.699, 74.275, 69.863, 63.072, 57.29, 51.803, 49.356,
49.449, 51.423, 54.938, 57.463, 57.335, 54.638, 48.856, 42.1,
36.478, 32.618, 31.446, 32.657, 36.298, 40.017, 41.563, 40.848,
36.904, 31.032, 24.392, 19.549, 16.941, 17.575, 21.219, 26.208,
30.261, 31.586, 29.81, 25.695, 19.926, 14.515, 11.013, 10.742,
13.282, 16.711, 20.341, 22.728, 22.473, 19.215, 13.8, 7.262,
3.404, 1.732, 3.153, 7.262, 13.088, 17.225, 18.54, 16.694, 12.511,
6.707, 1.003, -2.076, -2.211, 0.847, 4.89, 9.511, 12.56, 12.803,
9.927, 3.957, -2.203, -6.515, -8.218, -6.689, -2.846, 2.229,
5.222, 5.358, 2.663, -2.479, -8.608, -13.767, -17.084, -16.795,
-14.486, -9.993, -6.879, -5.36, -6.949, -11.185, -17.547, -22.935,
-27.45, -29.508, -28.908, -25.226, -20.221, -15.897, -13.995,
-15.15, -18.636, -23.183, -27.048, -28.92, -27.427, -23.344,
-17.195, -11.586, -8.185, -7.232, -9.907, -13.86, -19.423, -22.779,
-24.321, -22.153, -17.653, -11.731, -6.446, -3.362, -3.218, -6.326,
-11.067, -15.736, -19.097, -19.041, -15.746, -10.157, -4.243,
0.417, 2.026, 0.528, -4.143, -9.15, -12.64, -13.909, -11.849,
-8.26, -3.062, 2.094, 4.733, 4.473, 1.328, -3.851, -8.845, -12.335,
-12.692, -9.564, -4.131, 1.756, 5.692, 7.088, 4.891, 1.186, -4.236,
-8.665, -10.67, -9.684, -5.951, -0.279, 3.876, 7.004, 7.179,
3.835, -1.632, -6.447, -10.576, -12.1, 1.8, 5.995, 9.309, 11.534,
14.452, 17.282, 20.62, 24.918, 29.724, 34.39, 38.324, 41.393,
43.379, 44.722, 44.716, 45.49, 47.973, 51.406, 56.27, 61.243,
66.489, 70.727, 73.83, 76.604, 77.741, 78.98, 80.152, 81.834,
85.158, 89.715, 94.629, 100.022, 104.932, 108.71, 110.679, 110.663,
109.673, 107.647, 106.61, 108.62, 112.653, 118.808, 125.354,
130.357, 132.437, 131.603, 128.933, 125.82, 122.77, 122.491,
124.889, 130.189, 136.262, 141.76, 145.036, 145.511, 142.697,
138.284, 134.117, 131.066, 131.107, 134.304, 139.716, 145.695,
149.595, 151.572, 150.013, 145.777, 140.133, 135.773, 134.219,
135.708, 139.468, 145.381, 151.524, 155.119, 155.955, 153.424,
148.728, 143.518, 139.615, 138.762, 141.061, 146.053, 151.819,
156.95, 158.595, 157.391, 152.985, 147.858, 143.143, 140.829,
141.731, 145.53, 150.551, 156.378, 159.878, 160.379, 158.114,
153.293, 148.572, 143.964, 142.919, 144.784, 149.252, 154.754,
158.944, 160.572, 159.202, 155.224, 149.183, 142.86, 139.334,
138.843, 141.092, 145.66, 151.2, 153.923, 154.585, 152.16, 146.957,
141.024, 136.054, 133.801, 134.846, 138.892, 144.247, 149.367,
151.676, 151.526, 148.775, 142.944, 137.977, 133.934, 133.255,
135.3, 139.993, 145.272, 148.941, 149.43, 146.971, 141.92, 136.412,
130.24, 127.194, 126.844, 129.892, 134.08, 137.657, 138.538,
136.733, 132.691, 126.058, 119.938, 115.515, 113.137, 113.891,
115.914, 119.554, 122.234, 122.454, 119.162, 113.798, 107.793,
101.619, 98.433, 97.939, 100.049, 103.409, 106.153, 106.758,
104.858, 100.092, 93.398, 87.487, 82.649, 79.847, 79.494, 81.76,
83.759, 85.313, 84.933, 82.622, 78.179, 71.688, 64.862, 60.367,
57.846, 57.493, 59.646, 61.27, 63.851, 63.498, 60.782, 55.884,
49.353, 43.4, 39.49, 38.066, 39.811, 42.985, 45.662, 47.103,
45.859, 42.479, 36.596, 30.226, 25.328, 22.362, 22.764, 25.153,
28.951, 31.668, 32.773, 31.037, 26.564, 20.845, 15.824, 13.139,
12.706, 14.995, 19.591, 24.087, 26.639, 26.328, 22.778, 17.453,
11.166, 5.992, 3.726, 4.789, 8.627, 14.23, 17.651, 19.891, 18.911,
14.779, 8.403, 3.08, -0.017, -0.244, 2.374, 6.919, 11.775, 14.563,
14.849, 12.129, 7.683, 1.667, -3.412, -6.056, -5.406, -1.324,
3.564, 7.38, 8.945, 6.929, 1.854, -4.973, -10.335, -13.403, -13.638,
-10.959, -6.546, -2.834, -0.709, -1.961, -5.796, -12.291, -18.176,
-23.035, -24.919, -24.03, -20.605, -17.135, -13.611, -12.699,
-13.916, -18.279, -24.143, -29.291, -31.782, -30.718, -26.677,
-20.804, -14.862, -10.612, -9.701, -11.544, -16.04, -20.698,
-23.759, -25.543, -23.913, -20.188, -14.121, -9.425, -5.593,
-5.459, -7.965, -12.628, -17.432, -20.603, -20.759, -17.686,
-12.672, -7.315, -2.386, -0.314, -1.4, -5.206, -9.94, -14.17,
-15.869, -14.433, -9.604, -3.757, 1.368, 4.758, 4.613, 1.845,
-3.345, -9.068, -12.583, -13.42, -11.095, -6.129, -0.467, 4.121,
5.71, 4.148, 0.144, -5.052, -9.071, -11.413, -10.346, -7.017,
-1.148, 4.226, 7.397, 7.705, 4.905, -0.377, -5.284, -9.972, -11.528,
-10.033, -5.915, -1.379, 3.56, 6.12, 0, 3.383, 6.756, 10.134,
13.513, 16.877, 20.189, 23.397, 26.473, 29.441, 32.367, 35.291,
38.226, 41.225, 44.306, 47.376, 50.415, 53.486, 56.551, 59.543,
62.517, 65.56, 68.675, 71.814, 74.954, 78.109, 81.253, 84.332,
87.375, 90.433, 93.399, 96.175, 98.817, 101.428, 103.983, 106.458,
108.738, 110.848, 112.902, 114.851, 116.876, 118.901, 120.632,
122.006, 123.325, 124.813, 126.365, 127.752, 128.967, 130.261,
131.602, 132.938, 134.114, 135.004, 135.82, 136.606, 137.316,
138.028, 138.581, 139.106, 139.783, 140.434, 140.917, 141.217,
141.649, 142.127, 142.377, 142.468, 142.589, 142.884, 143.243,
143.589, 144.133, 144.909, 145.601, 146.205, 146.765, 147.142,
147.37, 147.569, 147.771, 147.948, 148.11, 148.347, 148.693,
148.962, 149.186, 149.365, 149.43, 149.404, 149.513, 149.823,
150.141, 150.324, 150.553, 150.85, 151.006, 151.131, 151.273,
151.569, 151.794, 151.925, 152.126, 152.358, 152.619, 152.653,
152.286, 151.718, 151.09, 150.424, 149.73, 149.103, 148.504,
147.818, 147.275, 146.906, 146.448, 146.007, 145.635, 145.205,
144.722, 144.18, 143.689, 143.251, 142.928, 142.783, 142.704,
142.61, 142.634, 142.76, 142.713, 142.642, 142.526, 142.379,
142.408, 142.571, 142.726, 142.559, 141.989, 141.095, 140.227,
139.515, 138.57, 137.5, 136.482, 135.457, 134.38, 133.232, 132.025,
130.745, 129.486, 128.066, 126.617, 125.229, 123.648, 121.946,
120.203, 118.623, 117.229, 115.832, 114.514, 113.253, 111.983,
110.528, 108.997, 107.519, 106.087, 104.805, 103.414, 101.854,
100.154, 98.312, 96.38, 94.485, 92.559, 90.482, 88.486, 86.564,
84.529, 82.549, 80.607, 78.611, 76.708, 74.696, 72.496, 70.34,
68.299, 66.277, 64.239, 62.087, 60.033, 58.204, 56.446, 54.679,
52.889, 51.288, 49.846, 48.308, 46.719, 45.082, 43.379, 41.675,
40.035, 38.476, 36.936, 35.546, 34.325, 33.02, 31.724, 30.413,
28.94, 27.503, 26.167, 24.897, 23.771, 22.983, 22.591, 22.423,
22.175, 21.669, 21.149, 20.726, 20.065, 19.154, 18.2, 17.269,
16.183, 14.943, 13.916, 13.206, 12.63, 12.15, 11.611, 11.125,
10.845, 10.557, 10.154, 9.801, 9.508, 9.095, 8.653, 8.265, 7.769,
7.137, 6.574, 6.056, 5.722, 5.344, 4.71, 4.056, 3.397, 2.829,
2.24, 1.579, 1.028, 0.389, -0.433, -1.374, -2.262, -3.096, -4.048,
-5.009, -5.858, -6.642, -7.657, -8.791, -9.799, -10.886, -12.059,
-13.264, -14.493, -15.695, -16.934, -18.17, -19.148, -20.035,
-20.991, -21.852, -22.617, -23.134, -23.262, -23.012, -22.498,
-21.825, -21.05, -20.22, -19.533, -18.896, -18.202, -17.577,
-16.947, -16.464, -16.274, -16.268, -16.12, -15.836, -15.415,
-14.847, -14.26, -13.643, -13.144, -12.693, -12.239, -11.799,
-11.282, -10.9, -10.653, -10.292, -9.794, -9.206, -8.615, -7.987,
-7.426, -6.98, -6.46, -5.955, -5.523, -4.983, -4.443, -4.085,
-4.02, -4.177, -4.264, -4.279, -4.251, -4.163, -4.025, -3.782,
-3.664, -3.635, -3.378, -2.939, -2.542, -2.258, -2.14, -2.168,
-2.053, -1.732, -1.515, -1.39, -1.321, -1.315, -1.304, -1.555,
-1.893, -2.117, -2.438, -2.826, -2.973, -2.872, -2.925)), .Names = c("x",
"y", "z"), class = "data.frame", row.names = c(NA, -1053L))
z<-dna.data$z[1:351]
x<-dna.data$x[1:351]
y<-dna.data$y[1:351]
scatterplot3d(x, y, z, highlight.3d=TRUE, axis=FALSE, main="DNA curvature",type="l", grid=FALSE)
z1<-dna.data$z[352:702]
x1<-dna.data$x[352:702]
y1<-dna.data$y[352:702]
scatterplot3d(x1, y1, z1, highlight.3d=TRUE, axis=FALSE, main="DNA curvature",type="l", grid=FALSE)
z2<-dna.data$z[703:1053]
x2<-dna.data$x[703:1053]
y2<-dna.data$y[703:1053]
scatterplot3d(x2, y2, z2, highlight.3d=TRUE, axis=FALSE, main="DNA curvature",type="l", grid=FALSE)
[[alternative HTML version deleted]]
______________________________________________
R-help at 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.
More information about the R-help
mailing list