Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created August 24, 2016 03:23
Show Gist options
  • Save MasterDuke17/310c83188f3d306549730f950c256fc1 to your computer and use it in GitHub Desktop.
Save MasterDuke17/310c83188f3d306549730f950c256fc1 to your computer and use it in GitHub Desktop.
Benchable graph with SVG::Plot
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1000" height="500"><g transform="translate(160,386.25)"><line x1="40" y1="-318.857847" x2="120" y2="-321.795399" style="stroke:#3333ff; stroke-width: 1.5" />
<line x1="120" y1="-321.795399" x2="200" y2="-310.579293" style="stroke:#3333ff; stroke-width: 1.5" />
<line x1="200" y1="-310.579293" x2="280" y2="-319.658998" style="stroke:#3333ff; stroke-width: 1.5" />
<line x1="280" y1="-319.658998" x2="360" y2="-320.727198" style="stroke:#3333ff; stroke-width: 1.5" />
<line x1="360" y1="-320.727198" x2="440" y2="-323.931800" style="stroke:#3333ff; stroke-width: 1.5" />
<line x1="440" y1="-323.931800" x2="520" y2="-323.397699" style="stroke:#3333ff; stroke-width: 1.5" />
<line x1="520" y1="-323.397699" x2="600" y2="-325" style="stroke:#3333ff; stroke-width: 1.5" />
<line x1="600" y1="-325" x2="680" y2="-322.329499" style="stroke:#3333ff; stroke-width: 1.5" />
<line x1="680" y1="-322.329499" x2="760" y2="-320.994248" style="stroke:#3333ff; stroke-width: 1.5" />
<text transform="rotate(-90)" y="32" x="-8.75" font-size="11" dominant-baseline="middle" text-anchor="end">2015.10 (0.13,0.16,0.02)</text>
<text transform="rotate(-90)" y="112" x="-8.75" font-size="11" dominant-baseline="middle" text-anchor="end">2015.11 (0.12,0.13,0.00)</text>
<text transform="rotate(-90)" y="192" x="-8.75" font-size="11" dominant-baseline="middle" text-anchor="end">2015.12 (0.12,0.12,0.00)</text>
<text transform="rotate(-90)" y="272" x="-8.75" font-size="11" dominant-baseline="middle" text-anchor="end">2016.02 (0.13,0.14,0.01)</text>
<text transform="rotate(-90)" y="352" x="-8.75" font-size="11" dominant-baseline="middle" text-anchor="end">2016.03 (0.12,0.12,0.00)</text>
<text transform="rotate(-90)" y="432" x="-8.75" font-size="11" dominant-baseline="middle" text-anchor="end">2016.04 (0.12,0.13,0.00)</text>
<text transform="rotate(-90)" y="512" x="-8.75" font-size="11" dominant-baseline="middle" text-anchor="end">2016.05 (0.12,0.13,0.00)</text>
<text transform="rotate(-90)" y="592" x="-8.75" font-size="11" dominant-baseline="middle" text-anchor="end">2016.06 (0.12,0.13,0.00)</text>
<text transform="rotate(-90)" y="672" x="-8.75" font-size="11" dominant-baseline="middle" text-anchor="end">2016.07 (0.12,0.12,0.00)</text>
<text transform="rotate(-90)" y="752" x="-8.75" font-size="11" dominant-baseline="middle" text-anchor="end">HEAD (0.12,0.12,0.00)</text>
<line x1="-4.375" x2="4.375" y1="0" y2="0" style="stroke:black; stroke-width: 1" />
<text x="-13.125" y="0" font-size="11" text-anchor="end" dominant-baseline="middle">0</text>
<line x1="-4.375" x2="4.375" y1="-133.525062" y2="-133.525062" style="stroke:black; stroke-width: 1" />
<text x="-13.125" y="-133.525062" font-size="11" text-anchor="end" dominant-baseline="middle">0.05</text>
<line x1="-4.375" x2="4.375" y1="-267.050123" y2="-267.050123" style="stroke:black; stroke-width: 1" />
<text x="-13.125" y="-267.050123" font-size="11" text-anchor="end" dominant-baseline="middle">0.1</text>
<line x1="0" y1="0" x2="800" y2="0" style="stroke:black; stroke-width: 2" />
<line x1="0" y1="0" x2="0" y2="-325" style="stroke:black; stroke-width: 2" />
<text x="500" y="-342.5" text-anchor="middle">releases .chomp for ^1000</text>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment