CoordinatesCoord.cartesianusing Gadfly set_default_plot_size(14cm, 8cm) plot(sin, 0, 20, Coord.cartesian(xmin=2π, xmax=4π, ymin=-2, ymax=2)) x 6 8 10 12 14 6.25 6.50 6.75 7.00 7.25 7.50 7.75 8.00 8.25 8.50 8.75 9.00 9.25 9.50 9.75 10.00 10.25 10.50 10.75 11.00 11.25 11.50 11.75 12.00 12.25 12.50 12.75 6.275 6.300 6.325 6.350 6.375 6.400 6.425 6.450 6.475 6.500 6.525 6.550 6.575 6.600 6.625 6.650 6.675 6.700 6.725 6.750 6.775 6.800 6.825 6.850 6.875 6.900 6.925 6.950 6.975 7.000 7.025 7.050 7.075 7.100 7.125 7.150 7.175 7.200 7.225 7.250 7.275 7.300 7.325 7.350 7.375 7.400 7.425 7.450 7.475 7.500 7.525 7.550 7.575 7.600 7.625 7.650 7.675 7.700 7.725 7.750 7.775 7.800 7.825 7.850 7.875 7.900 7.925 7.950 7.975 8.000 8.025 8.050 8.075 8.100 8.125 8.150 8.175 8.200 8.225 8.250 8.275 8.300 8.325 8.350 8.375 8.400 8.425 8.450 8.475 8.500 8.525 8.550 8.575 8.600 8.625 8.650 8.675 8.700 8.725 8.750 8.775 8.800 8.825 8.850 8.875 8.900 8.925 8.950 8.975 9.000 9.025 9.050 9.075 9.100 9.125 9.150 9.175 9.200 9.225 9.250 9.275 9.300 9.325 9.350 9.375 9.400 9.425 9.450 9.475 9.500 9.525 9.550 9.575 9.600 9.625 9.650 9.675 9.700 9.725 9.750 9.775 9.800 9.825 9.850 9.875 9.900 9.925 9.950 9.975 10.000 10.025 10.050 10.075 10.100 10.125 10.150 10.175 10.200 10.225 10.250 10.275 10.300 10.325 10.350 10.375 10.400 10.425 10.450 10.475 10.500 10.525 10.550 10.575 10.600 10.625 10.650 10.675 10.700 10.725 10.750 10.775 10.800 10.825 10.850 10.875 10.900 10.925 10.950 10.975 11.000 11.025 11.050 11.075 11.100 11.125 11.150 11.175 11.200 11.225 11.250 11.275 11.300 11.325 11.350 11.375 11.400 11.425 11.450 11.475 11.500 11.525 11.550 11.575 11.600 11.625 11.650 11.675 11.700 11.725 11.750 11.775 11.800 11.825 11.850 11.875 11.900 11.925 11.950 11.975 12.000 12.025 12.050 12.075 12.100 12.125 12.150 12.175 12.200 12.225 12.250 12.275 12.300 12.325 12.350 12.375 12.400 12.425 12.450 12.475 12.500 12.525 12.550 12.575 5 10 15 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 ? -2 -1 0 1 2 -2.0 -1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 -2.00 -1.98 -1.96 -1.94 -1.92 -1.90 -1.88 -1.86 -1.84 -1.82 -1.80 -1.78 -1.76 -1.74 -1.72 -1.70 -1.68 -1.66 -1.64 -1.62 -1.60 -1.58 -1.56 -1.54 -1.52 -1.50 -1.48 -1.46 -1.44 -1.42 -1.40 -1.38 -1.36 -1.34 -1.32 -1.30 -1.28 -1.26 -1.24 -1.22 -1.20 -1.18 -1.16 -1.14 -1.12 -1.10 -1.08 -1.06 -1.04 -1.02 -1.00 -0.98 -0.96 -0.94 -0.92 -0.90 -0.88 -0.86 -0.84 -0.82 -0.80 -0.78 -0.76 -0.74 -0.72 -0.70 -0.68 -0.66 -0.64 -0.62 -0.60 -0.58 -0.56 -0.54 -0.52 -0.50 -0.48 -0.46 -0.44 -0.42 -0.40 -0.38 -0.36 -0.34 -0.32 -0.30 -0.28 -0.26 -0.24 -0.22 -0.20 -0.18 -0.16 -0.14 -0.12 -0.10 -0.08 -0.06 -0.04 -0.02 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14 0.16 0.18 0.20 0.22 0.24 0.26 0.28 0.30 0.32 0.34 0.36 0.38 0.40 0.42 0.44 0.46 0.48 0.50 0.52 0.54 0.56 0.58 0.60 0.62 0.64 0.66 0.68 0.70 0.72 0.74 0.76 0.78 0.80 0.82 0.84 0.86 0.88 0.90 0.92 0.94 0.96 0.98 1.00 1.02 1.04 1.06 1.08 1.10 1.12 1.14 1.16 1.18 1.20 1.22 1.24 1.26 1.28 1.30 1.32 1.34 1.36 1.38 1.40 1.42 1.44 1.46 1.48 1.50 1.52 1.54 1.56 1.58 1.60 1.62 1.64 1.66 1.68 1.70 1.72 1.74 1.76 1.78 1.80 1.82 1.84 1.86 1.88 1.90 1.92 1.94 1.96 1.98 2.00 -2 0 2 f(x)