Geometries

Geom.abline

using Gadfly, RDatasets, Compose, Random
Random.seed!(123)
set_default_plot_size(21cm, 8cm)

p1 = plot(dataset("ggplot2", "mpg"),
     x="Cty", y="Hwy", label="Model", Geom.point, Geom.label,
     intercept=[0], slope=[1], Geom.abline(color="red", style=:dash),
     Guide.annotation(compose(context(), text(6,4, "y=x", hleft, vtop), fill("red"))))

x = [20*rand(20); exp(-3)]
D = DataFrame(x=x, y= exp.(-0.5*asinh.(x).+5) .+ 2*randn(length(x)))
abline = Geom.abline(color="red", style=:dash)
p2 = plot(D, x=:x, y=:y,  Geom.point,  Scale.x_asinh, Scale.y_log,
     intercept=[148], slope=[-0.5], abline)
hstack(p1, p2)
x sinh(0) sinh(1) sinh(2) sinh(3) sinh(4) sinh(0.0) sinh(0.2) sinh(0.4) sinh(0.6) sinh(0.8) sinh(1.0) sinh(1.2) sinh(1.4) sinh(1.6) sinh(1.8) sinh(2.0) sinh(2.2) sinh(2.4) sinh(2.6) sinh(2.8) sinh(3.0) sinh(3.2) sinh(3.4) sinh(3.6) sinh(3.8) sinh(4.0) sinh(0.00) sinh(0.02) sinh(0.04) sinh(0.06) sinh(0.08) sinh(0.10) sinh(0.12) sinh(0.14) sinh(0.16) sinh(0.18) sinh(0.20) sinh(0.22) sinh(0.24) sinh(0.26) sinh(0.28) sinh(0.30) sinh(0.32) sinh(0.34) sinh(0.36) sinh(0.38) sinh(0.40) sinh(0.42) sinh(0.44) sinh(0.46) sinh(0.48) sinh(0.50) sinh(0.52) sinh(0.54) sinh(0.56) sinh(0.58) sinh(0.60) sinh(0.62) sinh(0.64) sinh(0.66) sinh(0.68) sinh(0.70) sinh(0.72) sinh(0.74) sinh(0.76) sinh(0.78) sinh(0.80) sinh(0.82) sinh(0.84) sinh(0.86) sinh(0.88) sinh(0.90) sinh(0.92) sinh(0.94) sinh(0.96) sinh(0.98) sinh(1.00) sinh(1.02) sinh(1.04) sinh(1.06) sinh(1.08) sinh(1.10) sinh(1.12) sinh(1.14) sinh(1.16) sinh(1.18) sinh(1.20) sinh(1.22) sinh(1.24) sinh(1.26) sinh(1.28) sinh(1.30) sinh(1.32) sinh(1.34) sinh(1.36) sinh(1.38) sinh(1.40) sinh(1.42) sinh(1.44) sinh(1.46) sinh(1.48) sinh(1.50) sinh(1.52) sinh(1.54) sinh(1.56) sinh(1.58) sinh(1.60) sinh(1.62) sinh(1.64) sinh(1.66) sinh(1.68) sinh(1.70) sinh(1.72) sinh(1.74) sinh(1.76) sinh(1.78) sinh(1.80) sinh(1.82) sinh(1.84) sinh(1.86) sinh(1.88) sinh(1.90) sinh(1.92) sinh(1.94) sinh(1.96) sinh(1.98) sinh(2.00) sinh(2.02) sinh(2.04) sinh(2.06) sinh(2.08) sinh(2.10) sinh(2.12) sinh(2.14) sinh(2.16) sinh(2.18) sinh(2.20) sinh(2.22) sinh(2.24) sinh(2.26) sinh(2.28) sinh(2.30) sinh(2.32) sinh(2.34) sinh(2.36) sinh(2.38) sinh(2.40) sinh(2.42) sinh(2.44) sinh(2.46) sinh(2.48) sinh(2.50) sinh(2.52) sinh(2.54) sinh(2.56) sinh(2.58) sinh(2.60) sinh(2.62) sinh(2.64) sinh(2.66) sinh(2.68) sinh(2.70) sinh(2.72) sinh(2.74) sinh(2.76) sinh(2.78) sinh(2.80) sinh(2.82) sinh(2.84) sinh(2.86) sinh(2.88) sinh(2.90) sinh(2.92) sinh(2.94) sinh(2.96) sinh(2.98) sinh(3.00) sinh(3.02) sinh(3.04) sinh(3.06) sinh(3.08) sinh(3.10) sinh(3.12) sinh(3.14) sinh(3.16) sinh(3.18) sinh(3.20) sinh(3.22) sinh(3.24) sinh(3.26) sinh(3.28) sinh(3.30) sinh(3.32) sinh(3.34) sinh(3.36) sinh(3.38) sinh(3.40) sinh(3.42) sinh(3.44) sinh(3.46) sinh(3.48) sinh(3.50) sinh(3.52) sinh(3.54) sinh(3.56) sinh(3.58) sinh(3.60) sinh(3.62) sinh(3.64) sinh(3.66) sinh(3.68) sinh(3.70) sinh(3.72) sinh(3.74) sinh(3.76) sinh(3.78) sinh(3.80) sinh(3.82) sinh(3.84) sinh(3.86) sinh(3.88) sinh(3.90) sinh(3.92) sinh(3.94) sinh(3.96) sinh(3.98) sinh(4.00) sinh(0) sinh(5) 0.0497665229760631544.982257842286873 2.1164543702606133.9968158468129977 1.61822920899586254.19513390611895 2.5287368933780913.8191537525764265 3.1492846239347293.344154159624256 3.6481455637508023.235262195878345 3.61738742112051533.1259863876877323 2.6456633987591793.6699946285032596 0.60444852193239014.663516426466711 1.72977472576947674.166634524355535 3.3223134607856363.3074637099810933 1.64936384395144154.145290186235288 1.43585932666493354.280923767419124 3.54762347485345943.1202857967796236 2.8420809367877633.5918402436988157 2.59826983230274023.7024504212956932 2.327425027556733.841628784174498 3.02198591106757553.471139410809599 3.39653400459634243.2451510387763847 2.87897044729877253.509460632835724 3.5912542020754063.393007910092443 h,j,k,l,arrows,drag to pan i,o,+,-,scroll,shift-drag to zoom r,dbl-click to reset c for coordinates ? for help ? e3.0 e3.5 e4.0 e4.5 e5.0 e3.0 e3.1 e3.2 e3.3 e3.4 e3.5 e3.6 e3.7 e3.8 e3.9 e4.0 e4.1 e4.2 e4.3 e4.4 e4.5 e4.6 e4.7 e4.8 e4.9 e5.0 e2.99 e3.00 e3.01 e3.02 e3.03 e3.04 e3.05 e3.06 e3.07 e3.08 e3.09 e3.10 e3.11 e3.12 e3.13 e3.14 e3.15 e3.16 e3.17 e3.18 e3.19 e3.20 e3.21 e3.22 e3.23 e3.24 e3.25 e3.26 e3.27 e3.28 e3.29 e3.30 e3.31 e3.32 e3.33 e3.34 e3.35 e3.36 e3.37 e3.38 e3.39 e3.40 e3.41 e3.42 e3.43 e3.44 e3.45 e3.46 e3.47 e3.48 e3.49 e3.50 e3.51 e3.52 e3.53 e3.54 e3.55 e3.56 e3.57 e3.58 e3.59 e3.60 e3.61 e3.62 e3.63 e3.64 e3.65 e3.66 e3.67 e3.68 e3.69 e3.70 e3.71 e3.72 e3.73 e3.74 e3.75 e3.76 e3.77 e3.78 e3.79 e3.80 e3.81 e3.82 e3.83 e3.84 e3.85 e3.86 e3.87 e3.88 e3.89 e3.90 e3.91 e3.92 e3.93 e3.94 e3.95 e3.96 e3.97 e3.98 e3.99 e4.00 e4.01 e4.02 e4.03 e4.04 e4.05 e4.06 e4.07 e4.08 e4.09 e4.10 e4.11 e4.12 e4.13 e4.14 e4.15 e4.16 e4.17 e4.18 e4.19 e4.20 e4.21 e4.22 e4.23 e4.24 e4.25 e4.26 e4.27 e4.28 e4.29 e4.30 e4.31 e4.32 e4.33 e4.34 e4.35 e4.36 e4.37 e4.38 e4.39 e4.40 e4.41 e4.42 e4.43 e4.44 e4.45 e4.46 e4.47 e4.48 e4.49 e4.50 e4.51 e4.52 e4.53 e4.54 e4.55 e4.56 e4.57 e4.58 e4.59 e4.60 e4.61 e4.62 e4.63 e4.64 e4.65 e4.66 e4.67 e4.68 e4.69 e4.70 e4.71 e4.72 e4.73 e4.74 e4.75 e4.76 e4.77 e4.78 e4.79 e4.80 e4.81 e4.82 e4.83 e4.84 e4.85 e4.86 e4.87 e4.88 e4.89 e4.90 e4.91 e4.92 e4.93 e4.94 e4.95 e4.96 e4.97 e4.98 e4.99 e5.00 e3 e4 e5 y Cty 0 10 20 30 40 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 5.2 5.4 5.6 5.8 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6 7.8 8.0 8.2 8.4 8.6 8.8 9.0 9.2 9.4 9.6 9.8 10.0 10.2 10.4 10.6 10.8 11.0 11.2 11.4 11.6 11.8 12.0 12.2 12.4 12.6 12.8 13.0 13.2 13.4 13.6 13.8 14.0 14.2 14.4 14.6 14.8 15.0 15.2 15.4 15.6 15.8 16.0 16.2 16.4 16.6 16.8 17.0 17.2 17.4 17.6 17.8 18.0 18.2 18.4 18.6 18.8 19.0 19.2 19.4 19.6 19.8 20.0 20.2 20.4 20.6 20.8 21.0 21.2 21.4 21.6 21.8 22.0 22.2 22.4 22.6 22.8 23.0 23.2 23.4 23.6 23.8 24.0 24.2 24.4 24.6 24.8 25.0 25.2 25.4 25.6 25.8 26.0 26.2 26.4 26.6 26.8 27.0 27.2 27.4 27.6 27.8 28.0 28.2 28.4 28.6 28.8 29.0 29.2 29.4 29.6 29.8 30.0 30.2 30.4 30.6 30.8 31.0 31.2 31.4 31.6 31.8 32.0 32.2 32.4 32.6 32.8 33.0 33.2 33.4 33.6 33.8 34.0 34.2 34.4 34.6 34.8 35.0 35.2 35.4 35.6 35.8 36.0 36.2 36.4 36.6 36.8 37.0 37.2 37.4 37.6 37.8 38.0 38.2 38.4 38.6 38.8 39.0 39.2 39.4 39.6 39.8 40.0 0 50 a4 a4 a4 a4 a4 a4 a4 a4 quattro a4 quattro a4 quattro a4 quattro a4 quattro a4 quattro a4 quattro a4 quattro a6 quattro a6 quattro a6 quattro c1500 suburban 2wd c1500 suburban 2wd c1500 suburban 2wd c1500 suburban 2wd c1500 suburban 2wd corvette corvette corvette corvette corvette k1500 tahoe 4wd k1500 tahoe 4wd k1500 tahoe 4wd k1500 tahoe 4wd malibu malibu malibu malibu malibu caravan 2wd caravan 2wd caravan 2wd caravan 2wd caravan 2wd caravan 2wd caravan 2wd caravan 2wd caravan 2wd caravan 2wd caravan 2wd dakota pickup 4wd dakota pickup 4wd dakota pickup 4wd dakota pickup 4wd dakota pickup 4wd dakota pickup 4wd dakota pickup 4wd dakota pickup 4wd dakota pickup 4wd durango 4wd durango 4wd durango 4wd durango 4wd durango 4wd durango 4wd durango 4wd ram 1500 pickup 4wd ram 1500 pickup 4wd ram 1500 pickup 4wd ram 1500 pickup 4wd ram 1500 pickup 4wd ram 1500 pickup 4wd ram 1500 pickup 4wd ram 1500 pickup 4wd ram 1500 pickup 4wd ram 1500 pickup 4wd expedition 2wd expedition 2wd expedition 2wd explorer 4wd explorer 4wd explorer 4wd explorer 4wd explorer 4wd explorer 4wd f150 pickup 4wd f150 pickup 4wd f150 pickup 4wd f150 pickup 4wd f150 pickup 4wd f150 pickup 4wd f150 pickup 4wd mustang mustang mustang mustang mustang mustang mustang mustang mustang civic civic civic civic civic civic civic civic civic sonata sonata sonata sonata sonata sonata sonata tiburon tiburon tiburon tiburon tiburon tiburon tiburon grand cherokee 4wd grand cherokee 4wd grand cherokee 4wd grand cherokee 4wd grand cherokee 4wd grand cherokee 4wd grand cherokee 4wd grand cherokee 4wd range rover range rover range rover range rover navigator 2wd navigator 2wd navigator 2wd mountaineer 4wd mountaineer 4wd mountaineer 4wd mountaineer 4wd altima altima altima altima altima altima maxima maxima maxima pathfinder 4wd pathfinder 4wd pathfinder 4wd pathfinder 4wd grand prix grand prix grand prix grand prix grand prix forester awd forester awd forester awd forester awd forester awd forester awd impreza awd impreza awd impreza awd impreza awd impreza awd impreza awd impreza awd impreza awd 4runner 4wd 4runner 4wd 4runner 4wd 4runner 4wd 4runner 4wd 4runner 4wd camry camry camry camry camry camry camry camry solara camry solara camry solara camry solara camry solara camry solara camry solara corolla corolla corolla corolla corolla land cruiser wagon 4wd land cruiser wagon 4wd toyota tacoma 4wd toyota tacoma 4wd toyota tacoma 4wd toyota tacoma 4wd toyota tacoma 4wd toyota tacoma 4wd toyota tacoma 4wd gti gti gti gti gti jetta jetta jetta jetta jetta jetta jetta jetta jetta new beetle new beetle new beetle new beetle new beetle new beetle passat passat passat passat passat passat passat 17,26 18,26 16,26 21,29 19,28 18,29 21,29 20,29 20,28 19,26 21,29 29,41 35,44 17,24 16,23 21,29 21,29 21,29 22,29 19,26 21,29 33,44 17,24 22,29 21,29 19,26 21,29 16,20 15,18 15,19 15,17 17,22 16,20 15,20 13,18 11,15 26,35 28,37 26,35 24,33 24,30 18,27 18,26 18,26 22,31 21,31 21,29 21,27 19,28 18,26 18,26 21,31 21,31 21,27 21,29 14,17 16,20 15,17 15,19 16,20 15,20 20,27 19,25 20,27 20,25 19,26 19,26 19,26 21,26 18,23 20,26 19,25 20,27 18,24 18,25 16,25 18,28 17,27 16,26 18,26 12,18 14,20 15,17 14,17 19,25 19,25 18,26 19,26 19,27 23,32 23,31 19,27 21,29 13,17 13,19 13,19 14,17 12,18 11,16 11,17 11,15 12,18 12,18 11,15 11,14 13,18 14,19 9,12 14,17 15,20 15,19 17,22 17,24 16,24 17,24 20,27 20,28 19,29 19,26 19,28 18,26 18,26 21,31 21,30 18,27 18,26 21,29 24,36 25,36 26,34 24,32 23,29 25,32 24,32 28,33 14,20 15,22 15,23 15,22 15,21 16,24 17,26 18,25 18,26 13,17 11,15 13,17 13,16 13,16 14,17 14,17 13,17 13,19 13,19 14,17 15,19 14,17 12,18 11,17 11,17 11,15 13,17 11,16 11,15 9,12 12,16 13,17 13,17 9,12 12,16 11,15 13,18 11,16 13,17 9,12 13,17 13,17 11,15 11,17 9,12 14,19 14,19 14,17 13,17 14,18 15,19 16,23 16,23 15,21 15,22 11,17 17,24 17,24 16,22 16,22 17,24 18,24 17,26 18,29 18,26 22,30 19,27 14,17 11,15 11,14 14,19 15,24 15,25 16,26 15,23 16,26 12,17 13,17 14,20 11,15 14,20 16,23 17,25 15,24 15,25 17,25 17,25 15,25 19,27 20,28 16,25 18,26 18,27 18,26 16,26 21,30 20,31 21,29 18,29 h,j,k,l,arrows,drag to pan i,o,+,-,scroll,shift-drag to zoom r,dbl-click to reset c for coordinates ? for help ? y=x 0 10 20 30 40 50 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 5.2 5.4 5.6 5.8 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6 7.8 8.0 8.2 8.4 8.6 8.8 9.0 9.2 9.4 9.6 9.8 10.0 10.2 10.4 10.6 10.8 11.0 11.2 11.4 11.6 11.8 12.0 12.2 12.4 12.6 12.8 13.0 13.2 13.4 13.6 13.8 14.0 14.2 14.4 14.6 14.8 15.0 15.2 15.4 15.6 15.8 16.0 16.2 16.4 16.6 16.8 17.0 17.2 17.4 17.6 17.8 18.0 18.2 18.4 18.6 18.8 19.0 19.2 19.4 19.6 19.8 20.0 20.2 20.4 20.6 20.8 21.0 21.2 21.4 21.6 21.8 22.0 22.2 22.4 22.6 22.8 23.0 23.2 23.4 23.6 23.8 24.0 24.2 24.4 24.6 24.8 25.0 25.2 25.4 25.6 25.8 26.0 26.2 26.4 26.6 26.8 27.0 27.2 27.4 27.6 27.8 28.0 28.2 28.4 28.6 28.8 29.0 29.2 29.4 29.6 29.8 30.0 30.2 30.4 30.6 30.8 31.0 31.2 31.4 31.6 31.8 32.0 32.2 32.4 32.6 32.8 33.0 33.2 33.4 33.6 33.8 34.0 34.2 34.4 34.6 34.8 35.0 35.2 35.4 35.6 35.8 36.0 36.2 36.4 36.6 36.8 37.0 37.2 37.4 37.6 37.8 38.0 38.2 38.4 38.6 38.8 39.0 39.2 39.4 39.6 39.8 40.0 40.2 40.4 40.6 40.8 41.0 41.2 41.4 41.6 41.8 42.0 42.2 42.4 42.6 42.8 43.0 43.2 43.4 43.6 43.8 44.0 44.2 44.4 44.6 44.8 45.0 45.2 45.4 45.6 45.8 46.0 46.2 46.4 46.6 46.8 47.0 47.2 47.4 47.6 47.8 48.0 48.2 48.4 48.6 48.8 49.0 49.2 49.4 49.6 49.8 50.0 0 50 Hwy

Geom.band, Geom.hband, Geom.vband

using Colors, Dates, Gadfly, RDatasets

Dp = dataset("ggplot2","presidential")[3:end,:]
De = dataset("ggplot2","economics")
De.Unemploy /= 10^3

plot(De, x=:Date, y=:Unemploy, Geom.line,
    layer(Dp, xmin=:Start, xmax=:End, Geom.vband, color=:Party, alpha=[0.6]),
    Scale.color_discrete_manual("deepskyblue", "lightcoral"),
    Coord.cartesian(xmin=Date("1965-01-01"), ymax=12),
  Guide.xlabel("Time"), Guide.ylabel("Unemployment (x10³)"), Guide.colorkey(title=""),
    Theme(default_color="black", key_position=:top))
Time Jan 1, 1965 1970 1975 1980 1985 1990 1995 2000 2005 2010 Jan 1, 1964 1966 1968 1970 1972 1974 1976 1978 1980 1982 1984 1986 1988 1990 1992 1994 1996 1998 2000 2002 2004 2006 2008 2010 Jan 1, 1965 Apr Jul Oct Jan 1966 Apr Jul Oct Jan 1967 Apr Jul Oct Jan 1968 Apr Jul Oct Jan 1969 Apr Jul Oct Jan 1970 Apr Jul Oct Jan 1971 Apr Jul Oct Jan 1972 Apr Jul Oct Jan 1973 Apr Jul Oct Jan 1974 Apr Jul Oct Jan 1975 Apr Jul Oct Jan 1976 Apr Jul Oct Jan 1977 Apr Jul Oct Jan 1978 Apr Jul Oct Jan 1979 Apr Jul Oct Jan 1980 Apr Jul Oct Jan 1981 Apr Jul Oct Jan 1982 Apr Jul Oct Jan 1983 Apr Jul Oct Jan 1984 Apr Jul Oct Jan 1985 Apr Jul Oct Jan 1986 Apr Jul Oct Jan 1987 Apr Jul Oct Jan 1988 Apr Jul Oct Jan 1989 Apr Jul Oct Jan 1990 Apr Jul Oct Jan 1991 Apr Jul Oct Jan 1992 Apr Jul Oct Jan 1993 Apr Jul Oct Jan 1994 Apr Jul Oct Jan 1995 Apr Jul Oct Jan 1996 Apr Jul Oct Jan 1997 Apr Jul Oct Jan 1998 Apr Jul Oct Jan 1999 Apr Jul Oct Jan 2000 Apr Jul Oct Jan 2001 Apr Jul Oct Jan 2002 Apr Jul Oct Jan 2003 Apr Jul Oct Jan 2004 Apr Jul Oct Jan 2005 Apr Jul Oct Jan 2006 Apr Jul Oct Jan 2007 Apr Jul Oct Jan 2008 Apr Jul Oct Jan 2009 Apr Jan 1, 1950 1980 2010 h,j,k,l,arrows,drag to pan i,o,+,-,scroll,shift-drag to zoom r,dbl-click to reset c for coordinates ? for help ? 0 5 10 15 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 8.5 9.0 9.5 10.0 10.5 11.0 11.5 12.0 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 0.55 0.60 0.65 0.70 0.75 0.80 0.85 0.90 0.95 1.00 1.05 1.10 1.15 1.20 1.25 1.30 1.35 1.40 1.45 1.50 1.55 1.60 1.65 1.70 1.75 1.80 1.85 1.90 1.95 2.00 2.05 2.10 2.15 2.20 2.25 2.30 2.35 2.40 2.45 2.50 2.55 2.60 2.65 2.70 2.75 2.80 2.85 2.90 2.95 3.00 3.05 3.10 3.15 3.20 3.25 3.30 3.35 3.40 3.45 3.50 3.55 3.60 3.65 3.70 3.75 3.80 3.85 3.90 3.95 4.00 4.05 4.10 4.15 4.20 4.25 4.30 4.35 4.40 4.45 4.50 4.55 4.60 4.65 4.70 4.75 4.80 4.85 4.90 4.95 5.00 5.05 5.10 5.15 5.20 5.25 5.30 5.35 5.40 5.45 5.50 5.55 5.60 5.65 5.70 5.75 5.80 5.85 5.90 5.95 6.00 6.05 6.10 6.15 6.20 6.25 6.30 6.35 6.40 6.45 6.50 6.55 6.60 6.65 6.70 6.75 6.80 6.85 6.90 6.95 7.00 7.05 7.10 7.15 7.20 7.25 7.30 7.35 7.40 7.45 7.50 7.55 7.60 7.65 7.70 7.75 7.80 7.85 7.90 7.95 8.00 8.05 8.10 8.15 8.20 8.25 8.30 8.35 8.40 8.45 8.50 8.55 8.60 8.65 8.70 8.75 8.80 8.85 8.90 8.95 9.00 9.05 9.10 9.15 9.20 9.25 9.30 9.35 9.40 9.45 9.50 9.55 9.60 9.65 9.70 9.75 9.80 9.85 9.90 9.95 10.00 10.05 10.10 10.15 10.20 10.25 10.30 10.35 10.40 10.45 10.50 10.55 10.60 10.65 10.70 10.75 10.80 10.85 10.90 10.95 11.00 11.05 11.10 11.15 11.20 11.25 11.30 11.35 11.40 11.45 11.50 11.55 11.60 11.65 11.70 11.75 11.80 11.85 11.90 11.95 12.00 0 5 10 15 Unemployment (x10³) Republican Democratic