Reversing scales & using limits: feature conflicts?

40 views
Skip to first unread message

Bryan Hanson

unread,
Aug 17, 2010, 3:53:15 PM8/17/10
to ggplot2
Hi Gang of 1000:

I’m finding  what I think is a strange interaction between arguments.  I’d like to plot a portion of a larger x, y data set:  limit the x range, limit the y range, and reverse the x axis.  The following works to give the plot I want, without the reversed x axis:

p1 <- ggplot(ps, aes(x = V1, y = V2)) +
    scale_x_continuous(breaks = c(2000, 1900, 1800, 1700),
    labels = c("2 K", "1.9 K", "1.8 K", "1.7 K"), limits = c(1700, 2000)) +
    scale_y_continuous(limits = c(99, 101)) +
    geom_smooth(span = 0.2, se = FALSE)    
print(p1)

Note: a hideously large dput at the end of this msg has the data.

If I do anything that seems like it should reverse the x axis, really weird things happen (no errors thrown).  Here’s what I’ve tried and the results:
  1. add trans = “reverse” to the scale_x_continuous items: x-axis is limited properly, but not reversed, no data shown.
  2. change the limits in scaled_x_continuous to c(2000, 1700) (with or w/o changing the order of the breaks): x-axis is plotted reversed and limited, but data is gone.
  3. adding + scale_x_reverse(): x-axis is plotted reversed, the data is mostly plotted, but the x-axis is labeled with the full range of data values, not the breaks  (try it to see what I mean)
  4. I began to think the problem was the smoothing, but if you replace the geom_smooth with geom_line() you get the same behavior AFAICT
  5. Then I thought the problem, at least when the data disappeared, was the y limits were just keeping it from appearing.  Not so.

Color me puzzled.  I hope I’m not doing something stupid here!  I suppose I could subset the data before attempting the plot, but that’s no fun!

TIA, I’ll bet Dennis knows how to make this work!  Bryan

*************
Bryan Hanson
Professor of Chemistry & Biochemistry
DePauw University, Greencastle IN USA

> sessionInfo()
R version 2.11.0 (2010-04-22)
x86_64-apple-darwin9.8.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] datasets  tools     grid      graphics  grDevices utils     stats     methods   base     

other attached packages:
 [1] mgcv_1.6-1         sendmailR_1.0-0    faraway_1.0.4      GGally_0.2        
 [5] xtable_1.5-6       mvbutils_2.5.1     ggplot2_0.8.8      proto_0.3-8       
 [9] reshape_0.8.3      ChemoSpec_1.45     R.utils_1.4.0      R.oo_1.7.2        
[13] R.methodsS3_1.2.0  rgl_0.91           lattice_0.18-5     mvoutlier_1.4     
[17] plyr_1.0.3         RColorBrewer_1.0-2 chemometrics_0.8   som_0.3-5         
[21] robustbase_0.5-0-1 rpart_3.1-46       pls_2.1-0          pcaPP_1.8-1       
[25] mvtnorm_0.9-9      nnet_7.3-1         mclust_3.4.4       MASS_7.3-5        
[29] lars_0.9-7         e1071_1.5-23       class_7.3-2       

loaded via a namespace (and not attached):
[1] Matrix_0.999375-38 nlme_3.1-96       

And here is “ps”:

structure(list(V1 = c(399.2123, 401.1409, 403.0695, 404.998,
406.9266, 408.8552, 410.7837, 412.7123, 414.6408, 416.5694, 418.498,
420.4265, 422.3551, 424.2837, 426.2122, 428.1408, 430.0693, 431.9979,
433.9265, 435.855, 437.7836, 439.7121, 441.6407, 443.5693, 445.4978,
447.4264, 449.3549, 451.2835, 453.2121, 455.1406, 457.0692, 458.9978,
460.9263, 462.8549, 464.7834, 466.712, 468.6406, 470.5691, 472.4977,
474.4263, 476.3548, 478.2834, 480.2119, 482.1405, 484.0691, 485.9976,
487.9262, 489.8548, 491.7833, 493.7119, 495.6404, 497.569, 499.4976,
501.4261, 503.3547, 505.2832, 507.2118, 509.1404, 511.0689, 512.9975,
514.9261, 516.8546, 518.7832, 520.7117, 522.6403, 524.5688, 526.4974,
528.426, 530.3546, 532.2831, 534.2117, 536.1403, 538.0688, 539.9974,
541.9259, 543.8545, 545.783, 547.7116, 549.6402, 551.5687, 553.4973,
555.4258, 557.3544, 559.283, 561.2115, 563.1401, 565.0687, 566.9973,
568.9258, 570.8544, 572.7829, 574.7115, 576.64, 578.5686, 580.4972,
582.4257, 584.3543, 586.2828, 588.2114, 590.14, 592.0685, 593.9971,
595.9257, 597.8542, 599.7828, 601.7114, 603.6399, 605.5685, 607.497,
609.4256, 611.3541, 613.2827, 615.2113, 617.1398, 619.0684, 620.9969,
622.9255, 624.8541, 626.7827, 628.7112, 630.6398, 632.5684, 634.4969,
636.4255, 638.354, 640.2826, 642.2111, 644.1397, 646.0682, 647.9968,
649.9254, 651.8539, 653.7825, 655.7111, 657.6396, 659.5682, 661.4968,
663.4254, 665.3539, 667.2825, 669.211, 671.1396, 673.0681, 674.9967,
676.9252, 678.8538, 680.7824, 682.7109, 684.6395, 686.5681, 688.4966,
690.4252, 692.3538, 694.2823, 696.2109, 698.1395, 700.068, 701.9966,
703.9251, 705.8537, 707.7822, 709.7108, 711.6393, 713.5679, 715.4965,
717.425, 719.3536, 721.2822, 723.2108, 725.1393, 727.0679, 728.9965,
730.925, 732.8536, 734.7821, 736.7107, 738.6392, 740.5678, 742.4963,
744.4249, 746.3535, 748.282, 750.2106, 752.1392, 754.0677, 755.9963,
757.9249, 759.8534, 761.782, 763.7106, 765.6391, 767.5677, 769.4962,
771.4248, 773.3533, 775.2819, 777.2104, 779.139, 781.0676, 782.9962,
784.9247, 786.8533, 788.7819, 790.7104, 792.639, 794.5676, 796.4961,
798.4247, 800.3532, 802.2818, 804.2103, 806.1389, 808.0674, 809.996,
811.9246, 813.8531, 815.7817, 817.7103, 819.6389, 821.5674, 823.496,
825.4245, 827.3531, 829.2817, 831.2102, 833.1388, 835.0673, 836.9959,
838.9244, 840.853, 842.7816, 844.7101, 846.6387, 848.5673, 850.4958,
852.4244, 854.353, 856.2815, 858.2101, 860.1387, 862.0672, 863.9958,
865.9243, 867.8529, 869.7814, 871.71, 873.6385, 875.5671, 877.4957,
879.4243, 881.3528, 883.2814, 885.21, 887.1385, 889.0671, 890.9956,
892.9242, 894.8528, 896.7813, 898.7099, 900.6384, 902.567, 904.4955,
906.4241, 908.3527, 910.2813, 912.2098, 914.1384, 916.067, 917.9955,
919.9241, 921.8526, 923.7812, 925.7097, 927.6383, 929.5669, 931.4954,
933.424, 935.3525, 937.2811, 939.2097, 941.1382, 943.0668, 944.9954,
946.924, 948.8525, 950.7811, 952.7096, 954.6382, 956.5667, 958.4953,
960.4239, 962.3524, 964.281, 966.2095, 968.1381, 970.0667, 971.9952,
973.9238, 975.8524, 977.7809, 979.7095, 981.6381, 983.5666, 985.4952,
987.4237, 989.3523, 991.2808, 993.2094, 995.138, 997.0665, 998.9951,
1000.924, 1002.852, 1004.781, 1006.709, 1008.638, 1010.566, 1012.495,
1014.424, 1016.352, 1018.281, 1020.209, 1022.138, 1024.066, 1025.995,
1027.924, 1029.852, 1031.781, 1033.709, 1035.638, 1037.566, 1039.495,
1041.423, 1043.352, 1045.281, 1047.209, 1049.138, 1051.066, 1052.995,
1054.923, 1056.852, 1058.781, 1060.709, 1062.638, 1064.566, 1066.495,
1068.423, 1070.352, 1072.28, 1074.209, 1076.138, 1078.066, 1079.995,
1081.923, 1083.852, 1085.78, 1087.709, 1089.637, 1091.566, 1093.495,
1095.423, 1097.352, 1099.28, 1101.209, 1103.137, 1105.066, 1106.995,
1108.923, 1110.852, 1112.78, 1114.709, 1116.637, 1118.566, 1120.495,
1122.423, 1124.352, 1126.28, 1128.209, 1130.137, 1132.066, 1133.994,
1135.923, 1137.852, 1139.78, 1141.709, 1143.637, 1145.566, 1147.494,
1149.423, 1151.351, 1153.28, 1155.209, 1157.137, 1159.066, 1160.994,
1162.923, 1164.851, 1166.78, 1168.708, 1170.637, 1172.566, 1174.494,
1176.423, 1178.351, 1180.28, 1182.208, 1184.137, 1186.066, 1187.994,
1189.923, 1191.851, 1193.78, 1195.708, 1197.637, 1199.566, 1201.494,
1203.423, 1205.351, 1207.28, 1209.208, 1211.137, 1213.065, 1214.994,
1216.923, 1218.851, 1220.78, 1222.708, 1224.637, 1226.565, 1228.494,
1230.422, 1232.351, 1234.28, 1236.208, 1238.137, 1240.065, 1241.994,
1243.922, 1245.851, 1247.78, 1249.708, 1251.637, 1253.565, 1255.494,
1257.422, 1259.351, 1261.28, 1263.208, 1265.137, 1267.065, 1268.994,
1270.922, 1272.851, 1274.779, 1276.708, 1278.637, 1280.565, 1282.494,
1284.422, 1286.351, 1288.279, 1290.208, 1292.136, 1294.065, 1295.994,
1297.922, 1299.851, 1301.779, 1303.708, 1305.636, 1307.565, 1309.494,
1311.422, 1313.351, 1315.279, 1317.208, 1319.136, 1321.065, 1322.994,
1324.922, 1326.851, 1328.779, 1330.708, 1332.636, 1334.565, 1336.493,
1338.422, 1340.351, 1342.279, 1344.208, 1346.136, 1348.065, 1349.993,
1351.922, 1353.85, 1355.779, 1357.708, 1359.636, 1361.565, 1363.493,
1365.422, 1367.35, 1369.279, 1371.208, 1373.136, 1375.065, 1376.993,
1378.922, 1380.85, 1382.779, 1384.708, 1386.636, 1388.565, 1390.493,
1392.422, 1394.35, 1396.279, 1398.207, 1400.136, 1402.065, 1403.993,
1405.922, 1407.85, 1409.779, 1411.707, 1413.636, 1415.564, 1417.493,
1419.422, 1421.35, 1423.279, 1425.207, 1427.136, 1429.064, 1430.993,
1432.922, 1434.85, 1436.779, 1438.707, 1440.636, 1442.564, 1444.493,
1446.422, 1448.35, 1450.279, 1452.207, 1454.136, 1456.064, 1457.993,
1459.921, 1461.85, 1463.779, 1465.707, 1467.636, 1469.564, 1471.493,
1473.421, 1475.35, 1477.278, 1479.207, 1481.136, 1483.064, 1484.993,
1486.921, 1488.85, 1490.778, 1492.707, 1494.635, 1496.564, 1498.493,
1500.421, 1502.35, 1504.278, 1506.207, 1508.135, 1510.064, 1511.993,
1513.921, 1515.85, 1517.778, 1519.707, 1521.635, 1523.564, 1525.493,
1527.421, 1529.35, 1531.278, 1533.207, 1535.135, 1537.064, 1538.992,
1540.921, 1542.85, 1544.778, 1546.707, 1548.635, 1550.564, 1552.492,
1554.421, 1556.349, 1558.278, 1560.207, 1562.135, 1564.064, 1565.992,
1567.921, 1569.849, 1571.778, 1573.707, 1575.635, 1577.564, 1579.492,
1581.421, 1583.349, 1585.278, 1587.207, 1589.135, 1591.064, 1592.992,
1594.921, 1596.849, 1598.778, 1600.706, 1602.635, 1604.564, 1606.492,
1608.421, 1610.349, 1612.278, 1614.206, 1616.135, 1618.063, 1619.992,
1621.921, 1623.849, 1625.778, 1627.706, 1629.635, 1631.563, 1633.492,
1635.421, 1637.349, 1639.278, 1641.206, 1643.135, 1645.063, 1646.992,
1648.92, 1650.849, 1652.778, 1654.706, 1656.635, 1658.563, 1660.492,
1662.42, 1664.349, 1666.277, 1668.206, 1670.135, 1672.063, 1673.992,
1675.92, 1677.849, 1679.777, 1681.706, 1683.635, 1685.563, 1687.492,
1689.42, 1691.349, 1693.277, 1695.206, 1697.135, 1699.063, 1700.992,
1702.92, 1704.849, 1706.777, 1708.706, 1710.634, 1712.563, 1714.492,
1716.42, 1718.349, 1720.277, 1722.206, 1724.134, 1726.063, 1727.991,
1729.92, 1731.849, 1733.777, 1735.706, 1737.634, 1739.563, 1741.491,
1743.42, 1745.349, 1747.277, 1749.206, 1751.134, 1753.063, 1754.991,
1756.92, 1758.849, 1760.777, 1762.706, 1764.634, 1766.563, 1768.491,
1770.42, 1772.348, 1774.277, 1776.206, 1778.134, 1780.063, 1781.991,
1783.92, 1785.848, 1787.777, 1789.705, 1791.634, 1793.563, 1795.491,
1797.42, 1799.348, 1801.277, 1803.205, 1805.134, 1807.063, 1808.991,
1810.92, 1812.848, 1814.777, 1816.705, 1818.634, 1820.563, 1822.491,
1824.42, 1826.348, 1828.277, 1830.205, 1832.134, 1834.062, 1835.991,
1837.92, 1839.848, 1841.777, 1843.705, 1845.634, 1847.562, 1849.491,
1851.419, 1853.348, 1855.277, 1857.205, 1859.134, 1861.062, 1862.991,
1864.919, 1866.848, 1868.776, 1870.705, 1872.634, 1874.562, 1876.491,
1878.419, 1880.348, 1882.276, 1884.205, 1886.134, 1888.062, 1889.991,
1891.919, 1893.848, 1895.776, 1897.705, 1899.634, 1901.562, 1903.491,
1905.419, 1907.348, 1909.276, 1911.205, 1913.133, 1915.062, 1916.991,
1918.919, 1920.848, 1922.776, 1924.705, 1926.633, 1928.562, 1930.49,
1932.419, 1934.348, 1936.276, 1938.205, 1940.133, 1942.062, 1943.99,
1945.919, 1947.848, 1949.776, 1951.705, 1953.633, 1955.562, 1957.49,
1959.419, 1961.348, 1963.276, 1965.205, 1967.133, 1969.062, 1970.99,
1972.919, 1974.847, 1976.776, 1978.705, 1980.633, 1982.562, 1984.49,
1986.419, 1988.347, 1990.276, 1992.204, 1994.133, 1996.062, 1997.99,
1999.919, 2001.847, 2003.776, 2005.704, 2007.633, 2009.562, 2011.49,
2013.419, 2015.347, 2017.276, 2019.204, 2021.133, 2023.062, 2024.99,
2026.919, 2028.847, 2030.776, 2032.704, 2034.633, 2036.561, 2038.49,
2040.419, 2042.347, 2044.276, 2046.204, 2048.133, 2050.061, 2051.99,
2053.918, 2055.847, 2057.776, 2059.704, 2061.633, 2063.561, 2065.49,
2067.418, 2069.347, 2071.276, 2073.204, 2075.133, 2077.061, 2078.99,
2080.918, 2082.847, 2084.775, 2086.704, 2088.633, 2090.561, 2092.49,
2094.418, 2096.347, 2098.275, 2100.204, 2102.133, 2104.061, 2105.99,
2107.918, 2109.847, 2111.775, 2113.704, 2115.633, 2117.561, 2119.49,
2121.418, 2123.347, 2125.275, 2127.204, 2129.132, 2131.061, 2132.99,
2134.918, 2136.847, 2138.775, 2140.704, 2142.632, 2144.561, 2146.49,
2148.418, 2150.347, 2152.275, 2154.204, 2156.132, 2158.061, 2159.989,
2161.918, 2163.846, 2165.775, 2167.704, 2169.632, 2171.561, 2173.489,
2175.418, 2177.346, 2179.275, 2181.204, 2183.132, 2185.061, 2186.989,
2188.918, 2190.846, 2192.775, 2194.704, 2196.632, 2198.561, 2200.489,
2202.418, 2204.346, 2206.275, 2208.203, 2210.132, 2212.061, 2213.989,
2215.918, 2217.846, 2219.775, 2221.703, 2223.632, 2225.561, 2227.489,
2229.418, 2231.346, 2233.275, 2235.203, 2237.132, 2239.06, 2240.989,
2242.917, 2244.846, 2246.775, 2248.703, 2250.632, 2252.56, 2254.489,
2256.417, 2258.346, 2260.275, 2262.203, 2264.132, 2266.06, 2267.989,
2269.917, 2271.846, 2273.774, 2275.703, 2277.632, 2279.56, 2281.489,
2283.417, 2285.346, 2287.274, 2289.203, 2291.132, 2293.06, 2294.989,
2296.917, 2298.846, 2300.774, 2302.703, 2304.632, 2306.56, 2308.489,
2310.417, 2312.346, 2314.274, 2316.203, 2318.131, 2320.06, 2321.989,
2323.917, 2325.846, 2327.774, 2329.703, 2331.631, 2333.56, 2335.489,
2337.417, 2339.346, 2341.274, 2343.203, 2345.131, 2347.06, 2348.989,
2350.917, 2352.845, 2354.774, 2356.703, 2358.631, 2360.56, 2362.488,
2364.417, 2366.345, 2368.274, 2370.203, 2372.131, 2374.06, 2375.988,
2377.917, 2379.845, 2381.774, 2383.703, 2385.631, 2387.56, 2389.488,
2391.417, 2393.345, 2395.274, 2397.202, 2399.131, 2401.06, 2402.988,
2404.917, 2406.845, 2408.774, 2410.702, 2412.631, 2414.56, 2416.488,
2418.417, 2420.345, 2422.274, 2424.202, 2426.131, 2428.06, 2429.988,
2431.917, 2433.845, 2435.774, 2437.702, 2439.631, 2441.559, 2443.488,
2445.417, 2447.345, 2449.274, 2451.202, 2453.131, 2455.059, 2456.988,
2458.917, 2460.845, 2462.774, 2464.702, 2466.631, 2468.559, 2470.488,
2472.417, 2474.345, 2476.273, 2478.202, 2480.131, 2482.059, 2483.988,
2485.916, 2487.845, 2489.773, 2491.702, 2493.631, 2495.559, 2497.488,
2499.416, 2501.345, 2503.273, 2505.202, 2507.131, 2509.059, 2510.988,
2512.916, 2514.845, 2516.773, 2518.702, 2520.63, 2522.559, 2524.488,
2526.416, 2528.345, 2530.273, 2532.202, 2534.13, 2536.059, 2537.988,
2539.916, 2541.845, 2543.773, 2545.702, 2547.63, 2549.559, 2551.488,
2553.416, 2555.344, 2557.273, 2559.202, 2561.13, 2563.059, 2564.987,
2566.916, 2568.844, 2570.773, 2572.702, 2574.63, 2576.559, 2578.487,
2580.416, 2582.344, 2584.273, 2586.202, 2588.13, 2590.059, 2591.987,
2593.916, 2595.844, 2597.773, 2599.701, 2601.63, 2603.559, 2605.487,
2607.416, 2609.344, 2611.273, 2613.201, 2615.13, 2617.059, 2618.987,
2620.916, 2622.844, 2624.773, 2626.701, 2628.63, 2630.559, 2632.487,
2634.416, 2636.344, 2638.273, 2640.201, 2642.13, 2644.058, 2645.987,
2647.916, 2649.844, 2651.773, 2653.701, 2655.63, 2657.558, 2659.487,
2661.416, 2663.344, 2665.273, 2667.201, 2669.13, 2671.058, 2672.987,
2674.916, 2676.844, 2678.772, 2680.701, 2682.63, 2684.558, 2686.487,
2688.415, 2690.344, 2692.272, 2694.201, 2696.13, 2698.058, 2699.987,
2701.915, 2703.844, 2705.772, 2707.701, 2709.63, 2711.558, 2713.487,
2715.415, 2717.344, 2719.272, 2721.201, 2723.129, 2725.058, 2726.987,
2728.915, 2730.844, 2732.772, 2734.701, 2736.629, 2738.558, 2740.487,
2742.415, 2744.344, 2746.272, 2748.201, 2750.129, 2752.058, 2753.987,
2755.915, 2757.844, 2759.772, 2761.701, 2763.629, 2765.558, 2767.486,
2769.415, 2771.344, 2773.272, 2775.201, 2777.129, 2779.058, 2780.986,
2782.915, 2784.844, 2786.772, 2788.701, 2790.629, 2792.558, 2794.486,
2796.415, 2798.343, 2800.272, 2802.2, 2804.129, 2806.058, 2807.986,
2809.915, 2811.843, 2813.772, 2815.7, 2817.629, 2819.558, 2821.486,
2823.415, 2825.343, 2827.272, 2829.2, 2831.129, 2833.057, 2834.986,
2836.915, 2838.843, 2840.772, 2842.7, 2844.629, 2846.557, 2848.486,
2850.415, 2852.343, 2854.272, 2856.2, 2858.129, 2860.057, 2861.986,
2863.915, 2865.843, 2867.771, 2869.7, 2871.629, 2873.557, 2875.486,
2877.414, 2879.343, 2881.271, 2883.2, 2885.129, 2887.057, 2888.986,
2890.914, 2892.843, 2894.771, 2896.7, 2898.629, 2900.557, 2902.486,
2904.414, 2906.343, 2908.271, 2910.2, 2912.128, 2914.057, 2915.986,
2917.914, 2919.843, 2921.771, 2923.7, 2925.628, 2927.557, 2929.486,
2931.414, 2933.343, 2935.271, 2937.2, 2939.128, 2941.057, 2942.986,
2944.914, 2946.843, 2948.771, 2950.7, 2952.628, 2954.557, 2956.485,
2958.414, 2960.343, 2962.271, 2964.2, 2966.128, 2968.057, 2969.985,
2971.914, 2973.843, 2975.771, 2977.7, 2979.628, 2981.557, 2983.485,
2985.414, 2987.343, 2989.271, 2991.199, 2993.128, 2995.057, 2996.985,
2998.914, 3000.842, 3002.771, 3004.699, 3006.628, 3008.557, 3010.485,
3012.414, 3014.342, 3016.271, 3018.199, 3020.128, 3022.057, 3023.985,
3025.914, 3027.842, 3029.771, 3031.699, 3033.628, 3035.556, 3037.485,
3039.414, 3041.342, 3043.271, 3045.199, 3047.128, 3049.056, 3050.985,
3052.914, 3054.842, 3056.771, 3058.699, 3060.628, 3062.556, 3064.485,
3066.414, 3068.342, 3070.271, 3072.199, 3074.128, 3076.056, 3077.985,
3079.913, 3081.842, 3083.771, 3085.699, 3087.628, 3089.556, 3091.485,
3093.413, 3095.342, 3097.271, 3099.199, 3101.128, 3103.056, 3104.985,
3106.913, 3108.842, 3110.771, 3112.699, 3114.627, 3116.556, 3118.485,
3120.413, 3122.342, 3124.27, 3126.199, 3128.127, 3130.056, 3131.985,
3133.913, 3135.842, 3137.77, 3139.699, 3141.627, 3143.556, 3145.485,
3147.413, 3149.342, 3151.27, 3153.199, 3155.127, 3157.056, 3158.984,
3160.913, 3162.842, 3164.77, 3166.699, 3168.627, 3170.556, 3172.484,
3174.413, 3176.342, 3178.27, 3180.199, 3182.127, 3184.056, 3185.984,
3187.913, 3189.842, 3191.77, 3193.698, 3195.627, 3197.556, 3199.484,
3201.413, 3203.341, 3205.27, 3207.198, 3209.127, 3211.056, 3212.984,
3214.913, 3216.841, 3218.77, 3220.698, 3222.627, 3224.556, 3226.484,
3228.413, 3230.341, 3232.27, 3234.198, 3236.127, 3238.055, 3239.984,
3241.913, 3243.841, 3245.77, 3247.698, 3249.627, 3251.555, 3253.484,
3255.413, 3257.341, 3259.27, 3261.198, 3263.127, 3265.055, 3266.984,
3268.913, 3270.841, 3272.77, 3274.698, 3276.627, 3278.555, 3280.484,
3282.412, 3284.341, 3286.27, 3288.198, 3290.127, 3292.055, 3293.984,
3295.912, 3297.841, 3299.77, 3301.698, 3303.627, 3305.555, 3307.484,
3309.412, 3311.341, 3313.27, 3315.198, 3317.126, 3319.055, 3320.984,
3322.912, 3324.841, 3326.769, 3328.698, 3330.626, 3332.555, 3334.484,
3336.412, 3338.341, 3340.269, 3342.198, 3344.126, 3346.055, 3347.984,
3349.912, 3351.841, 3353.769, 3355.698, 3357.626, 3359.555, 3361.483,
3363.412, 3365.341, 3367.269, 3369.198, 3371.126, 3373.055, 3374.983,
3376.912, 3378.841, 3380.769, 3382.698, 3384.626, 3386.555, 3388.483,
3390.412, 3392.34, 3394.269, 3396.198, 3398.126, 3400.055, 3401.983,
3403.912, 3405.84, 3407.769, 3409.698, 3411.626, 3413.555, 3415.483,
3417.412, 3419.34, 3421.269, 3423.198, 3425.126, 3427.054, 3428.983,
3430.912, 3432.84, 3434.769, 3436.697, 3438.626, 3440.554, 3442.483,
3444.412, 3446.34, 3448.269, 3450.197, 3452.126, 3454.054, 3455.983,
3457.912, 3459.84, 3461.769, 3463.697, 3465.626, 3467.554, 3469.483,
3471.411, 3473.34, 3475.269, 3477.197, 3479.126, 3481.054, 3482.983,
3484.911, 3486.84, 3488.769, 3490.697, 3492.626, 3494.554, 3496.483,
3498.411, 3500.34, 3502.269, 3504.197, 3506.125, 3508.054, 3509.983,
3511.911, 3513.84, 3515.768, 3517.697, 3519.625, 3521.554, 3523.483,
3525.411, 3527.34, 3529.268, 3531.197, 3533.125, 3535.054, 3536.983,
3538.911, 3540.84, 3542.768, 3544.697, 3546.625, 3548.554, 3550.482,
3552.411, 3554.34, 3556.268, 3558.197, 3560.125, 3562.054, 3563.982,
3565.911, 3567.84, 3569.768, 3571.697, 3573.625, 3575.554, 3577.482,
3579.411, 3581.34, 3583.268, 3585.197, 3587.125, 3589.054, 3590.982,
3592.911, 3594.839, 3596.768, 3598.697, 3600.625, 3602.554, 3604.482,
3606.411, 3608.339, 3610.268, 3612.197, 3614.125, 3616.054, 3617.982,
3619.911, 3621.839, 3623.768, 3625.697, 3627.625, 3629.553, 3631.482,
3633.411, 3635.339, 3637.268, 3639.196, 3641.125, 3643.053, 3644.982,
3646.911, 3648.839, 3650.768, 3652.696, 3654.625, 3656.553, 3658.482,
3660.411, 3662.339, 3664.268, 3666.196, 3668.125, 3670.053, 3671.982,
3673.91, 3675.839, 3677.768, 3679.696, 3681.625, 3683.553, 3685.482,
3687.41, 3689.339, 3691.268, 3693.196, 3695.125, 3697.053, 3698.982,
3700.91, 3702.839, 3704.768, 3706.696, 3708.625, 3710.553, 3712.482,
3714.41, 3716.339, 3718.267, 3720.196, 3722.125, 3724.053, 3725.982,
3727.91, 3729.839, 3731.767, 3733.696, 3735.625, 3737.553, 3739.482,
3741.41, 3743.339, 3745.267, 3747.196, 3749.125, 3751.053, 3752.981,
3754.91, 3756.839, 3758.767, 3760.696, 3762.624, 3764.553, 3766.481,
3768.41, 3770.339, 3772.267, 3774.196, 3776.124, 3778.053, 3779.981,
3781.91, 3783.839, 3785.767, 3787.696, 3789.624, 3791.553, 3793.481,
3795.41, 3797.338, 3799.267, 3801.196, 3803.124, 3805.053, 3806.981,
3808.91, 3810.838, 3812.767, 3814.696, 3816.624, 3818.553, 3820.481,
3822.41, 3824.338, 3826.267, 3828.196, 3830.124, 3832.052, 3833.981,
3835.91, 3837.838, 3839.767, 3841.695, 3843.624, 3845.552, 3847.481,
3849.41, 3851.338, 3853.267, 3855.195, 3857.124, 3859.052, 3860.981,
3862.91, 3864.838, 3866.767, 3868.695, 3870.624, 3872.552, 3874.481,
3876.409, 3878.338, 3880.267, 3882.195, 3884.124, 3886.052, 3887.981,
3889.909, 3891.838, 3893.767, 3895.695, 3897.624, 3899.552, 3901.481,
3903.409, 3905.338, 3907.267, 3909.195, 3911.124, 3913.052, 3914.981,
3916.909, 3918.838, 3920.766, 3922.695, 3924.624, 3926.552, 3928.481,
3930.409, 3932.338, 3934.266, 3936.195, 3938.124, 3940.052, 3941.981,
3943.909, 3945.838, 3947.766, 3949.695, 3951.623, 3953.552, 3955.48,
3957.409, 3959.338, 3961.266, 3963.195, 3965.123, 3967.052, 3968.98,
3970.909, 3972.838, 3974.766, 3976.695, 3978.623, 3980.552, 3982.48,
3984.409, 3986.337, 3988.266, 3990.195, 3992.123, 3994.052, 3995.98,
3997.909, 3999.837, 4001.766), V2 = c(99.01534, 99.47646, 100.0546,
100.312, 99.71607, 99.15787, 98.90366, 98.94545, 98.99001, 98.80016,
98.50343, 99.41513, 99.3288, 98.66947, 98.46121, 98.66785, 98.91142,
99.06499, 98.72038, 98.70213, 99.01284, 98.96254, 98.39632, 98.11739,
98.32433, 98.25765, 97.76201, 97.45979, 97.78167, 97.97953, 98.1161,
98.23969, 98.25524, 98.20816, 97.98656, 97.87981, 97.80737, 97.91109,
98.38013, 98.91565, 99.2599, 99.27879, 98.98187, 99.00896, 99.0485,
98.80077, 98.78005, 99.03814, 99.04721, 98.87219, 98.88594, 98.89348,
98.74271, 98.64002, 98.63335, 98.50579, 98.2946, 98.09849, 97.81586,
97.59525, 97.59621, 97.46328, 97.07209, 96.61916, 96.1642, 95.52821,
94.49286, 93.2205, 91.87648, 90.21632, 88.386, 87.11273, 86.57743,
86.65727, 87.26904, 88.13465, 89.02025, 89.95805, 90.88158, 91.521,
91.91651, 92.37482, 92.77064, 93.22055, 93.57242, 93.89684, 94.24706,
94.64944, 95.09652, 95.59097, 96.00142, 96.49431, 97.01918, 97.39784,
97.63902, 97.88634, 98.10719, 98.16151, 98.26704, 98.41297, 98.4052,
98.50799, 98.6594, 98.80433, 98.83514, 98.81207, 98.84206, 98.91689,
98.93256, 98.83479, 98.74741, 98.62626, 98.56072, 98.45139, 98.23677,
98.1715, 98.30128, 98.41313, 98.53188, 98.60124, 98.67046, 98.78738,
98.94302, 99.10598, 99.17667, 99.29501, 99.3176, 99.23132, 99.18996,
99.15388, 99.01759, 98.88744, 98.76105, 98.65195, 98.54651, 98.34895,
98.05766, 97.63303, 97.16643, 96.90678, 96.61196, 96.32304, 96.06229,
95.76113, 95.46042, 95.07395, 94.42852, 93.40195, 91.78612, 89.25001,
84.90485, 76.96218, 63.73414, 49.62833, 43.99543, 48.54655, 57.26891,
66.97215, 76.23576, 84.2609, 90.35419, 94.44833, 96.81139, 98.06499,
98.70992, 99.01819, 99.13742, 99.15278, 99.06941, 98.98928, 98.81143,
98.46529, 97.86332, 96.90858, 95.64627, 94.15934, 92.41764, 90.33221,
87.80884, 85.20681, 83.25567, 82.35603, 82.03168, 81.74703, 81.31844,
81.16341, 81.65587, 82.83707, 84.29511, 85.78635, 87.21563, 88.74633,
90.43103, 92.10732, 93.55222, 94.77606, 95.86864, 96.79111, 97.42068,
97.90768, 98.29694, 98.6357, 98.96532, 99.22725, 99.42123, 99.60899,
99.74778, 99.82435, 99.8969, 99.96833, 99.99744, 100.0453, 100.0757,
100.089, 100.1179, 100.1387, 100.1325, 100.1579, 100.1533, 100.1188,
100.0909, 100.0821, 100.0919, 100.0763, 99.9502, 99.75397, 99.49655,
99.1847, 98.92671, 98.81087, 98.84266, 99.01054, 99.24235, 99.51513,
99.75513, 99.90356, 100.0075, 100.1021, 100.1345, 100.1094, 100.0999,
100.104, 100.088, 100.0716, 100.0773, 100.0757, 100.029, 100.0135,
100.0107, 99.97286, 99.90625, 99.8556, 99.7996, 99.7468, 99.68775,
99.62837, 99.51452, 99.34227, 99.06502, 98.61686, 97.97771, 97.24049,
96.67374, 96.47858, 96.69792, 97.24548, 97.91561, 98.50423, 98.95181,
99.258, 99.44955, 99.57285, 99.65652, 99.72356, 99.77986, 99.77335,
99.70863, 99.61462, 99.47023, 99.328, 99.19232, 99.104, 99.1017,
99.1581, 99.23383, 99.30595, 99.3393, 99.34258, 99.31792, 99.20844,
99.03789, 98.80491, 98.58917, 98.51825, 98.60085, 98.76683, 98.95083,
99.0423, 99.0153, 98.91553, 98.79474, 98.72369, 98.72829, 98.82593,
98.97424, 99.10591, 99.15886, 99.17239, 99.16056, 99.10106, 98.9781,
98.67786, 98.25652, 98.01376, 98.02032, 98.01058, 97.86945, 97.61265,
97.2594, 96.88943, 96.50929, 96.14891, 95.76353, 95.27431, 94.52391,
93.67211, 93.34044, 93.88899, 95.09527, 96.53935, 97.64509, 98.21951,
98.44925, 98.53584, 98.57269, 98.62277, 98.70047, 98.78342, 98.84356,
98.86983, 98.86766, 98.80228, 98.65013, 98.43902, 98.14632, 97.84267,
97.60601, 97.49456, 97.54839, 97.79438, 98.14566, 98.48376, 98.71672,
98.89909, 99.08622, 99.26275, 99.4285, 99.56041, 99.6431, 99.71347,
99.78465, 99.82143, 99.8717, 99.93394, 99.99984, 100.029, 100.0191,
100.0071, 99.97926, 99.94358, 99.9283, 99.99182, 100.0953, 100.1784,
100.241, 100.2891, 100.3255, 100.3575, 100.3546, 100.3315, 100.307,
100.3062, 100.2673, 100.23, 100.2018, 100.0971, 99.97744, 99.85575,
99.65493, 99.31167, 98.83695, 98.43916, 98.41961, 98.76081, 99.19061,
99.50447, 99.6499, 99.72387, 99.74574, 99.72498, 99.679, 99.61044,
99.44144, 99.11954, 98.68335, 98.37308, 98.40865, 98.67049, 98.9513,
99.11879, 99.17781, 99.19526, 99.19388, 99.21238, 99.25298, 99.32475,
99.41435, 99.529, 99.6392, 99.72977, 99.81898, 99.89915, 99.93525,
99.95404, 99.95959, 99.96848, 99.97407, 99.96037, 99.94762, 99.96938,
100.0065, 100.0174, 100.0096, 100.0302, 100.0391, 100.0179, 99.98507,
99.97402, 99.97755, 99.96851, 99.97285, 99.9945, 100.01, 100.0191,
100.0331, 100.0507, 100.0773, 100.0791, 100.0433, 100.0065, 99.97675,
99.95705, 99.92493, 99.86236, 99.76617, 99.67162, 99.60351, 99.56413,
99.53027, 99.50862, 99.49123, 99.45722, 99.39648, 99.35213, 99.33479,
99.3137, 99.26936, 99.1953, 99.10705, 99.01487, 98.91937, 98.8307,
98.73793, 98.70856, 98.74625, 98.8073, 98.87795, 98.91122, 98.86491,
98.77266, 98.66542, 98.58443, 98.57474, 98.66195, 98.79847, 98.94092,
99.05918, 99.13765, 99.11296, 98.95667, 98.81273, 98.70781, 98.64424,
98.63816, 98.65028, 98.65901, 98.60604, 98.47792, 98.361, 98.34972,
98.2912, 98.15807, 98.11618, 98.06941, 98.00527, 98.08978, 98.23113,
98.31457, 98.41524, 98.53043, 98.68359, 98.89311, 99.20262, 99.45141,
99.55904, 99.71452, 99.94097, 100.0673, 100.1242, 100.1323, 100.0446,
100.0593, 100.0919, 100.0948, 100.0925, 100.0982, 100.0847, 100.0921,
100.1305, 100.1535, 99.95528, 99.88353, 99.82863, 99.64944, 99.45661,
99.1107, 98.59902, 98.10173, 97.36129, 96.27841, 95.178, 93.9688,
92.55734, 91.07776, 88.89647, 86.04284, 84.8716, 87.91085, 93.31879,
97.80956, 98.778, 99.04801, 99.40652, 99.66404, 99.64604, 99.69938,
99.92619, 100.043, 99.87492, 99.66132, 99.39523, 98.99036, 98.27164,
97.23045, 95.53902, 92.28716, 86.92353, 84.65143, 87.95549, 94.07611,
97.75562, 99.063, 99.58829, 99.92705, 100.5268, 100.7596, 100.6284,
100.6587, 100.645, 100.6538, 100.6737, 100.7527, 101.043, 100.8014,
100.6045, 100.5304, 100.4546, 100.4503, 100.6151, 100.5021, 100.3383,
100.5459, 100.6478, 100.4208, 100.3503, 100.3303, 100.364, 100.4136,
100.4282, 100.6221, 100.7603, 101.1967, 101.0447, 100.5765, 100.4989,
100.4881, 100.4907, 100.5416, 100.3772, 100.2721, 100.2595, 99.9276,
99.24405, 98.55703, 98.41068, 98.83064, 99.22473, 99.31937, 99.0798,
98.65643, 97.94052, 96.6965, 95.1958, 94.37698, 95.00779, 96.5434,
98.03144, 99.10382, 99.73907, 100.0643, 100.2473, 100.5365, 100.6062,
100.4804, 100.5546, 100.7314, 100.6987, 100.693, 100.6712, 100.613,
100.6365, 100.8984, 100.823, 100.6248, 100.6432, 100.6039, 100.6568,
100.9076, 100.7937, 100.6829, 101.1371, 100.9446, 100.5285, 100.4006,
100.4207, 100.5768, 100.5068, 100.3734, 100.5016, 100.6158, 100.5151,
100.5223, 100.6732, 100.5297, 100.4372, 100.4502, 100.8503, 100.9407,
100.7516, 100.7288, 100.6341, 100.5723, 100.7653, 100.9387, 100.975,
101.0679, 100.756, 100.74, 100.7721, 100.7241, 100.6846, 100.7209,
100.8303, 100.8436, 100.9015, 100.7005, 100.5824, 100.5702, 100.4738,
100.498, 100.6063, 100.5947, 100.7116, 100.5872, 100.3483, 100.3997,
100.3792, 100.3161, 100.2597, 100.3688, 100.5092, 100.5628, 100.4483,
100.3412, 100.4385, 100.4874, 100.5773, 100.6791, 100.59, 100.5831,
100.6879, 100.7356, 100.8296, 100.7381, 100.5954, 100.5346, 100.5976,
100.5831, 100.5432, 100.6027, 100.5282, 100.4581, 100.4959, 100.4133,
100.2219, 100.1218, 100.0628, 100.0288, 99.95697, 99.94629, 100.0161,
100.1059, 100.1664, 100.1727, 100.1958, 100.2931, 100.3261, 100.3618,
100.4249, 100.5573, 100.6166, 100.6518, 100.731, 100.6701, 100.6159,
100.6432, 100.6745, 100.6698, 100.649, 100.7712, 100.8222, 100.7357,
100.6278, 100.5074, 100.4281, 100.4036, 100.395, 100.3426, 100.2526,
100.1563, 100.1049, 100.1407, 100.1603, 100.0664, 99.96427, 99.96702,
100.0362, 100.0894, 100.0658, 100.1125, 100.1758, 100.1296, 100.1222,
100.2499, 100.3293, 100.4104, 100.437, 100.4928, 100.5172, 100.4841,
100.4799, 100.4858, 100.4594, 100.4953, 100.5235, 100.5444, 100.4488,
100.5448, 100.5242, 100.2893, 100.2369, 100.2034, 100.1344, 100.1297,
100.0381, 99.9265, 99.81003, 99.70715, 99.56239, 99.40444, 99.42728,
99.43124, 99.33542, 99.46852, 99.53984, 99.47816, 99.53896, 99.56113,
99.47018, 99.42506, 99.28151, 99.15503, 99.3353, 99.5679, 99.74041,
99.86408, 99.88233, 99.88905, 99.65484, 99.65503, 99.62502, 99.70683,
99.90034, 99.94447, 100.0095, 100.0353, 100.0029, 100.057, 99.98308,
99.7042, 99.49249, 99.69781, 99.93073, 99.88844, 99.69552, 99.86578,
99.84029, 99.91473, 99.84266, 99.87623, 100.0239, 99.84755, 99.66219,
99.85039, 99.66439, 99.41598, 99.08367, 99.43113, 99.8558, 99.86469,
99.84073, 100.062, 100.1875, 100.3435, 100.3615, 100.393, 100.2315,
100.1277, 100.1261, 100.283, 100.2541, 100.0928, 100.158, 100.3624,
100.4088, 100.3772, 100.3911, 100.4588, 100.6509, 100.887, 100.8394,
100.6782, 100.5158, 100.4611, 100.649, 100.622, 100.4558, 100.5146,
100.5437, 100.5704, 100.531, 100.4302, 100.4309, 100.4767, 100.5257,
100.5785, 100.6201, 100.5544, 100.4881, 100.5231, 100.6367, 100.6838,
100.6814, 100.7021, 100.6652, 100.6361, 100.5494, 100.5337, 100.6118,
100.6211, 100.5739, 100.6718, 100.568, 100.5307, 100.6165, 100.5643,
100.3456, 100.2054, 100.1089, 100.3681, 100.5598, 100.2014, 99.8398,
100.1684, 100.4297, 100.5442, 100.5726, 100.3989, 100.3192, 100.6033,
100.6586, 100.769, 101.0552, 100.7733, 100.3692, 100.4931, 100.5195,
100.4018, 100.4507, 100.6733, 100.7102, 100.5809, 100.4169, 100.4849,
100.6197, 100.7291, 100.6964, 100.5919, 100.3818, 100.4239, 100.6504,
100.748, 100.7574, 100.6691, 100.5414, 100.5724, 100.6118, 100.5717,
100.5368, 100.6288, 100.587, 100.6384, 100.7437, 100.8057, 100.7661,
100.7733, 100.7753, 100.7147, 100.6734, 100.7007, 100.6847, 100.6764,
100.7081, 100.6378, 100.6051, 100.6594, 100.6381, 100.7161, 100.7989,
100.8146, 100.7326, 100.7218, 100.8081, 100.899, 100.8834, 100.8458,
100.8035, 100.7897, 100.7921, 100.8069, 100.8183, 100.8198, 100.8177,
100.8062, 100.7766, 100.7821, 100.8232, 100.823, 100.7755, 100.7692,
100.776, 100.806, 100.8288, 100.8511, 100.8091, 100.771, 100.7904,
100.8227, 100.8491, 100.8819, 100.8649, 100.8846, 100.9889, 101.0599,
101.0211, 100.9632, 100.8861, 100.9032, 100.9476, 100.9816, 100.9473,
100.8412, 100.8384, 100.8759, 100.9186, 101.0114, 101.0418, 101.0146,
100.9901, 100.9797, 101.0307, 101.1233, 101.1862, 101.1461, 101.0461,
100.9706, 100.9408, 100.9176, 100.8512, 100.8302, 100.8188, 100.8074,
100.784, 100.7886, 100.8301, 100.8358, 100.8277, 100.8427, 100.8655,
100.8923, 100.8903, 100.888, 100.8988, 100.9268, 100.9419, 100.9409,
100.9416, 100.9186, 100.8699, 100.8865, 100.8803, 100.8467, 100.8387,
100.8707, 100.8636, 100.8612, 100.8195, 100.8103, 100.8189, 100.8287,
100.8261, 100.8518, 100.8915, 100.9191, 100.9178, 100.9066, 100.9201,
100.9431, 100.9529, 100.9657, 100.9185, 100.9107, 100.9457, 100.9472,
100.8708, 100.8548, 100.8976, 100.9682, 100.9582, 100.9027, 100.8609,
100.8783, 100.8833, 100.8782, 100.9093, 100.9103, 100.8733, 100.8494,
100.8434, 100.8448, 100.8185, 100.8483, 100.8407, 100.813, 100.821,
100.8544, 100.8176, 100.7823, 100.8296, 100.8569, 100.8167, 100.8102,
100.8305, 100.8359, 100.8468, 100.8416, 100.8429, 100.8498, 100.8393,
100.8459, 100.8555, 100.8353, 100.8091, 100.8476, 100.8827, 100.8437,
100.8097, 100.8512, 100.8758, 100.8654, 100.8497, 100.8717, 100.8978,
100.8452, 100.8049, 100.7988, 100.8034, 100.8233, 100.7999, 100.7947,
100.7716, 100.7515, 100.7607, 100.7959, 100.8353, 100.8059, 100.7912,
100.8117, 100.8105, 100.805, 100.7716, 100.712, 100.6987, 100.7466,
100.7859, 100.7931, 100.7834, 100.7964, 100.8295, 100.8595, 100.848,
100.7999, 100.7818, 100.7931, 100.7858, 100.762, 100.7525, 100.7466,
100.7464, 100.7401, 100.7328, 100.7562, 100.7738, 100.7621, 100.7376,
100.7336, 100.7232, 100.7374, 100.7545, 100.7625, 100.7544, 100.7452,
100.7291, 100.718, 100.7138, 100.7146, 100.7167, 100.7134, 100.712,
100.7192, 100.712, 100.7184, 100.7166, 100.7182, 100.7158, 100.714,
100.7018, 100.7106, 100.7235, 100.7327, 100.7213, 100.7059, 100.7049,
100.7161, 100.7125, 100.7022, 100.6964, 100.7004, 100.6866, 100.6891,
100.703, 100.7154, 100.7151, 100.7133, 100.7274, 100.7369, 100.7295,
100.7146, 100.7232, 100.7463, 100.758, 100.7536, 100.743, 100.7588,
100.76, 100.748, 100.7538, 100.7413, 100.728, 100.7236, 100.7218,
100.7178, 100.7091, 100.715, 100.728, 100.7256, 100.7357, 100.7334,
100.7194, 100.7068, 100.7002, 100.6888, 100.6757, 100.6624, 100.646,
100.6472, 100.6612, 100.6619, 100.6504, 100.6454, 100.6449, 100.638,
100.6298, 100.6209, 100.6137, 100.6101, 100.5915, 100.5505, 100.5234,
100.5051, 100.4819, 100.4831, 100.4904, 100.4815, 100.4784, 100.4515,
100.405, 100.3775, 100.3748, 100.3482, 100.2759, 100.188, 100.0451,
99.82845, 99.52703, 99.13176, 98.67944, 98.24625, 97.88992, 97.66322,
97.58133, 97.64616, 97.79988, 98.01422, 98.27966, 98.57628, 98.83746,
99.04126, 99.18792, 99.26678, 99.29479, 99.30687, 99.26933, 99.21211,
99.1452, 99.04432, 98.93872, 98.81718, 98.68619, 98.56794, 98.45214,
98.29226, 98.09275, 97.88325, 97.62147, 97.30851, 96.973, 96.58906,
96.15372, 95.70676, 95.26069, 94.79193, 94.34034, 93.90156, 93.49372,
93.15743, 92.87469, 92.69578, 92.67853, 92.80872, 93.08174, 93.51238,
94.06013, 94.67579, 95.32, 95.9902, 96.61818, 97.15316, 97.61598,
98.03819, 98.40787, 98.74642, 99.01272, 99.20899, 99.38885, 99.55359,
99.70747, 99.85797, 99.96866, 100.0702, 100.1355, 100.2106, 100.3128,
100.3696, 100.3642, 100.3504, 100.3795, 100.4126, 100.4136, 100.4302,
100.459, 100.4717, 100.4524, 100.3765, 100.2462, 100.097, 99.86462,
99.53101, 99.24543, 99.1098, 99.17384, 99.36963, 99.48901, 99.51929,
99.41441, 99.1409, 98.69759, 98.01824, 97.01254, 95.73395, 94.43655,
93.61588, 93.68156, 94.47609, 95.63225, 96.76868, 97.6591, 98.33034,
98.80128, 99.10933, 99.31852, 99.44701, 99.47159, 99.3795, 99.15248,
98.88195, 98.53065, 98.05796, 97.58035, 97.3094, 97.35755, 97.71778,
98.23961, 98.71338, 99.06432, 99.2777, 99.37445, 99.37048, 99.22141,
98.92686, 98.5828, 98.44921, 98.65181, 99.07152, 99.50293, 99.87266,
100.1631, 100.3003, 100.3243, 100.3064, 100.263, 100.2223, 100.1922,
100.2382, 100.3804, 100.5272, 100.6446, 100.7357, 100.798, 100.84,
100.8709, 100.8916, 100.8901, 100.8942, 100.8914, 100.8888, 100.8812,
100.8868, 100.903, 100.9003, 100.8825, 100.8906, 100.8835, 100.8692,
100.8686, 100.8952, 100.908, 100.9, 100.88, 100.8616, 100.8584,
100.8657, 100.8871, 100.9036, 100.9245, 100.9388, 100.9279, 100.9488,
100.9592, 100.9324, 100.9328, 100.9567, 100.9532, 100.9729, 100.9632,
100.9512, 100.9456, 100.9467, 100.9598, 100.9827, 100.9995, 101.0122,
101.0081, 100.9864, 100.951, 100.9462, 100.9508, 100.949, 100.9394,
100.9459, 100.9511, 100.9807, 100.9896, 100.9932, 101.02, 101.028,
101.0265, 101.0155, 100.9783, 100.9501, 100.9744, 100.9843, 100.9776,
100.9653, 100.9456, 100.9825, 101.0397, 101.0183, 100.9603, 100.9668,
100.9922, 100.9463, 100.924, 100.9724, 100.9577, 100.9571, 100.986,
101.001, 101.0279, 101.035, 100.9916, 100.9834, 101.03, 101.0234,
100.9626, 100.9748, 100.997, 100.9839, 100.9939, 101.0131, 100.9756,
100.9511, 100.9706, 101.0024, 101.0353, 101.0397, 101.0152, 101.0028,
100.9639, 100.981, 100.961, 100.9448, 100.9374, 100.9326, 100.9565,
100.9704, 100.9642, 100.9884, 100.9882, 100.9581, 100.9424, 100.96,
100.9766, 100.9888, 100.9777, 100.9543, 100.9369, 100.9651, 101.0004,
100.9927, 100.984, 101.0254, 101.0257, 100.9829, 100.9639, 100.9541,
100.973, 100.991, 100.9662, 100.9338, 100.9119, 100.9177, 100.93,
100.9601, 100.971, 100.9824, 100.9553, 100.946, 100.978, 100.9948,
100.9901, 101.0165, 101.0295, 101.0051, 100.9785, 100.9755, 100.9762,
101.0042, 100.983, 100.9453, 100.9693, 101.0032, 101.0027, 100.9852,
100.9944, 100.9969, 101.0001, 101.0167, 101.0244, 101.0353, 101.003,
100.9638, 100.9382, 100.9281, 100.9623, 100.9969, 100.9911, 101.0129,
101.0302, 101.0188, 101.0332, 101.0274, 100.9877, 100.9615, 100.9382,
100.9385, 100.9522, 100.9666, 100.9851, 100.9954, 100.9995, 101.0027,
100.9875, 101.0141, 101.0271, 101.0242, 101.0107, 101.0217, 101.0553,
101.062, 101.0092, 101.0105, 101.0231, 101.0117, 100.9682, 100.9699,
101.0077, 101.0348, 101.0622, 101.0908, 101.0621, 101.0297, 101.061,
101.0905, 101.0239, 100.9779, 101.0208, 101.0761, 101.0378, 101.058,
101.1506, 101.1509, 101.0702, 101.0166, 101.0025, 101.0347, 101.0606,
101.0821, 101.0936, 101.0922, 101.0895, 101.1284, 101.1425, 101.0802,
101.0119, 101.0385, 101.0573, 101.0724, 101.0829, 101.1224, 101.1424,
101.1559, 101.2999, 101.3907, 101.1794, 101.028, 101.0308, 101.0835,
101.0995, 101.1106, 101.1308, 101.1104, 101.1731, 101.3787, 101.3344,
101.1246, 101.0583, 101.1278, 101.1586, 101.1474, 101.2251, 101.1617,
101.0639, 101.181, 101.3774, 101.2186, 101.0779, 101.1245, 101.1336,
101.2867, 101.3795, 101.2987, 101.2017, 101.1845, 101.3839, 101.5621,
101.179, 101.0416, 101.0344, 101.0403, 100.9194, 100.925, 101.1054,
101.163, 101.3061, 101.5059, 101.4376, 101.0924, 100.922, 101.0988,
101.0974, 101.0097, 101.1471, 101.3097, 101.1918, 101.2137, 101.4536,
101.1286, 100.9019, 101.3139, 101.2816, 101.2691, 101.1665, 101.1571,
101.0532, 101.1479, 101.5831, 101.5513, 101.1686, 100.8712, 100.8118,
100.9148, 101.2323, 101.3842, 101.2432, 101.1168, 101.1054, 101.2609,
101.4753, 101.356, 101.1231, 101.0475, 101.0341, 101.2369, 101.4964,
101.5482, 101.2332, 100.9228, 101.0604, 101.243, 101.4427, 101.4908,
101.344, 101.0975, 101.1056, 101.5638, 101.3778, 101.4872, 101.5631,
101.4142, 101.049, 101.0449, 101.2933, 101.3414, 101.1484, 101.1752,
101.1624, 101.1311, 101.1972, 101.1777, 101.1826, 101.0654, 101.0767,
101.2348, 101.1366, 101.1491, 101.1063, 101.0879, 101.1076, 101.022,
101.1122, 101.3364, 101.2774, 101.0747, 101.2141, 101.1988, 101.0227,
101.1844, 101.2874, 101.2278, 101.0669, 101.1945, 101.3751, 101.1348,
101.2655, 101.3127, 101.0665, 101.0609, 101.0574, 101.2178, 101.4043,
101.3313, 101.2117, 101.225, 101.3391, 101.3778, 101.4004, 101.2591,
101.0608, 101.0345, 101.1842, 101.7466, 101.6525, 101.3429, 101.1478,
101.0709, 101.133, 101.3321, 101.3047, 101.4192, 101.4902, 101.2338,
101.2171, 101.0889, 101.1599, 101.348, 101.2784, 101.1549, 101.2094,
101.0735, 101.0683, 101.2562, 101.2747, 101.1051, 101.1167, 101.2999,
101.2429, 101.3641, 101.4421, 101.2178, 101.0724, 101.0441, 101.0799,
101.1706, 101.2719, 101.3004, 101.2612, 101.1563, 101.0765, 101.0376,
101.0907, 101.1814, 101.2425, 101.1366, 101.0645, 101.0961, 101.1271,
101.1953, 101.1814, 101.1284, 101.134, 101.146, 101.1276, 101.1066,
101.0739, 101.0678, 101.0438, 101.0599, 101.107, 101.122, 101.0944,
101.0585, 101.0703, 101.0907, 101.1086, 101.141, 101.1332, 101.0925,
101.1005, 101.1318, 101.1054, 101.0627, 101.062, 101.1081, 101.093,
101.0077, 101.0068, 101.0525, 0)), .Names = c("V1", "V2"), class = "data.frame", row.names = c(NA,
-1869L))

Dennis Murphy

unread,
Aug 17, 2010, 6:01:42 PM8/17/10
to Bryan Hanson, ggplot2
Hi Bryan:

Gee, no pressure :)

How about this?

p1 <- ggplot(ps, aes(x = -V1, y = V2))
p1 + geom_smooth(span = 0.2, se = FALSE) +

     scale_y_continuous(limits = c(99, 101)) +
     scale_x_continuous(breaks = c(-2000, -1900, -1800, -1700),
     labels = c("2.0 K", "1.9 K", "1.8 K", "1.7 K"),
     limits = c(-2000, -1700))

Nothing like faking out a problem with some choice labeling :)

HTH,
Dennis

--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: http://gist.github.com/270442
 
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2

Bryan Hanson

unread,
Aug 17, 2010, 6:18:12 PM8/17/10
to Dennis Murphy, ggplot2
See, you knew what to do!

I’m really glad to have it working the way I need, but how on earth did you come up with this approach?  And does anyone know why it works?  You literally “can’t make this stuff up!”

Bryan

Hadley Wickham

unread,
Aug 17, 2010, 10:28:58 PM8/17/10
to Bryan Hanson, Dennis Murphy, ggplot2
That's exactly how scale_reverse works internally.

Hadley

> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>

--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

Bryan Hanson

unread,
Aug 18, 2010, 9:30:52 AM8/18/10
to Hadley Wickham, ggplot2
Well, I'm definitely learning different ways to conceptualize some of these
tasks, which is very helpful.

But if Dennis' strategy is how scale_reverse works internally, is it clear
why using scale_x_reverse() or scale_x_continuous(trans = "reverse") doesn't
work, as I mentioned in my OP? These were the approaches I dug out of the
web page and help archives. I must have something else in there that is
breaking it, possibly even as simple as a misplaced paren?

Thanks as always everyone! Bryan

Reply all
Reply to author
Forward
0 new messages