julia_coursera/04_Coursera_2.ipynb

1087 lines
245 KiB
Plaintext
Raw Normal View History

{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"\"Oct 11 2016\""
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"my_date = \"Oct 11 2016\" # needs updating"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"using Dates"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"2016-10-11T00:00:00"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"Dates.DateTime(my_date,\"u d y\")"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"54×9 Array{Any,2}:\n",
" 613 28637 11314 3804 2536 10675 4808 14122 3955 \n",
" 606 28634 11314 3804 2536 10672 4808 14122 3955 \n",
" 599 28635 11314 3805 2536 10672 4808 14122 3955 \n",
" 592 28607 11314 3810 2536 10672 4808 14089 3955 \n",
" 582 28539 11298 3806 2535 10672 4808 14061 3955 \n",
" 575 28476 11298 3803 2535 10672 4808 14001 3955 \n",
" 568 28454 11297 3800 2534 10672 4808 13982 3955 \n",
" 554 28388 11296 3805 2533 10672 4808 13911 3955 \n",
" 547 28295 11295 3800 2532 10672 4808 13823 3955 \n",
" 540 28220 11291 3792 2530 10672 4808 13756 3953 \n",
" 533 28147 11291 3792 2530 10672 4808 13683 3953 \n",
" 526 28073 11290 3792 2529 10672 4808 13609 3953 \n",
" 512 27952 11284 3786 2524 10672 4808 13494 3952 \n",
" ⋮ ⋮ \n",
" 140 1835 1011 506 373 599 323 730 315 \n",
" 130 1437 825 472 346 391 227 574 252 \n",
" 123 1201 672 427 319 249 129 525 224 \n",
" 114 982 613 411 310 174 106 397 197 \n",
" 102 779 481 412 305 115 75 252 101 \n",
" 87 528 337 398 264 33 24 97 49 \n",
" 66 309 202 281 186 12 11 16 5 \n",
" 51 260 182 248 171 12 11 \"\" \"\"\n",
" 40 239 160 226 149 13 11 \"-\" \"-\"\n",
" 23 176 110 168 108 8 2 \"\" \"\"\n",
" 9 130 82 122 80 8 2 \"\" \"\"\n",
" 0 49 29 49 29 \"\" \"\" \"\" \"\""
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"using DelimitedFiles\n",
"\n",
"indata = DelimitedFiles.readdlm(\"wikipediaEVDdatesconverted.csv\", ',')"
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {},
"outputs": [],
"source": [
"test = ones(4,5)\n",
"\n",
"row,col = size(test)\n",
"\n",
"val = 0\n",
"for j = 1:col\n",
" for i = 1:row\n",
" test[i,j] = test[i,j] + val\n",
" val = val + 1\n",
" end\n",
"end"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"4×5 Array{Float64,2}:\n",
" 1.0 5.0 9.0 13.0 17.0\n",
" 2.0 6.0 10.0 14.0 18.0\n",
" 3.0 7.0 11.0 15.0 19.0\n",
" 4.0 8.0 12.0 16.0 20.0"
]
},
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"test"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {},
"outputs": [],
"source": [
"diagsum = 0\n",
"for k = 1:2\n",
" diagsum = diagsum + test[k,k]\n",
"end"
]
},
{
"cell_type": "code",
"execution_count": 32,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"7.0"
]
},
"execution_count": 32,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"diagsum = test[1,1] + test[2,2]"
]
},
{
"cell_type": "code",
"execution_count": 33,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"7.0"
]
},
"execution_count": 33,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"diagsum"
]
},
{
"cell_type": "code",
"execution_count": 30,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"14.0"
]
},
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"diagsum = sum(test[1:2,1:2])"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"2×6 Array{Any,2}:\n",
" \"The name of the rose\" \"3.2,\" \"7,\" 8 9 100\n",
" \"Under Milk Wood\" \"5.7,\" \"11,\" 3 6 42"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"litsamp = readdlm(\"litsampling.dat\", ' ')"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"\"3.2,\""
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"litsamp[1,2]"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"3-element Array{Int64,1}:\n",
" 7\n",
" 8\n",
" 9"
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"a = [1,2,3]; b = [4,5,6]; c = [7,8,9]"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"3-element Array{Array{Int64,1},1}:\n",
" [1, 2, 3]\n",
" [4, 5, 6]\n",
" [7, 8, 9]"
]
},
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"[a,b,c]"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"Plots.GRBackend()"
]
},
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"using Plots\n",
"gr()"
]
},
{
"cell_type": "code",
"execution_count": 38,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n",
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"600\" height=\"400\" viewBox=\"0 0 2400 1600\">\n",
"<defs>\n",
" <clipPath id=\"clip700\">\n",
" <rect x=\"0\" y=\"0\" width=\"2400\" height=\"1600\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<path clip-path=\"url(#clip700)\" d=\"\n",
"M0 1600 L2400 1600 L2400 0 L0 0 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<defs>\n",
" <clipPath id=\"clip701\">\n",
" <rect x=\"480\" y=\"0\" width=\"1681\" height=\"1600\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<path clip-path=\"url(#clip700)\" d=\"\n",
"M112.177 1486.45 L2352.76 1486.45 L2352.76 47.2441 L112.177 47.2441 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<defs>\n",
" <clipPath id=\"clip702\">\n",
" <rect x=\"112\" y=\"47\" width=\"2242\" height=\"1440\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 175.59,1486.45 175.59,47.2441 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 704.028,1486.45 704.028,47.2441 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1232.47,1486.45 1232.47,47.2441 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1760.9,1486.45 1760.9,47.2441 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 2289.34,1486.45 2289.34,47.2441 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 112.177,1445.72 2352.76,1445.72 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 112.177,1174.17 2352.76,1174.17 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 112.177,902.62 2352.76,902.62 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 112.177,631.072 2352.76,631.072 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 112.177,359.524 2352.76,359.524 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 112.177,87.9763 2352.76,87.9763 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 112.177,1486.45 2352.76,1486.45 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 112.177,1486.45 112.177,47.2441 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 175.59,1486.45 175.59,1469.18 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 704.028,1486.45 704.028,1469.18 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1232.47,1486.45 1232.47,1469.18 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1760.9,1486.45 1760.9,1469.18 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 2289.34,1486.45 2289.34,1469.18 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 112.177,1445.72 139.064,1445.72 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 112.177,1174.17 139.064,1174.17 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 112.177,902.62 139.064,902.62 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 112.177,631.072 139.064,631.072 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 112.177,359.524 139.064,359.524 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 112.177,87.9763 139.064,87.9763 \n",
" \"/>\n",
"<path clip-path=\"url(#clip700)\" d=\"M 0 0 M147.488 1535.98 L155.127 1535.98 L155.127 1509.62 L146.817 1511.29 L146.817 1507.03 L155.081 1505.36 L159.757 1505.36 L159.757 1535.98 L167.395 1535.98 L167.395 1539.92 L147.488 1539.92 L147.488 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M172.465 1534.04 L177.349 1534.04 L177.349 1539.92 L172.465 1539.92 L172.465 1534.04 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M192.418 1508.44 Q188.807 1508.44 186.979 1512 Q185.173 1515.55 185.173 1522.67 Q185.173 1529.78 186.979 1533.35 Q188.807 1536.89 192.418 1536.89 Q196.053 1536.89 197.858 1533.35 Q199.687 1529.78 199.687 1522.67 Q199.687 1515.55 197.858 1512 Q196.053 1508.44 192.418 1508.44 M192.418 1504.73 Q198.229 1504.73 201.284 1509.34 Q204.363 1513.92 204.363 1522.67 Q204.363 1531.4 201.284 1536.01 Q198.229 1540.59 192.418 1540.59 Q186.608 1540.59 183.53 1536.01 Q180.474 1531.4 180.474 1522.67 Q180.474 1513.92 183.53 1509.34 Q186.608 1504.73 192.418 1504.73 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M676.424 1535.98 L684.063 1535.98 L684.063 1509.62 L675.753 1511.29 L675.753 1507.03 L684.017 1505.36 L688.693 1505.36 L688.693 1535.98 L696.331 1535.98 L696.331 1539.92 L676.424 1539.92 L676.424 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M701.401 1534.04 L706.285 1534.04 L706.285 1539.92 L701.401 1539.92 L701.401 1534.04 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M711.401 1505.36 L729.757 1505.36 L729.757 1509.3 L715.683 1509.3 L715.683 1517.77 Q716.702 1517.42 717.72 1517.26 Q718.739 1517.07 719.757 1517.07 Q725.544 1517.07 728.924 1520.24 Q732.303 1523.42 732.303 1528.83 Q732.303 1534.41 728.831 1537.51 Q725.359 1540.59 719.04 1540.59 Q716.864 1540.59 714.595 1540.22 Q712.35 1539.85 709.942 1539.11 L709.942 1534.41 Q712.026 1535.54 714.248 1536.1 Q716.47 1536.66 718.947 1536.66 Q722.952 1536.66 725.29 1534.55 Q727.628 1532.44 727.628 1528.83 Q727.628 1525.22 725.29 1523.11 Q722.952 1521.01 718.947 1521.01 Q717.072 1521.01 715.197 1521.42 Q713.345 1521.84 711.401 1522.72 L711.401 1505.36 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M1208.64 1535.98 L1224.96 1535.98 L1224.96 1539.92 L1203.01 1539.92 L1203.01 1535.98 Q1205.67 1533.23 1210.26 1528.6 Q1214.86 1523.95 1216.04 1522.61 Q1218.29 1520.08 1219.17 1518.35 Q1220.07 1516.59 1220.07 1514.9 Q1220.07 1512.14 1218.13 1510.41 Q1216.21 1508.67 1213.1 1508.67 Q1210.9 1508.67 1208.45 1509.43 Q1206.02 1510.2 1203.24 1511.75 L1203.24 1507.03 Q1206.07 1505.89 1208.52 1505.31 Q1210.97 1504.73 1213.01 1504.73 Q1218.38 1504.73 1221.58 1507.42 Q1224.77 1510.11 1224.77 1514.6 Q1224.77 1516.73 1223.96 1518.65 Q1223.17 1520.54 1221.07 1523.14 Q1220.49 1523.81 1217.39 1527.03 Q1214.28 1530.22 1208.64 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M1230.02 1534.04 L1234.91 1534.04 L1234.91 1539.92 L1230.02 1539.92 L1230.02 1534.04 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M1249.98 1508.44 Q1246.37 1508.44 1244.54 1512 Q1242.73 1515.55 1242.73 1522.67 Q1242.73 1529.78 1244.54 1533.35 Q1246.37 1536.89 1249.98 1536.89 Q1253.61 1536.89 1255.42 1533.35 Q1257.25 1529.78 1257.25 1522.67 Q1257.25 1515.55 1255.42 1512 Q1253.61 1508.44 1249.98 1508.44 M1249.98 1504.73 Q1255.79 1504.73 1258.84 1509.34 Q1261.92 1513.92 1261.92 1522.67 Q1261.92 1531.4 1258.84 1536.01 Q1255.79 1540.59 1249.98 1540.59 Q1244.17 1540.59 1241.09 1536.01 Q1238.03 1531.4 1238.03 1522.67 Q1238.03 1513.92 1241.09 1509.34 Q1244.17 1504.73 1249.98 1504.73 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M1737.57 1535.98 L1753.89 1535.98 L1753.
" 175.59,1445.72 1232.47,1174.17 2289.34,902.62 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip702)\" style=\"stroke:#e26f46; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 175.59,631.072 1232.47,359.524 2289.34,87.9763 \n",
" \"/>\n",
"<path clip-path=\"url(#clip700)\" d=\"\n",
"M1989.74 312.204 L2280.76 312.204 L2280.76 130.764 L1989.74 130.764 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1989.74,312.204 2280.76,312.204 2280.76,130.764 1989.74,130.764 1989.74,312.204 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip700)\" style=\"stroke:#009af9; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 2013.74,191.244 2157.74,191.244 \n",
" \"/>\n",
"<path clip-path=\"url(#clip700)\" d=\"M 0 0 M2195.58 210.931 Q2193.77 215.561 2192.06 216.973 Q2190.35 218.385 2187.48 218.385 L2184.08 218.385 L2184.08 214.82 L2186.58 214.82 Q2188.33 214.82 2189.31 213.987 Q2190.28 213.154 2191.46 210.052 L2192.22 208.107 L2181.74 182.598 L2186.25 182.598 L2194.35 202.876 L2202.46 182.598 L2206.97 182.598 L2195.58 210.931 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M2212.85 204.589 L2220.49 204.589 L2220.49 178.223 L2212.18 179.89 L2212.18 175.631 L2220.44 173.964 L2225.12 173.964 L2225.12 204.589 L2232.76 204.589 L2232.76 208.524 L2212.85 208.524 L2212.85 204.589 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><polyline clip-path=\"url(#clip700)\" style=\"stroke:#e26f46; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 2013.74,251.724 2157.74,251.724 \n",
" \"/>\n",
"<path clip-path=\"url(#clip700)\" d=\"M 0 0 M2195.58 271.411 Q2193.77 276.041 2192.06 277.453 Q2190.35 278.865 2187.48 278.865 L2184.08 278.865 L2184.08 275.3 L2186.58 275.3 Q2188.33 275.3 2189.31 274.467 Q2190.28 273.634 2191.46 270.532 L2192.22 268.587 L2181.74 243.078 L2186.25 243.078 L2194.35 263.356 L2202.46 243.078 L2206.97 243.078 L2195.58 271.411 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip700)\" d=\"M 0 0 M2216.07 265.069 L2232.39 265.069 L2232.39 269.004 L2210.44 269.004 L2210.44 265.069 Q2213.1 262.314 2217.69 257.685 Q2222.29 253.032 2223.47 251.689 Q2225.72 249.166 2226.6 247.43 Q2227.5 245.671 2227.5 243.981 Q2227.5 241.226 2225.56 239.49 Q2223.64 237.754 2220.53 237.754 Q2218.33 237.754 2215.88 238.518 Q2213.45 239.282 2210.67 240.833 L2210.67 236.111 Q2213.5 234.976 2215.95 234.398 Q2218.4 233.819 2220.44 233.819 Q2225.81 233.819 2229.01 236.504 Q2232.2 239.189 2232.2 243.68 Q2232.2 245.81 2231.39 247.731 Q2230.6 249.629 2228.5 252.222 Q2227.92 252.893 2224.82 256.111 Q2221.71 259.305 2216.07 265.069 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /></svg>\n"
]
},
"execution_count": 38,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"plot(a,[b c])"
]
},
{
"cell_type": "code",
"execution_count": 39,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQCAYAAAByNR6YAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAPYQAAD2EBqD+naQAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nOzdeXxU9b3/8dc5mex7IICIEEVZFJVFEWVHFoviwib0WqFgN4ly/d1729vbSi211vpr/WkL3lqXqvVeQAF3ZN8VVDYRWZUdZc2+J3PO748hk0S2ADP5Zmbez8ejj8c5k5OZd45D+s6Zz3zHcl3XRUREREQCxjYdQERERCTcqGCJiIiIBJgKloiIiEiAqWCJSNgaP348lmWxd+9e01GAxpdHRIJHBUskwpWUlPDEE0/QtWtXkpKSiIuLo1WrVvTu3Ztf/vKXfP3116YjSi3Lly/Hsiwee+wx01FE5Cw8pgOIiDmFhYX06tWLzZs3c+WVV3LfffeRlpbGgQMH+PLLL3nyySdp27Ytbdu2NR1VRCSkqGCJRLBnnnmGzZs3M3HiRF544QUsy6rz9T179lBeXm4onYhI6NJLhCIRbM2aNQBkZ2efUq4ALr/8cjp06FDntmXLljFhwgTat29PUlISSUlJ3HDDDfz9738/7WNYlkW/fv04dOgQ3//+92natCnJycncfvvt7N69G4AdO3Zwzz33kJGRQXJyMqNGjeLo0aN17mfv3r1YlsX48ePZsmUL3/ve90hNTSUlJYVhw4axdevW8/rZV65cybBhw2jatCmxsbFcddVV/PrXv6akpKRe3x/oPK+++io9evTwn9MePXrw6quv1jnmscceo3///gD89re/xbIs//801yXSuOgKlkgEy8jIAOCrr76ic+fO9fqeP/7xj3z11Vf06NGDe+65h7y8PObPn89PfvITduzYwZ///OdTvic3N5devXrRokULxo0bx86dO3n//ffZvn077777Lr1796Zr165MmDCB9evXM3v2bPLy8li0aNEp97V792569uxJ9+7defDBB9m1axdvvfUWq1ev5uOPP6Zjx47n/Bn+9re/8eCDD5Kens6wYcPIzMzks88+4/e//z3Lli1j2bJlxMTE1Ot8BCLPI488wjPPPMOll17KxIkTsSyLOXPmMH78eD7//HOefvppAPr168fevXt59dVX6du3L/369fPfR1paWr3yikgDcUUkYr399tsu4KakpLi/+MUv3CVLlrg5OTln/Z7du3efcltlZaU7aNAgNyoqyt23b1+drwEu4D7yyCN1bv/pT3/qAm5aWpr7zDPP+G93HMcdOnSoC7gbNmzw375nzx7/ff3617+uc1+vvvqqC7gDBgyoc/u4ceNcwN2zZ4//ti+//NL1eDxuly5d3BMnTtQ5/g9/+IMLuH/605/Oeg4CmWflypUu4Hbs2NHNy8vz356Xl+d26NDBBdxVq1b5b1+2bJkLuL/5zW/OmVFEzFHBEolwTz31lJuUlOQvC4Dbtm1bd9KkSe7OnTvrfT9z5sxxAfeVV16pczvgJiUluUVFRXVury4Wbdu2dR3HqfO11157zQXcf/zjH/7bqgtNenr6KfflOI7bqVMnF3D379/vv/10hebhhx8+pbRU83q9bmZmptutW7dz/ryByjNhwgQXcGfNmnXKY8yYMcMF3IkTJ/pvU8ESCQ16iVAkwv3Hf/wHP/3pT5k/fz4ff/wx69at45NPPmH69Om89NJLzJo1izvvvNN/fGFhIX/60594++23+frrrykuLq5zf998880pj3HVVVeRmJhY57ZLLrkEgOuuu+6U+a/qrx06dOiU++rSpcsp92VZFr169WLLli18/vnnXHbZZWf8edeuXQvA/PnzWbx48Slfj46OZvv27Wf8/kDn2bhxI0Cdl/uqVd+2adOmeucRkcZBBUtE/IPlo0aNAiA/P5//+q//4rnnnmPixIkcOnSImJgYKioq6NevHxs2bKBLly784Ac/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714uv/xyxo0bxyuvvGI6TqPLIyKNi2awRERERAJMBUtEREQkwFSwRERERAJMM1giIiIiAaYrWCIiIiIBpoIlIiIiEmBGClZJSQkbNmygpKTExMOLiIiIBJWRgrV9+3a6devG9u3bL/g+9OnywadzHHw6x8Gncxx8OsfBp3McfIE+xyH7EqE+6DT4dI6DT+c4+HSOg0/nOPh0joMv0Oc4ZAuWiIiISGOlgiUiIiISYCpYIiIiIgEWsgVL70AUERGRQAl0rwjJgjV9+nSysrKYPn266SgiIiIS4oLRK0KuYE2fPp3s7Gw6ZiSSnZ2tkiUiIiIXLFi9IqQKVvVJeKBLG+aN7cEDXdqoZImIiMgFCWav8AQgX4OofRKm9G6PZVlM6d0egOzsbAAmTZpkMqKIiIiEiGD3Cst1XTcgSc/Dhg0b6NatG+vXr6dr167nPL6kpISUlBQ6ZiQyb2wPLMvyf811XYbOWMu2nGIKCgpISEgIZvSIkpOTQ0ZGhukYYU3nOPh0joNP5zj4dI4DqyF6RUi8RJiQkMCzzz7LlmMFTF21g+pO6LouU1ftYMuxAp599lmVKxERETmnhugVIfMSYfVluurLdlN6t2fqqh28uHEff/nz/9XLgyIiIlJvkyZNouTz1fz8hZlA3V4xbdq0i+4VIVOwoG7JWnswhy3HCvldv47c3yHTcDIREREJJd6ifO5NLaG8X0ceXb6NtQdz2XKsICDlCkLkJcLaJk2axLRp09iWU8zU/lcz/vrW5K94F6e02HQ0ERERCRFFK9/Grixn/PWteWriKLblFAesXEEIFizwlay9e/cx6UcTAbDLiyn66H3DqURERCQUOGXF5K9417dtR/HI/53G3r17AzpuFJIFC3wDaskD78W1fD9C3tK5OBVlhlOJiIhIY1e0+n3sct8rX4k3DMCT3iz
},
"execution_count": 39,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"#using Plots\n",
"pyplot() # Use PyPlot as a GUI (may already be the default)\n",
"\n",
"x = collect(1:7)\n",
"y(x) = 2 - 2x + x^2/4\n",
"\n",
"plot(x,y.(x))\n",
"plot!(x, y.(x), marker = :diamond, linewidth=2)\n",
"plot!(title = \"Sample plot\", leg=false)"
]
},
{
"cell_type": "code",
"execution_count": 40,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQCAYAAAByNR6YAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAPYQAAD2EBqD+naQAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO3deXyU5b338e91z7AFJBjCIoYQCGYhiwGspS64ISpHT60sxUpRQEAR2WL19HkdPU/PYz2tNQEVEVRQqUoBly6eWlzrVmyLSElIIOxhUZQlQdkz9/X8EYKAAQKZ9Z7P+y+nTCfXXDM4X3/zzXUba60VAAAAgsaJ9AIAAAC8hoAFAAAQZBEJWHv37tXSpUu1d+/eSPx4AACAkIpIwFq5cqV69+6tlStXnvFjVFdXB3FFqA97HHrsceixx6HHHoceexx6wd7jmP2KMBAIRHoJnscehx57HHrsceixx6HHHodesPc4ZgMWAABAtCJgAQAABBkBCwAAIMgIWAAAAEFGwAIAAAgyAhYAAECQEbAAAACCLGYDVoBLVAMAgCBwrZUb5FwRkwFrTbVV1ustVVFFygIAAI0z5sOACpc2C+pjxmTASmkp+YxUXOJGeikAACCGbfja6tkKq5w2wc0UMRmwmvuNbk8/pOdXu/pqH1MsAABwZh4tdZXYVLq5y6GgPm5MBixJGtHtkIykJ8uZYgEAgNNXdcDqmVWuxmU7aukP7mPHbMBq28zqtgxHT5S52l/DFAsAAJyep1e6OhiQxucEPw7FbMCSpMl5jr7aJ72whoAFAAAa7mDA6tEVrm7pbtQxwQT98WM6YJ2XaPTvXYyKSgJyLSELAAA0zIJ1Vlv2SFPyfCF5/JgOWJJUmOdoZZX0xiYCFgAAODVrrYpKAromxSg3KfjTK8kDAeuSjkbfa2dUtJyyOwAAOLX3tlot21E7pAmVmA9Yxhjdk+fovc+tP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m9QxEClqTMNkY3pBoVlwQ4eBQAgCj28jqrTXukKXnR/ctpBKzDCvMdrdglLdpMwAIAIBpZa/VISUBXn2uU3zZ6p1cSAeuIvh2NeicbPcLBowAARKX3P7daul0qjKKLOp9I9K8wTIwxKsxz9M5Wq2U7mGIBABBtikpc5Z4t9U+J7umVRMA6xqBuRqmtpOLlgUgvBQAAHGVlldXrlVaF+b7vXF0mGhGwjtLEMZqY42jeWqste5hiAQAQLaaWuOrYQro5PfrDlUTA+o7bsxwl+KXHV9DFAgAgGny5z2ruald35zhq5iNgxaTWTY1GZzmaVe7qm0NMsQAAiLQZZa4cI92RHTuxJXZWGkYTch19fUias4opFgAAkbSvxuqJMlcjMhwlNY+N6ZVEwKpXaiujId2Mppa4qnGZYgEAECm/XW21Y780KTe2IktsrTaMCvN82vCN9NoGAhYAAJHgWqvikoBuTDPqnhg70yuJgHVCvdsZXX6OUVGJy+VzAACIgD9XWq2qlu7Jj724EnsrDqPCPEd//9Lqb9sIWAAAhFtRias+7Y0u6hB7cSX2VhxGA1KNMhNrX2AAABA+n35l9dfPbUxcFqc+sbnqMHGM0ZQ8n36/wWpNNVMsAADCpagkoK5nST9Ki63uVR0C1in89Dyj5ObStFKmWAAAhEPlN1YL1llNynXkcwhYntTCbzSuh6M5q1zt2M8UCwCAUHus1NVZTaSRmbEbU2J35WE0rocjV9LMcqZYAACE0u6DVk+vdDU221GrJrE5vZIIWA3SvoXRrec5mr7C1YEAUywAAELlmZWu9gWku3NiO6LE9urDaHKeoy/2SS+tIWABABAKNa7Voytc3ZxudG7L2J1eSQSsBstqY3R9qlFxSYCDRwEACIGX11t
},
"execution_count": 40,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"plot(x,y.(x))"
]
},
{
"cell_type": "code",
"execution_count": 41,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQCAYAAAByNR6YAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAPYQAA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Xotp1jKVVdIz9T8fY/3SM/U/H+BLHruXke29y8SWdznc8QKQPjo8vj3Gr3iLs2rUrmZmZvPjiiwCsWrWKtLQ00tLSGj3uq1/9Kn/84x8pLS2lsrKS3//+99x///0+C+trSZPvrb+dn7O6xVfcRERExLyKve9hnf8CAE+/DCJ79DWcqKlW/xThc889x3PPPceAAQN4+umnef755wGYMWMGO3Z4zz8xceJE7rvvPm666SbS09OZOnUq06ZN809yH4jqdzNWd+//FOfzw1R98pHhRCIiItKSggbnsQyEy+I0p9Wjo4EDB/Luu+82+e/r1q1rdP/xxx/n8ccfb3+yDmBZFilZc7nw4jMAFOasomu/mw2nEhERkSup+uwgtcc+9t7p2ovo9OFmA11BWJ3JvTkxmeOxEzsDULXvPapPnzCcSERERK6kMPfSq1cpWXMC4rI4zQn7gmW5PaRMvKf+fnHeGoNpRERE5Epqzp+iYs8WAOy4ZGKHZRlOdGVhX7AA4kZNx46MAaBk+9vUlhQYTiQiIiKXK974MpZjA5A8fiZWRKThRFemggW4YuNJuM07xnfVVFG65TXDiURERKQhu6yE4ne9l9+zPVHEjbnLcKKrU8GqkzBhFo7lPRwFm17Fqao0nEhEREQuKn13Pa7qcgASRk7BHZ/Uwq8wSwWrjie
},
"execution_count": 41,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"plot!(x, y.(x), marker = :diamond, linewidth=2)"
]
},
{
"cell_type": "code",
"execution_count": 42,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQCAYAAAByNR6YAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAPYQAAD2EBqD+naQAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nOzdeXxU9b3/8dc5mex7IICIEEVZFJVFEWVHFoviwib0WqFgN4ly/d1729vbSi211vpr/WkL3lqXqvVeQAF3ZN8VVDYRWZUdZc2+J3PO748hk0S2ADP5Zmbez8ejj8c5k5OZd45D+s6Zz3zHcl3XRUREREQCxjYdQERERCTcqGCJiIiIBJgKloiIiEiAqWCJSNgaP348lmWxd+9e01GAxpdHRIJHBUskwpWUlPDEE0/QtWtXkpKSiIuLo1WrVvTu3Ztf/vKXfP3116YjSi3Lly/Hsiwee+wx01FE5Cw8pgOIiDmFhYX06tWLzZs3c+WVV3LfffeRlpbGgQMH+PLLL3nyySdp27Ytbdu2NR1VRCSkqGCJRLBnnnmGzZs3M3HiRF544QUsy6rz9T179lBeXm4onYhI6NJLhCIRbM2aNQBkZ2efUq4ALr/8cjp06FDntmXLljFhwgTat29PUlISSUlJ3HDDDfz9738/7WNYlkW/fv04dOgQ3//+92natCnJycncfvvt7N69G4AdO3Zwzz33kJGRQXJyMqNGjeLo0aN17mfv3r1YlsX48ePZsmUL3/ve90hNTSUlJYVhw4axdevW8/rZV65cybBhw2jatCmxsbFcddVV/PrXv6akpKRe3x/oPK+++io9evTwn9MePXrw6quv1jnmscceo3///gD89re/xbIs//801yXSuOgKlkgEy8jIAOCrr76ic+fO9fqeP/7xj3z11Vf06NGDe+65h7y8PObPn89PfvITduzYwZ///OdTvic3N5devXrRokULxo0bx86dO3n//ffZvn077777Lr1796Zr165MmDCB9evXM3v2bPLy8li0aNEp97V792569uxJ9+7defDBB9m1axdvvfUWq1ev5uOPP6Zjx47n/Bn+9re/8eCDD5Kens6wYcPIzMzks88+4/e//z3Lli1j2bJlxMTE1Ot8BCLPI488wjPPPMOll17KxIkTsSyLOXPmMH78eD7//HOefvppAPr168fevXt59dVX6du3L/369fPfR1paWr3yikgDcUUkYr399tsu4KakpLi/+MUv3CVLlrg5OTln/Z7du3efcltlZaU7aNAgNyoqyt23b1+drwEu4D7yyCN1bv/pT3/qAm5aWpr7zDPP+G93HMcdOnSoC7gbNmzw375nzx7/ff3617+uc1+vvvqqC7gDBgyoc/u4ceNcwN2zZ4//ti+//NL1eDxuly5d3BMnTtQ5/g9/+IMLuH/605/Oeg4CmWflypUu4Hbs2NHNy8vz356Xl+d26NDBBdxVq1b5b1+2bJkLuL/5zW/OmVFEzFHBEolwTz31lJuUlOQvC4Dbtm1bd9KkSe7OnTvrfT9z5sxxAfeVV16pczvgJiUluUVFRXVury4Wbdu2dR3HqfO11157zQXcf/zjH/7bqgtNenr6KfflOI7bqVMnF3D379/vv/10hebhhx8+pbRU83q9bmZmptutW7dz/ryByjNhwgQXcGfNmnXKY8yYMcMF3IkTJ/pvU8ESCQ16iVAkwv3Hf/wHP/3pT5k/fz4ff/wx69at45NPPmH69Om89NJLzJo1izvvvNN/fGFhIX/60594++23+frrrykuLq5zf998880pj3HVVVeRmJhY57ZLLrkEgOuuu+6U+a/qrx06dOiU++rSpcsp92VZFr169WLLli18/vnnXHbZZWf8edeuXQvA/PnzWbx48Slfj46OZvv27Wf8/kDn2bhxI0Cdl/uqVd+2adOmeucRkcZBBUtE/IPlo0aNAiA/P5//+q//4rnnnmPixIkcOnSImJgYKioq6NevHxs2bKBLly784Ac/oEmTJng8Hv9s0OnedZiSknLKbR6P55xfq6ysPOVrzZo1O+3P0Lx5c3/2s8nJyQHg97///VmPq6+LzVNQUIBt22RmZp72PmzbPud9iEjjo4IlIqdITU1l2rRpfPDBB+zbt48vvviCbt268c4777BhwwYeeOABXnjhhTrfM3PmzFPe9RYM3313YbUjR474s59NdaErKCggOTm5UeRxHIdjx46dUtaOHj2K4zinLaEi0rhpmQYROS3LskhISKhzW/Wq7rVfMqy2atWqBsm1cePGU16WBPjoo48AuP7668/6/TfddBNQ81Kh6TxdunQBfCu0f9eKFSsA6rzDMyoqCgCv13tBeUWkYahgiUSw559/ns8+++y0X5s7dy7bt28nLS2NTp06AdCmTRsAVq9eXefYFStWnHJFK1hyc3N58skn69z22muv8cUXXzBgwICzzjsBPPjgg3g8Hh566CEOHDhwytfz8vL8c1ENkWfcuHGAb12rgoIC/+0FBQX89re/rXMM1CytcfDgwXpnFJGGp5cIRSLYhx9+yE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h0joNP5zj4dI4DqyF6RUi8RJiQkMCzzz7LlmMFTF21g+pO6LouU1ftYMuxAp599lmVKxERETmnhugVIfMSYfVluurLdlN6t2fqqh28uHEff/nz/9XLgyIiIlJvkyZNouTz1fz8hZlA3V4xbdq0i+4VIVOwoG7JWnswhy3HCvldv47c3yHTcDIREREJJd6ifO5NLaG8X0ceXb6NtQdz2XKsICDlCkLkJcLaJk2axLRp09iWU8zU/lcz/vrW5K94F6e02HQ0ERERCRFFK9/Grixn/PWteWriKLblFAesXEEIFizwlay9e/cx6UcTAbDLiyn66H3DqURERCQUOGXF5K9417dtR/HI/53G3r17AzpuFJIFC3wDaskD78W1fD9C3tK5OBVlhlOJiIhIY1e0+n3sct8rX4k3DMCT3iz
},
"execution_count": 42,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"plot!(title = \"Sample plot\", leg=false)"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"Plots.GRBackend()"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"using Plots\n",
"gr()"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n",
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"600\" height=\"400\" viewBox=\"0 0 2400 1600\">\n",
"<defs>\n",
" <clipPath id=\"clip100\">\n",
" <rect x=\"0\" y=\"0\" width=\"2400\" height=\"1600\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<path clip-path=\"url(#clip100)\" d=\"\n",
"M0 1600 L2400 1600 L2400 0 L0 0 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<defs>\n",
" <clipPath id=\"clip101\">\n",
" <rect x=\"480\" y=\"0\" width=\"1681\" height=\"1600\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<path clip-path=\"url(#clip100)\" d=\"\n",
"M147.848 1486.45 L2352.76 1486.45 L2352.76 123.472 L147.848 123.472 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<defs>\n",
" <clipPath id=\"clip102\">\n",
" <rect x=\"147\" y=\"123\" width=\"2206\" height=\"1364\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 210.251,1486.45 210.251,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 626.272,1486.45 626.272,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1042.29,1486.45 1042.29,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1458.31,1486.45 1458.31,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1874.33,1486.45 1874.33,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 2290.35,1486.45 2290.35,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,1447.87 2352.76,1447.87 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,1162.13 2352.76,1162.13 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,876.395 2352.76,876.395 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,590.656 2352.76,590.656 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip102)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,304.916 2352.76,304.916 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1486.45 2352.76,1486.45 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1486.45 147.848,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 210.251,1486.45 210.251,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 626.272,1486.45 626.272,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1042.29,1486.45 1042.29,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1458.31,1486.45 1458.31,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1874.33,1486.45 1874.33,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 2290.35,1486.45 2290.35,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1447.87 174.307,1447.87 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1162.13 174.307,1162.13 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,876.395 174.307,876.395 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,590.656 174.307,590.656 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip100)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,304.916 174.307,304.916 \n",
" \"/>\n",
"<path clip-path=\"url(#clip100)\" d=\"M 0 0 M200.633 1535.98 L208.272 1535.98 L208.272 1509.62 L199.962 1511.29 L199.962 1507.03 L208.226 1505.36 L212.902 1505.36 L212.902 1535.98 L220.541 1535.98 L220.541 1539.92 L200.633 1539.92 L200.633 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip100)\" d=\"M 0 0 M620.924 1535.98 L637.244 1535.98 L637.244 1539.92 L615.299 1539.92 L615.299 1535.98 Q617.961 1533.23 622.545 1528.6 Q627.151 1523.95 628.332 1522.61 Q630.577 1520.08 631.457 1518.35 Q632.36 1516.59 632.36 1514.9 Q632.36 1512.14 630.415 1510.41 Q628.494 1508.67 625.392 1508.67 Q623.193 1508.67 620.739 1509.43 Q618.309 1510.2 615.531 1511.75 L615.531 1507.03 Q618.355 1505.89 620.809 1505.31 Q623.262 1504.73 625.299 1504.73 Q630.67 1504.73 633.864 1507.42 Q637.059 1510.11 637.059 1514.6 Q637.059 1516.73 636.248 1518.65 Q635.461 1520.54 633.355 1523.14 Q632.776 1523.81 629.674 1527.03 Q626.573 1530.22 620.924 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip100)\" d=\"M 0 0 M1046.54 1521.29 Q1049.9 1522 1051.77 1524.27 Q1053.67 1526.54 1053.67 1529.87 Q1053.67 1534.99 1050.15 1537.79 Q1046.63 1540.59 1040.15 1540.59 Q1037.97 1540.59 1035.66 1540.15 Q1033.37 1539.73 1030.91 1538.88 L1030.91 1534.36 Q1032.86 1535.5 1035.17 1536.08 Q1037.49 1536.66 1040.01 1536.66 Q1044.41 1536.66 1046.7 1534.92 Q1049.02 1533.18 1049.02 1529.87 Q1049.02 1526.82 1046.86 1525.11 Q1044.73 1523.37 1040.91 1523.37 L1036.89 1523.37 L1036.89 1519.53 L1041.1 1519.53 Q1044.55 1519.53 1046.38 1518.16 Q1048.21 1516.77 1048.21 1514.18 Q1048.21 1511.52 1046.31 1510.11 Q1044.43 1508.67 1040.91 1508.67 Q1038.99 1508.67 1036.79 1509.09 Q1034.6 1509.5 1031.96 1510.38 L1031.96 1506.22 Q1034.62 1505.48 1036.93 1505.11 Q1039.27 1504.73 1041.33 1504.73 Q1046.66 1504.73 1049.76 1507.17 Q1052.86 1509.57 1052.86 1513.69 Q1052.86 1516.56 1051.22 1518.55 Q1049.57 1520.52 1046.54 1521.29 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip100)\" d=\"M 0 0 M1461.32 1509.43 L1449.52 1527.88 L1461.32 1527.88 L1461.32 1509.43 M1460.09 1505.36 L1465.97 1505.36 L1465.97 1527.88 L1470.9 1527.88 L1470.9 1531.77 L1465.97 1531.77 L1465.97 1539.92 L1461.32 1539.92 L1461.32 1531.77 L1445.72 1531.77 L1445.72 1527.26 L1460.09 1505.36 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip100)\" d=\"M 0 0 M1864.61 1505.36 L1882.97 1505.36 L1882.97 1509.3 L1868.89 1509.3 L1868.89 1517.77 Q1869.91 1517.42 1870.93 1517.26 Q1871.95 1517.07 1872.97 1517.07 Q1878.75 1517.07 1882.13 1520.24 Q1885.51 1523.42 1885.51 1528.83 Q1885.51 1534.41 1882.04 1537.51 Q1878.57 1540.59 1872.25 1540.59 Q1870.07 1540.59 1867.8 1540.22 Q1865.56 1539.85 1863.15 1539.11 L1863.15 1534.41 Q1865.24 1535.54 1867.46 1536.1 Q1869.68 1536.66 1872.16 1536.66 Q1876.16 1536.66 1878.5 1534.55 Q1880.84 1532.44 1880.84 1528.83 Q1880.84 1525.22 1878.5 1523.11 Q1876.16 1521.01 1872.16 1521.01 Q1870.28 1521.01 1868.41 1521.42 Q1866.55 1521.84 1864.61 1522.72 L1864.61 1505.36 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip100)\" d=\"M 0 0 M2290.76 1520.78 Q2287.61 1520.78 2285.76 1522.93 Q2283.93 1525.08 2283.93 1528.83 Q2283.93 1532.56 2285.76 1534.73 Q2287.61 1536.89 2290.76 1536.89 Q2293.91 1536.89 2295.73 1534.73 Q2297.59 1532.56 2297.59 1528.83 Q2297.59 1525.08 2295.73 1522.93 Q2293.91 1520.78 2290.76 1520.78 M2300.04 1506.12 L2300.04 1510.38 Q2298.28 1509.55 2296.48 1509.11 Q2294.69 1508.67 2292.93 1508.67 Q2288.3 1508.67 2285.85 1511.8 Q2283.42 1514.92 2283.07 1521.24 Q2284.44 1519.23 2286.5 1518.16 Q2288.56 1517.07 2291.04 1517.07 Q2296.24 1517.07 2299.25 1520.24 Q2302.29 1523.39 2302.29 1528.83 Q2302.29 1534.16 2299.14 1537.37 Q2295.99 1540.59 2290.76 1540.59 Q2284.76 1540.59 2281.59 1536.01 Q2278.42 1531.4 2278.42 1522.67 Q2278.42 1514.48 2282.31 1509.62 Q2286.2 1504.73 2292.75 1504.73 Q2294.51 1504.73 2296.29 1505.08 Q2298.1 1505.43 2300.04 1506.12 Z\" fill=\"#000000\" fill-rule=\"evenodd\" f
"<path clip-path=\"url(#clip102)\" d=\"M626.272 1321 L612.416 1313 L612.416 1297 L626.272 1289 L640.128 1297 L640.128 1313 Z\" fill=\"#e26f46\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip102)\" d=\"M1042.29 1463.87 L1028.44 1455.87 L1028.44 1439.87 L1042.29 1431.87 L1056.15 1439.87 L1056.15 1455.87 Z\" fill=\"#3da44d\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip102)\" d=\"M1458.31 1321 L1444.46 1313 L1444.46 1297 L1458.31 1289 L1472.17 1297 L1472.17 1313 Z\" fill=\"#c271d2\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip102)\" d=\"M1874.33 892.395 L1860.48 884.395 L1860.48 868.395 L1874.33 860.395 L1888.19 868.395 L1888.19 884.395 Z\" fill=\"#ac8d18\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip102)\" d=\"M2290.35 178.047 L2276.5 170.047 L2276.5 154.047 L2290.35 146.047 L2304.21 154.047 L2304.21 170.047 Z\" fill=\"#00a9ad\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"</svg>\n"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"x = [1 2 3 4 5 6]\n",
"y = (x.-3).^2/4\n",
"plot(x,y, marker = :hex, leg=false, linewidth = 2, linecolor=:black)\n",
"plot!(title=\"Plot for graded quiz\")"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n",
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"600\" height=\"400\" viewBox=\"0 0 2400 1600\">\n",
"<defs>\n",
" <clipPath id=\"clip140\">\n",
" <rect x=\"0\" y=\"0\" width=\"2400\" height=\"1600\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<path clip-path=\"url(#clip140)\" d=\"\n",
"M0 1600 L2400 1600 L2400 0 L0 0 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<defs>\n",
" <clipPath id=\"clip141\">\n",
" <rect x=\"480\" y=\"0\" width=\"1681\" height=\"1600\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<path clip-path=\"url(#clip140)\" d=\"\n",
"M147.848 1486.45 L2352.76 1486.45 L2352.76 123.472 L147.848 123.472 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<defs>\n",
" <clipPath id=\"clip142\">\n",
" <rect x=\"147\" y=\"123\" width=\"2206\" height=\"1364\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 210.251,1486.45 210.251,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 626.272,1486.45 626.272,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1042.29,1486.45 1042.29,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1458.31,1486.45 1458.31,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1874.33,1486.45 1874.33,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 2290.35,1486.45 2290.35,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,1447.87 2352.76,1447.87 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,1162.13 2352.76,1162.13 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,876.395 2352.76,876.395 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,590.656 2352.76,590.656 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip142)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,304.916 2352.76,304.916 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1486.45 2352.76,1486.45 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1486.45 147.848,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 210.251,1486.45 210.251,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 626.272,1486.45 626.272,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1042.29,1486.45 1042.29,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1458.31,1486.45 1458.31,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1874.33,1486.45 1874.33,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 2290.35,1486.45 2290.35,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1447.87 174.307,1447.87 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1162.13 174.307,1162.13 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,876.395 174.307,876.395 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,590.656 174.307,590.656 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip140)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,304.916 174.307,304.916 \n",
" \"/>\n",
"<path clip-path=\"url(#clip140)\" d=\"M 0 0 M200.633 1535.98 L208.272 1535.98 L208.272 1509.62 L199.962 1511.29 L199.962 1507.03 L208.226 1505.36 L212.902 1505.36 L212.902 1535.98 L220.541 1535.98 L220.541 1539.92 L200.633 1539.92 L200.633 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip140)\" d=\"M 0 0 M620.924 1535.98 L637.244 1535.98 L637.244 1539.92 L615.299 1539.92 L615.299 1535.98 Q617.961 1533.23 622.545 1528.6 Q627.151 1523.95 628.332 1522.61 Q630.577 1520.08 631.457 1518.35 Q632.36 1516.59 632.36 1514.9 Q632.36 1512.14 630.415 1510.41 Q628.494 1508.67 625.392 1508.67 Q623.193 1508.67 620.739 1509.43 Q618.309 1510.2 615.531 1511.75 L615.531 1507.03 Q618.355 1505.89 620.809 1505.31 Q623.262 1504.73 625.299 1504.73 Q630.67 1504.73 633.864 1507.42 Q637.059 1510.11 637.059 1514.6 Q637.059 1516.73 636.248 1518.65 Q635.461 1520.54 633.355 1523.14 Q632.776 1523.81 629.674 1527.03 Q626.573 1530.22 620.924 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip140)\" d=\"M 0 0 M1046.54 1521.29 Q1049.9 1522 1051.77 1524.27 Q1053.67 1526.54 1053.67 1529.87 Q1053.67 1534.99 1050.15 1537.79 Q1046.63 1540.59 1040.15 1540.59 Q1037.97 1540.59 1035.66 1540.15 Q1033.37 1539.73 1030.91 1538.88 L1030.91 1534.36 Q1032.86 1535.5 1035.17 1536.08 Q1037.49 1536.66 1040.01 1536.66 Q1044.41 1536.66 1046.7 1534.92 Q1049.02 1533.18 1049.02 1529.87 Q1049.02 1526.82 1046.86 1525.11 Q1044.73 1523.37 1040.91 1523.37 L1036.89 1523.37 L1036.89 1519.53 L1041.1 1519.53 Q1044.55 1519.53 1046.38 1518.16 Q1048.21 1516.77 1048.21 1514.18 Q1048.21 1511.52 1046.31 1510.11 Q1044.43 1508.67 1040.91 1508.67 Q1038.99 1508.67 1036.79 1509.09 Q1034.6 1509.5 1031.96 1510.38 L1031.96 1506.22 Q1034.62 1505.48 1036.93 1505.11 Q1039.27 1504.73 1041.33 1504.73 Q1046.66 1504.73 1049.76 1507.17 Q1052.86 1509.57 1052.86 1513.69 Q1052.86 1516.56 1051.22 1518.55 Q1049.57 1520.52 1046.54 1521.29 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip140)\" d=\"M 0 0 M1461.32 1509.43 L1449.52 1527.88 L1461.32 1527.88 L1461.32 1509.43 M1460.09 1505.36 L1465.97 1505.36 L1465.97 1527.88 L1470.9 1527.88 L1470.9 1531.77 L1465.97 1531.77 L1465.97 1539.92 L1461.32 1539.92 L1461.32 1531.77 L1445.72 1531.77 L1445.72 1527.26 L1460.09 1505.36 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip140)\" d=\"M 0 0 M1864.61 1505.36 L1882.97 1505.36 L1882.97 1509.3 L1868.89 1509.3 L1868.89 1517.77 Q1869.91 1517.42 1870.93 1517.26 Q1871.95 1517.07 1872.97 1517.07 Q1878.75 1517.07 1882.13 1520.24 Q1885.51 1523.42 1885.51 1528.83 Q1885.51 1534.41 1882.04 1537.51 Q1878.57 1540.59 1872.25 1540.59 Q1870.07 1540.59 1867.8 1540.22 Q1865.56 1539.85 1863.15 1539.11 L1863.15 1534.41 Q1865.24 1535.54 1867.46 1536.1 Q1869.68 1536.66 1872.16 1536.66 Q1876.16 1536.66 1878.5 1534.55 Q1880.84 1532.44 1880.84 1528.83 Q1880.84 1525.22 1878.5 1523.11 Q1876.16 1521.01 1872.16 1521.01 Q1870.28 1521.01 1868.41 1521.42 Q1866.55 1521.84 1864.61 1522.72 L1864.61 1505.36 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip140)\" d=\"M 0 0 M2290.76 1520.78 Q2287.61 1520.78 2285.76 1522.93 Q2283.93 1525.08 2283.93 1528.83 Q2283.93 1532.56 2285.76 1534.73 Q2287.61 1536.89 2290.76 1536.89 Q2293.91 1536.89 2295.73 1534.73 Q2297.59 1532.56 2297.59 1528.83 Q2297.59 1525.08 2295.73 1522.93 Q2293.91 1520.78 2290.76 1520.78 M2300.04 1506.12 L2300.04 1510.38 Q2298.28 1509.55 2296.48 1509.11 Q2294.69 1508.67 2292.93 1508.67 Q2288.3 1508.67 2285.85 1511.8 Q2283.42 1514.92 2283.07 1521.24 Q2284.44 1519.23 2286.5 1518.16 Q2288.56 1517.07 2291.04 1517.07 Q2296.24 1517.07 2299.25 1520.24 Q2302.29 1523.39 2302.29 1528.83 Q2302.29 1534.16 2299.14 1537.37 Q2295.99 1540.59 2290.76 1540.59 Q2284.76 1540.59 2281.59 1536.01 Q2278.42 1531.4 2278.42 1522.67 Q2278.42 1514.48 2282.31 1509.62 Q2286.2 1504.73 2292.75 1504.73 Q2294.51 1504.73 2296.29 1505.08 Q2298.1 1505.43 2300.04 1506.12 Z\" fill=\"#000000\" fill-rule=\"evenodd\" f
" 210.251,876.395 626.272,1305 1042.29,1447.87 1458.31,1305 1874.33,876.395 2290.35,162.047 \n",
" \"/>\n",
"<path clip-path=\"url(#clip142)\" d=\"M210.251 892.395 L196.395 884.395 L196.395 868.395 L210.251 860.395 L224.107 868.395 L224.107 884.395 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip142)\" d=\"M626.272 1321 L612.416 1313 L612.416 1297 L626.272 1289 L640.128 1297 L640.128 1313 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip142)\" d=\"M1042.29 1463.87 L1028.44 1455.87 L1028.44 1439.87 L1042.29 1431.87 L1056.15 1439.87 L1056.15 1455.87 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip142)\" d=\"M1458.31 1321 L1444.46 1313 L1444.46 1297 L1458.31 1289 L1472.17 1297 L1472.17 1313 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip142)\" d=\"M1874.33 892.395 L1860.48 884.395 L1860.48 868.395 L1874.33 860.395 L1888.19 868.395 L1888.19 884.395 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip142)\" d=\"M2290.35 178.047 L2276.5 170.047 L2276.5 154.047 L2290.35 146.047 L2304.21 154.047 L2304.21 170.047 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"</svg>\n"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"x = [1, 2, 3, 4, 5, 6]\n",
"y = (x.-3).^2/4\n",
"plot(x,y, marker = :hex, leg=false, linewidth = 2, linecolor=:black)\n",
"plot!(title=\"Plot for graded quiz\")"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n",
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"600\" height=\"400\" viewBox=\"0 0 2400 1600\">\n",
"<defs>\n",
" <clipPath id=\"clip180\">\n",
" <rect x=\"0\" y=\"0\" width=\"2400\" height=\"1600\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<path clip-path=\"url(#clip180)\" d=\"\n",
"M0 1600 L2400 1600 L2400 0 L0 0 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<defs>\n",
" <clipPath id=\"clip181\">\n",
" <rect x=\"480\" y=\"0\" width=\"1681\" height=\"1600\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<path clip-path=\"url(#clip180)\" d=\"\n",
"M147.848 1486.45 L2352.76 1486.45 L2352.76 123.472 L147.848 123.472 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<defs>\n",
" <clipPath id=\"clip182\">\n",
" <rect x=\"147\" y=\"123\" width=\"2206\" height=\"1364\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 210.251,1486.45 210.251,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 626.272,1486.45 626.272,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1042.29,1486.45 1042.29,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1458.31,1486.45 1458.31,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1874.33,1486.45 1874.33,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 2290.35,1486.45 2290.35,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,1447.87 2352.76,1447.87 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,1162.13 2352.76,1162.13 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,876.395 2352.76,876.395 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,590.656 2352.76,590.656 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip182)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,304.916 2352.76,304.916 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1486.45 2352.76,1486.45 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1486.45 147.848,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 210.251,1486.45 210.251,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 626.272,1486.45 626.272,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1042.29,1486.45 1042.29,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1458.31,1486.45 1458.31,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1874.33,1486.45 1874.33,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 2290.35,1486.45 2290.35,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1447.87 174.307,1447.87 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1162.13 174.307,1162.13 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,876.395 174.307,876.395 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,590.656 174.307,590.656 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip180)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,304.916 174.307,304.916 \n",
" \"/>\n",
"<path clip-path=\"url(#clip180)\" d=\"M 0 0 M200.633 1535.98 L208.272 1535.98 L208.272 1509.62 L199.962 1511.29 L199.962 1507.03 L208.226 1505.36 L212.902 1505.36 L212.902 1535.98 L220.541 1535.98 L220.541 1539.92 L200.633 1539.92 L200.633 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip180)\" d=\"M 0 0 M620.924 1535.98 L637.244 1535.98 L637.244 1539.92 L615.299 1539.92 L615.299 1535.98 Q617.961 1533.23 622.545 1528.6 Q627.151 1523.95 628.332 1522.61 Q630.577 1520.08 631.457 1518.35 Q632.36 1516.59 632.36 1514.9 Q632.36 1512.14 630.415 1510.41 Q628.494 1508.67 625.392 1508.67 Q623.193 1508.67 620.739 1509.43 Q618.309 1510.2 615.531 1511.75 L615.531 1507.03 Q618.355 1505.89 620.809 1505.31 Q623.262 1504.73 625.299 1504.73 Q630.67 1504.73 633.864 1507.42 Q637.059 1510.11 637.059 1514.6 Q637.059 1516.73 636.248 1518.65 Q635.461 1520.54 633.355 1523.14 Q632.776 1523.81 629.674 1527.03 Q626.573 1530.22 620.924 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip180)\" d=\"M 0 0 M1046.54 1521.29 Q1049.9 1522 1051.77 1524.27 Q1053.67 1526.54 1053.67 1529.87 Q1053.67 1534.99 1050.15 1537.79 Q1046.63 1540.59 1040.15 1540.59 Q1037.97 1540.59 1035.66 1540.15 Q1033.37 1539.73 1030.91 1538.88 L1030.91 1534.36 Q1032.86 1535.5 1035.17 1536.08 Q1037.49 1536.66 1040.01 1536.66 Q1044.41 1536.66 1046.7 1534.92 Q1049.02 1533.18 1049.02 1529.87 Q1049.02 1526.82 1046.86 1525.11 Q1044.73 1523.37 1040.91 1523.37 L1036.89 1523.37 L1036.89 1519.53 L1041.1 1519.53 Q1044.55 1519.53 1046.38 1518.16 Q1048.21 1516.77 1048.21 1514.18 Q1048.21 1511.52 1046.31 1510.11 Q1044.43 1508.67 1040.91 1508.67 Q1038.99 1508.67 1036.79 1509.09 Q1034.6 1509.5 1031.96 1510.38 L1031.96 1506.22 Q1034.62 1505.48 1036.93 1505.11 Q1039.27 1504.73 1041.33 1504.73 Q1046.66 1504.73 1049.76 1507.17 Q1052.86 1509.57 1052.86 1513.69 Q1052.86 1516.56 1051.22 1518.55 Q1049.57 1520.52 1046.54 1521.29 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip180)\" d=\"M 0 0 M1461.32 1509.43 L1449.52 1527.88 L1461.32 1527.88 L1461.32 1509.43 M1460.09 1505.36 L1465.97 1505.36 L1465.97 1527.88 L1470.9 1527.88 L1470.9 1531.77 L1465.97 1531.77 L1465.97 1539.92 L1461.32 1539.92 L1461.32 1531.77 L1445.72 1531.77 L1445.72 1527.26 L1460.09 1505.36 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip180)\" d=\"M 0 0 M1864.61 1505.36 L1882.97 1505.36 L1882.97 1509.3 L1868.89 1509.3 L1868.89 1517.77 Q1869.91 1517.42 1870.93 1517.26 Q1871.95 1517.07 1872.97 1517.07 Q1878.75 1517.07 1882.13 1520.24 Q1885.51 1523.42 1885.51 1528.83 Q1885.51 1534.41 1882.04 1537.51 Q1878.57 1540.59 1872.25 1540.59 Q1870.07 1540.59 1867.8 1540.22 Q1865.56 1539.85 1863.15 1539.11 L1863.15 1534.41 Q1865.24 1535.54 1867.46 1536.1 Q1869.68 1536.66 1872.16 1536.66 Q1876.16 1536.66 1878.5 1534.55 Q1880.84 1532.44 1880.84 1528.83 Q1880.84 1525.22 1878.5 1523.11 Q1876.16 1521.01 1872.16 1521.01 Q1870.28 1521.01 1868.41 1521.42 Q1866.55 1521.84 1864.61 1522.72 L1864.61 1505.36 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip180)\" d=\"M 0 0 M2290.76 1520.78 Q2287.61 1520.78 2285.76 1522.93 Q2283.93 1525.08 2283.93 1528.83 Q2283.93 1532.56 2285.76 1534.73 Q2287.61 1536.89 2290.76 1536.89 Q2293.91 1536.89 2295.73 1534.73 Q2297.59 1532.56 2297.59 1528.83 Q2297.59 1525.08 2295.73 1522.93 Q2293.91 1520.78 2290.76 1520.78 M2300.04 1506.12 L2300.04 1510.38 Q2298.28 1509.55 2296.48 1509.11 Q2294.69 1508.67 2292.93 1508.67 Q2288.3 1508.67 2285.85 1511.8 Q2283.42 1514.92 2283.07 1521.24 Q2284.44 1519.23 2286.5 1518.16 Q2288.56 1517.07 2291.04 1517.07 Q2296.24 1517.07 2299.25 1520.24 Q2302.29 1523.39 2302.29 1528.83 Q2302.29 1534.16 2299.14 1537.37 Q2295.99 1540.59 2290.76 1540.59 Q2284.76 1540.59 2281.59 1536.01 Q2278.42 1531.4 2278.42 1522.67 Q2278.42 1514.48 2282.31 1509.62 Q2286.2 1504.73 2292.75 1504.73 Q2294.51 1504.73 2296.29 1505.08 Q2298.1 1505.43 2300.04 1506.12 Z\" fill=\"#000000\" fill-rule=\"evenodd\" f
" 210.251,876.395 626.272,1305 1042.29,1447.87 1458.31,1305 1874.33,876.395 2290.35,162.047 \n",
" \"/>\n",
"<path clip-path=\"url(#clip182)\" d=\"M210.251 892.395 L196.395 884.395 L196.395 868.395 L210.251 860.395 L224.107 868.395 L224.107 884.395 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip182)\" d=\"M626.272 1321 L612.416 1313 L612.416 1297 L626.272 1289 L640.128 1297 L640.128 1313 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip182)\" d=\"M1042.29 1463.87 L1028.44 1455.87 L1028.44 1439.87 L1042.29 1431.87 L1056.15 1439.87 L1056.15 1455.87 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip182)\" d=\"M1458.31 1321 L1444.46 1313 L1444.46 1297 L1458.31 1289 L1472.17 1297 L1472.17 1313 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip182)\" d=\"M1874.33 892.395 L1860.48 884.395 L1860.48 868.395 L1874.33 860.395 L1888.19 868.395 L1888.19 884.395 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip182)\" d=\"M2290.35 178.047 L2276.5 170.047 L2276.5 154.047 L2290.35 146.047 L2304.21 154.047 L2304.21 170.047 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"</svg>\n"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"x = [1 2 3 4 5 6]'\n",
"y = (x.-3).^2/4\n",
"plot(x,y, marker = :hex, leg=false, linewidth = 2, linecolor=:black)\n",
"plot!(title=\"Plot for graded quiz\")"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n",
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"600\" height=\"400\" viewBox=\"0 0 2400 1600\">\n",
"<defs>\n",
" <clipPath id=\"clip220\">\n",
" <rect x=\"0\" y=\"0\" width=\"2400\" height=\"1600\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<path clip-path=\"url(#clip220)\" d=\"\n",
"M0 1600 L2400 1600 L2400 0 L0 0 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<defs>\n",
" <clipPath id=\"clip221\">\n",
" <rect x=\"480\" y=\"0\" width=\"1681\" height=\"1600\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<path clip-path=\"url(#clip220)\" d=\"\n",
"M147.848 1486.45 L2352.76 1486.45 L2352.76 123.472 L147.848 123.472 Z\n",
" \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n",
"<defs>\n",
" <clipPath id=\"clip222\">\n",
" <rect x=\"147\" y=\"123\" width=\"2206\" height=\"1364\"/>\n",
" </clipPath>\n",
"</defs>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 210.251,1486.45 210.251,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 626.272,1486.45 626.272,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1042.29,1486.45 1042.29,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1458.31,1486.45 1458.31,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 1874.33,1486.45 1874.33,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 2290.35,1486.45 2290.35,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,1447.87 2352.76,1447.87 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,1162.13 2352.76,1162.13 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,876.395 2352.76,876.395 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,590.656 2352.76,590.656 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip222)\" style=\"stroke:#000000; stroke-width:2; stroke-opacity:0.1; fill:none\" points=\"\n",
" 147.848,304.916 2352.76,304.916 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1486.45 2352.76,1486.45 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1486.45 147.848,123.472 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 210.251,1486.45 210.251,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 626.272,1486.45 626.272,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1042.29,1486.45 1042.29,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1458.31,1486.45 1458.31,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 1874.33,1486.45 1874.33,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 2290.35,1486.45 2290.35,1470.09 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1447.87 174.307,1447.87 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,1162.13 174.307,1162.13 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,876.395 174.307,876.395 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,590.656 174.307,590.656 \n",
" \"/>\n",
"<polyline clip-path=\"url(#clip220)\" style=\"stroke:#000000; stroke-width:4; stroke-opacity:1; fill:none\" points=\"\n",
" 147.848,304.916 174.307,304.916 \n",
" \"/>\n",
"<path clip-path=\"url(#clip220)\" d=\"M 0 0 M200.633 1535.98 L208.272 1535.98 L208.272 1509.62 L199.962 1511.29 L199.962 1507.03 L208.226 1505.36 L212.902 1505.36 L212.902 1535.98 L220.541 1535.98 L220.541 1539.92 L200.633 1539.92 L200.633 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip220)\" d=\"M 0 0 M620.924 1535.98 L637.244 1535.98 L637.244 1539.92 L615.299 1539.92 L615.299 1535.98 Q617.961 1533.23 622.545 1528.6 Q627.151 1523.95 628.332 1522.61 Q630.577 1520.08 631.457 1518.35 Q632.36 1516.59 632.36 1514.9 Q632.36 1512.14 630.415 1510.41 Q628.494 1508.67 625.392 1508.67 Q623.193 1508.67 620.739 1509.43 Q618.309 1510.2 615.531 1511.75 L615.531 1507.03 Q618.355 1505.89 620.809 1505.31 Q623.262 1504.73 625.299 1504.73 Q630.67 1504.73 633.864 1507.42 Q637.059 1510.11 637.059 1514.6 Q637.059 1516.73 636.248 1518.65 Q635.461 1520.54 633.355 1523.14 Q632.776 1523.81 629.674 1527.03 Q626.573 1530.22 620.924 1535.98 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip220)\" d=\"M 0 0 M1046.54 1521.29 Q1049.9 1522 1051.77 1524.27 Q1053.67 1526.54 1053.67 1529.87 Q1053.67 1534.99 1050.15 1537.79 Q1046.63 1540.59 1040.15 1540.59 Q1037.97 1540.59 1035.66 1540.15 Q1033.37 1539.73 1030.91 1538.88 L1030.91 1534.36 Q1032.86 1535.5 1035.17 1536.08 Q1037.49 1536.66 1040.01 1536.66 Q1044.41 1536.66 1046.7 1534.92 Q1049.02 1533.18 1049.02 1529.87 Q1049.02 1526.82 1046.86 1525.11 Q1044.73 1523.37 1040.91 1523.37 L1036.89 1523.37 L1036.89 1519.53 L1041.1 1519.53 Q1044.55 1519.53 1046.38 1518.16 Q1048.21 1516.77 1048.21 1514.18 Q1048.21 1511.52 1046.31 1510.11 Q1044.43 1508.67 1040.91 1508.67 Q1038.99 1508.67 1036.79 1509.09 Q1034.6 1509.5 1031.96 1510.38 L1031.96 1506.22 Q1034.62 1505.48 1036.93 1505.11 Q1039.27 1504.73 1041.33 1504.73 Q1046.66 1504.73 1049.76 1507.17 Q1052.86 1509.57 1052.86 1513.69 Q1052.86 1516.56 1051.22 1518.55 Q1049.57 1520.52 1046.54 1521.29 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip220)\" d=\"M 0 0 M1461.32 1509.43 L1449.52 1527.88 L1461.32 1527.88 L1461.32 1509.43 M1460.09 1505.36 L1465.97 1505.36 L1465.97 1527.88 L1470.9 1527.88 L1470.9 1531.77 L1465.97 1531.77 L1465.97 1539.92 L1461.32 1539.92 L1461.32 1531.77 L1445.72 1531.77 L1445.72 1527.26 L1460.09 1505.36 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip220)\" d=\"M 0 0 M1864.61 1505.36 L1882.97 1505.36 L1882.97 1509.3 L1868.89 1509.3 L1868.89 1517.77 Q1869.91 1517.42 1870.93 1517.26 Q1871.95 1517.07 1872.97 1517.07 Q1878.75 1517.07 1882.13 1520.24 Q1885.51 1523.42 1885.51 1528.83 Q1885.51 1534.41 1882.04 1537.51 Q1878.57 1540.59 1872.25 1540.59 Q1870.07 1540.59 1867.8 1540.22 Q1865.56 1539.85 1863.15 1539.11 L1863.15 1534.41 Q1865.24 1535.54 1867.46 1536.1 Q1869.68 1536.66 1872.16 1536.66 Q1876.16 1536.66 1878.5 1534.55 Q1880.84 1532.44 1880.84 1528.83 Q1880.84 1525.22 1878.5 1523.11 Q1876.16 1521.01 1872.16 1521.01 Q1870.28 1521.01 1868.41 1521.42 Q1866.55 1521.84 1864.61 1522.72 L1864.61 1505.36 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip220)\" d=\"M 0 0 M2290.76 1520.78 Q2287.61 1520.78 2285.76 1522.93 Q2283.93 1525.08 2283.93 1528.83 Q2283.93 1532.56 2285.76 1534.73 Q2287.61 1536.89 2290.76 1536.89 Q2293.91 1536.89 2295.73 1534.73 Q2297.59 1532.56 2297.59 1528.83 Q2297.59 1525.08 2295.73 1522.93 Q2293.91 1520.78 2290.76 1520.78 M2300.04 1506.12 L2300.04 1510.38 Q2298.28 1509.55 2296.48 1509.11 Q2294.69 1508.67 2292.93 1508.67 Q2288.3 1508.67 2285.85 1511.8 Q2283.42 1514.92 2283.07 1521.24 Q2284.44 1519.23 2286.5 1518.16 Q2288.56 1517.07 2291.04 1517.07 Q2296.24 1517.07 2299.25 1520.24 Q2302.29 1523.39 2302.29 1528.83 Q2302.29 1534.16 2299.14 1537.37 Q2295.99 1540.59 2290.76 1540.59 Q2284.76 1540.59 2281.59 1536.01 Q2278.42 1531.4 2278.42 1522.67 Q2278.42 1514.48 2282.31 1509.62 Q2286.2 1504.73 2292.75 1504.73 Q2294.51 1504.73 2296.29 1505.08 Q2298.1 1505.43 2300.04 1506.12 Z\" fill=\"#000000\" fill-rule=\"evenodd\" f
" 210.251,876.395 626.272,1305 1042.29,1447.87 1458.31,1305 1874.33,876.395 2290.35,162.047 \n",
" \"/>\n",
"<path clip-path=\"url(#clip222)\" d=\"M210.251 892.395 L196.395 884.395 L196.395 868.395 L210.251 860.395 L224.107 868.395 L224.107 884.395 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip222)\" d=\"M626.272 1321 L612.416 1313 L612.416 1297 L626.272 1289 L640.128 1297 L640.128 1313 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip222)\" d=\"M1042.29 1463.87 L1028.44 1455.87 L1028.44 1439.87 L1042.29 1431.87 L1056.15 1439.87 L1056.15 1455.87 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip222)\" d=\"M1458.31 1321 L1444.46 1313 L1444.46 1297 L1458.31 1289 L1472.17 1297 L1472.17 1313 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip222)\" d=\"M1874.33 892.395 L1860.48 884.395 L1860.48 868.395 L1874.33 860.395 L1888.19 868.395 L1888.19 884.395 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"<path clip-path=\"url(#clip222)\" d=\"M2290.35 178.047 L2276.5 170.047 L2276.5 154.047 L2290.35 146.047 L2304.21 154.047 L2304.21 170.047 Z\" fill=\"#009af9\" fill-rule=\"evenodd\" fill-opacity=\"1\" stroke=\"#000000\" stroke-opacity=\"1\" stroke-width=\"3.2\"/>\n",
"</svg>\n"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"x = [1 2 3 4 5 6]'\n",
"y = (x.-3).^2/4\n",
"plot(x,y, marker = :hex, leg=false)\n",
"plot!(title=\"Plot for graded quiz\", linewidth = 2, linecolor=:black)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Julia 1.2.0",
"language": "julia",
"name": "julia-1.2"
},
"language_info": {
"file_extension": ".jl",
"mimetype": "application/julia",
"name": "julia",
"version": "1.2.0"
}
},
"nbformat": 4,
"nbformat_minor": 4
}