Created
February 8, 2014 20:33
-
-
Save DougBurke/8889814 to your computer and use it in GitHub Desktop.
Filled circles not created by Diagrams backend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="600pt" height="600pt" viewBox="0 0 600 600" version="1.1"> | |
<defs> | |
<g> | |
<symbol overflow="visible" id="glyph0-0"> | |
<path style="stroke:none;" d="M 0.5 1.765625 L 0.5 -7.046875 L 5.5 -7.046875 L 5.5 1.765625 Z M 1.0625 1.21875 L 4.9375 1.21875 L 4.9375 -6.484375 L 1.0625 -6.484375 Z "/> | |
</symbol> | |
<symbol overflow="visible" id="glyph0-1"> | |
<path style="stroke:none;" d="M 3.171875 -6.640625 C 2.671875 -6.640625 2.289062 -6.390625 2.03125 -5.890625 C 1.78125 -5.390625 1.65625 -4.640625 1.65625 -3.640625 C 1.65625 -2.640625 1.78125 -1.890625 2.03125 -1.390625 C 2.289062 -0.890625 2.671875 -0.640625 3.171875 -0.640625 C 3.691406 -0.640625 4.078125 -0.890625 4.328125 -1.390625 C 4.585938 -1.890625 4.71875 -2.640625 4.71875 -3.640625 C 4.71875 -4.640625 4.585938 -5.390625 4.328125 -5.890625 C 4.078125 -6.390625 3.691406 -6.640625 3.171875 -6.640625 Z M 3.171875 -7.421875 C 3.992188 -7.421875 4.617188 -7.097656 5.046875 -6.453125 C 5.484375 -5.804688 5.703125 -4.867188 5.703125 -3.640625 C 5.703125 -2.410156 5.484375 -1.472656 5.046875 -0.828125 C 4.617188 -0.179688 3.992188 0.140625 3.171875 0.140625 C 2.359375 0.140625 1.734375 -0.179688 1.296875 -0.828125 C 0.867188 -1.472656 0.65625 -2.410156 0.65625 -3.640625 C 0.65625 -4.867188 0.867188 -5.804688 1.296875 -6.453125 C 1.734375 -7.097656 2.359375 -7.421875 3.171875 -7.421875 Z "/> | |
</symbol> | |
<symbol overflow="visible" id="glyph0-2"> | |
<path style="stroke:none;" d="M 1.078125 -7.296875 L 4.953125 -7.296875 L 4.953125 -6.453125 L 1.984375 -6.453125 L 1.984375 -4.671875 C 2.128906 -4.722656 2.269531 -4.757812 2.40625 -4.78125 C 2.550781 -4.800781 2.695312 -4.8125 2.84375 -4.8125 C 3.65625 -4.8125 4.296875 -4.585938 4.765625 -4.140625 C 5.242188 -3.703125 5.484375 -3.101562 5.484375 -2.34375 C 5.484375 -1.550781 5.238281 -0.9375 4.75 -0.5 C 4.269531 -0.0703125 3.582031 0.140625 2.6875 0.140625 C 2.382812 0.140625 2.070312 0.113281 1.75 0.0625 C 1.4375 0.0078125 1.109375 -0.0664062 0.765625 -0.171875 L 0.765625 -1.15625 C 1.066406 -1 1.375 -0.878906 1.6875 -0.796875 C 2 -0.722656 2.328125 -0.6875 2.671875 -0.6875 C 3.234375 -0.6875 3.675781 -0.832031 4 -1.125 C 4.332031 -1.425781 4.5 -1.832031 4.5 -2.34375 C 4.5 -2.84375 4.332031 -3.238281 4 -3.53125 C 3.675781 -3.832031 3.234375 -3.984375 2.671875 -3.984375 C 2.410156 -3.984375 2.144531 -3.953125 1.875 -3.890625 C 1.613281 -3.835938 1.347656 -3.75 1.078125 -3.625 Z "/> | |
</symbol> | |
<symbol overflow="visible" id="glyph0-3"> | |
<path style="stroke:none;" d="M 1.234375 -0.828125 L 2.859375 -0.828125 L 2.859375 -6.390625 L 1.09375 -6.046875 L 1.09375 -6.9375 L 2.84375 -7.296875 L 3.828125 -7.296875 L 3.828125 -0.828125 L 5.4375 -0.828125 L 5.4375 0 L 1.234375 0 Z "/> | |
</symbol> | |
<symbol overflow="visible" id="glyph0-4"> | |
<path style="stroke:none;" d="M 1.921875 -0.828125 L 5.359375 -0.828125 L 5.359375 0 L 0.734375 0 L 0.734375 -0.828125 C 1.109375 -1.210938 1.617188 -1.734375 2.265625 -2.390625 C 2.910156 -3.046875 3.316406 -3.46875 3.484375 -3.65625 C 3.796875 -4.007812 4.015625 -4.304688 4.140625 -4.546875 C 4.265625 -4.796875 4.328125 -5.039062 4.328125 -5.28125 C 4.328125 -5.664062 4.191406 -5.976562 3.921875 -6.21875 C 3.648438 -6.46875 3.296875 -6.59375 2.859375 -6.59375 C 2.546875 -6.59375 2.21875 -6.535156 1.875 -6.421875 C 1.539062 -6.316406 1.175781 -6.15625 0.78125 -5.9375 L 0.78125 -6.9375 C 1.175781 -7.09375 1.546875 -7.210938 1.890625 -7.296875 C 2.234375 -7.378906 2.550781 -7.421875 2.84375 -7.421875 C 3.59375 -7.421875 4.191406 -7.234375 4.640625 -6.859375 C 5.097656 -6.484375 5.328125 -5.976562 5.328125 -5.34375 C 5.328125 -5.039062 5.269531 -4.753906 5.15625 -4.484375 C 5.039062 -4.222656 4.835938 -3.910156 4.546875 -3.546875 C 4.460938 -3.453125 4.203125 -3.175781 3.765625 -2.71875 C 3.328125 -2.269531 2.710938 -1.640625 1.921875 -0.828125 Z "/> | |
</symbol> | |
</g> | |
<clipPath id="clip1"> | |
<path d="M 90 15.820312 L 584.625 15.820312 L 584.625 528 L 90 528 Z "/> | |
</clipPath> | |
<clipPath id="clip2"> | |
<path d="M 578 15.820312 L 584.625 15.820312 L 584.625 22 L 578 22 Z "/> | |
</clipPath> | |
<clipPath id="clip3"> | |
<path d="M 578 15.820312 L 584.625 15.820312 L 584.625 23 L 578 23 Z "/> | |
</clipPath> | |
</defs> | |
<g id="surface1"> | |
<rect x="0" y="0" width="600" height="600" style="fill:rgb(100%,100%,100%);fill-opacity:1;stroke:none;"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(82.745098%,82.745098%,82.745098%);stroke-opacity:1;stroke-dasharray:5,5;stroke-miterlimit:10;" d="M 0.000976562 0 L 0.000976562 552.539062 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(82.745098%,82.745098%,82.745098%);stroke-opacity:1;stroke-dasharray:5,5;stroke-miterlimit:10;" d="M 184.430664 0 L 184.430664 552.539062 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(82.745098%,82.745098%,82.745098%);stroke-opacity:1;stroke-dasharray:5,5;stroke-miterlimit:10;" d="M 368.860352 0 L 368.860352 552.539062 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(82.745098%,82.745098%,82.745098%);stroke-opacity:1;stroke-dasharray:5,5;stroke-miterlimit:10;" d="M 553.293945 0 L 553.293945 552.539062 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(82.745098%,82.745098%,82.745098%);stroke-opacity:1;stroke-dasharray:5,5;stroke-miterlimit:10;" d="M 0.000976562 552.539062 L 553.293945 552.539062 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(82.745098%,82.745098%,82.745098%);stroke-opacity:1;stroke-dasharray:5,5;stroke-miterlimit:10;" d="M 0.000976562 414.40625 L 553.293945 414.40625 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(82.745098%,82.745098%,82.745098%);stroke-opacity:1;stroke-dasharray:5,5;stroke-miterlimit:10;" d="M 0.000976562 276.269531 L 553.293945 276.269531 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(82.745098%,82.745098%,82.745098%);stroke-opacity:1;stroke-dasharray:5,5;stroke-miterlimit:10;" d="M 0.000976562 138.132812 L 553.293945 138.132812 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(82.745098%,82.745098%,82.745098%);stroke-opacity:1;stroke-dasharray:5,5;stroke-miterlimit:10;" d="M 0.000976562 0 L 553.293945 0 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<g clip-path="url(#clip1)" clip-rule="nonzero"> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(100%,64.705882%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 73.770508 276.269531 L 368.860352 497.285156 L 553.293945 0 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
</g> | |
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,50.196078%,0%);fill-opacity:0.6;" d="M 111.101562 292.089844 C 111.101562 295.402344 108.417969 298.089844 105.101562 298.089844 C 101.789062 298.089844 99.101562 295.402344 99.101562 292.089844 C 99.101562 288.777344 101.789062 286.089844 105.101562 286.089844 C 108.417969 286.089844 111.101562 288.777344 111.101562 292.089844 "/> | |
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,50.196078%,0%);fill-opacity:0.6;" d="M 406.191406 513.105469 C 406.191406 516.417969 403.507812 519.105469 400.191406 519.105469 C 396.878906 519.105469 394.191406 516.417969 394.191406 513.105469 C 394.191406 509.792969 396.878906 507.105469 400.191406 507.105469 C 403.507812 507.105469 406.191406 509.792969 406.191406 513.105469 "/> | |
<g clip-path="url(#clip2)" clip-rule="nonzero"> | |
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,50.196078%,0%);fill-opacity:0.6;" d="M 590.625 15.820312 C 590.625 19.132812 587.9375 21.820312 584.625 21.820312 C 581.308594 21.820312 578.625 19.132812 578.625 15.820312 C 578.625 12.507812 581.308594 9.820312 584.625 9.820312 C 587.9375 9.820312 590.625 12.507812 590.625 15.820312 "/> | |
</g> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:bevel;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 79.770508 276.269531 C 79.770508 279.582031 77.086914 282.269531 73.770508 282.269531 C 70.458008 282.269531 67.770508 279.582031 67.770508 276.269531 C 67.770508 272.957031 70.458008 270.269531 73.770508 270.269531 C 77.086914 270.269531 79.770508 272.957031 79.770508 276.269531 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:bevel;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 374.860352 497.285156 C 374.860352 500.597656 372.176758 503.285156 368.860352 503.285156 C 365.547852 503.285156 362.860352 500.597656 362.860352 497.285156 C 362.860352 493.972656 365.547852 491.285156 368.860352 491.285156 C 372.176758 491.285156 374.860352 493.972656 374.860352 497.285156 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
<g clip-path="url(#clip3)" clip-rule="nonzero"> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:bevel;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 559.293945 0 C 559.293945 3.3125 556.606445 6 553.293945 6 C 549.977539 6 547.293945 3.3125 547.293945 0 C 547.293945 -3.3125 549.977539 -6 553.293945 -6 C 556.606445 -6 559.293945 -3.3125 559.293945 0 " transform="matrix(1,0,0,1,31.331055,15.820312)"/> | |
</g> | |
<path style="fill:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 552.539062 L 21.332031 0 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 552.539062 L 23.332031 552.539062 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 497.285156 L 23.332031 497.285156 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 442.03125 L 23.332031 442.03125 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 386.777344 L 23.332031 386.777344 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 331.523438 L 23.332031 331.523438 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 276.269531 L 23.332031 276.269531 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 221.015625 L 23.332031 221.015625 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 165.761719 L 23.332031 165.761719 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 110.507812 L 23.332031 110.507812 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 55.253906 L 23.332031 55.253906 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 0 L 23.332031 0 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 552.539062 L 26.332031 552.539062 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 414.40625 L 26.332031 414.40625 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 276.269531 L 26.332031 276.269531 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 138.132812 L 26.332031 138.132812 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 21.332031 0 L 26.332031 0 " transform="matrix(1,0,0,1,10,15.820312)"/> | |
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> | |
<use xlink:href="#glyph0-1" x="16.285156" y="572.070312"/> | |
</g> | |
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> | |
<use xlink:href="#glyph0-2" x="16.613281" y="433.875"/> | |
</g> | |
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> | |
<use xlink:href="#glyph0-3" x="10.359375" y="295.800781"/> | |
<use xlink:href="#glyph0-1" x="16.72168" y="295.800781"/> | |
</g> | |
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> | |
<use xlink:href="#glyph0-3" x="10.578125" y="157.601562"/> | |
<use xlink:href="#glyph0-2" x="16.94043" y="157.601562"/> | |
</g> | |
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> | |
<use xlink:href="#glyph0-4" x="10" y="19.53125"/> | |
<use xlink:href="#glyph0-1" x="16.362305" y="19.53125"/> | |
</g> | |
<path style="fill:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.000976562 0 L 553.293945 0 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.000976562 0 L 0.000976562 -2 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 73.770508 0 L 73.770508 -2 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 147.543945 0 L 147.543945 -2 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 221.317383 0 L 221.317383 -2 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 295.09082 0 L 295.09082 -2 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 368.860352 0 L 368.860352 -2 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 442.633789 0 L 442.633789 -2 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 516.407227 0 L 516.407227 -2 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.000976562 0 L 0.000976562 -5 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 184.430664 0 L 184.430664 -5 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 368.860352 0 L 368.860352 -5 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<path style="fill:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 553.293945 0 L 553.293945 -5 " transform="matrix(1,0,0,1,31.331055,568.359375)"/> | |
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> | |
<use xlink:href="#glyph0-1" x="28.808594" y="587.640625"/> | |
</g> | |
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> | |
<use xlink:href="#glyph0-2" x="213.402344" y="587.640625"/> | |
</g> | |
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> | |
<use xlink:href="#glyph0-3" x="394.707031" y="587.640625"/> | |
<use xlink:href="#glyph0-1" x="401.069336" y="587.640625"/> | |
</g> | |
<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> | |
<use xlink:href="#glyph0-3" x="579.246094" y="587.640625"/> | |
<use xlink:href="#glyph0-2" x="585.608398" y="587.640625"/> | |
</g> | |
</g> | |
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: plots | |
Version: 0.1 | |
License: PublicDomain | |
Author: Douglas Burke <dburke.gw@gmail.com> | |
Synopsis: Tests of the Charts library. | |
Description: Tests of the Charts library. | |
Category: Graphics | |
Cabal-Version: >= 1.10 | |
Build-Type: Simple | |
Executable svgplots | |
Build-Depends: | |
base >= 3 && < 5, | |
colour >= 2.2.1 && < 2.4, | |
lens >= 3.9 && < 3.11, | |
data-default-class < 0.1, | |
bytestring >= 0.9 && < 1.0, | |
Chart >= 1.2 && < 1.3, | |
Chart-cairo >= 1.2 && < 1.3, | |
Chart-diagrams >= 1.2 && < 1.3 | |
Main-is: SVGplots.hs | |
Ghc-Options: -threaded -Wall | |
default-language: Haskell2010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import qualified Data.ByteString.Lazy.Char8 as L8 | |
import Graphics.Rendering.Chart | |
import Data.Default.Class | |
import Control.Lens | |
import Data.Colour | |
import Data.Colour.Names | |
import qualified Graphics.Rendering.Chart.Backend.Diagrams as D | |
import qualified Graphics.Rendering.Chart.Backend.Cairo as C | |
testPlot :: Layout Int Int | |
testPlot = | |
let x = [2, 10, 15] | |
y = [10, 2, 20] | |
ps = zip x y | |
asOpenCircle = plot_points_style .~ hollowCircles 6 1 (opaque black) | |
$ plot_points_values .~ ps | |
$ def | |
-- fCol = opaque green | |
fCol = withOpacity green 0.6 | |
asFilledCircle = plot_points_style .~ filledCircles 6 fCol | |
$ plot_points_values .~ ps | |
$ def | |
asLine = plot_lines_style .~ solidLine 1 (opaque orange) | |
$ plot_lines_values .~ [ps] | |
$ def | |
baseLayout = layout_plots .~ [ toPlot asLine | |
, toPlot asFilledCircle | |
, toPlot asOpenCircle | |
] | |
$ def | |
in baseLayout | |
main :: IO () | |
main = do | |
let r = toRenderable testPlot | |
foC = C.FileOptions (600,600) C.SVG | |
outD = "circles-diagrams.svg" | |
outC = "circles-cairo.svg" | |
(svgD, _) <- D.renderableToSVGString r 600 600 | |
L8.writeFile outD svgD | |
putStrLn $ "Created: " ++ outD | |
_ <- C.renderableToFile foC r outC | |
putStrLn $ "Created: " ++ outC | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://gist.github.com/8923417 for the
circles-diagrams.svg
output when a constraint ofdiagrams-core == 0.7.0.1
is added, as suggested in timbod7/haskell-chart#19 (comment)