File talk:Sunspot butterfly diagram black.svg
Jump to navigation
Jump to search
Source
[edit]Mark and copy the following text. Paste it into a plain text file. The text file should have an svg extension, for example mychart.svg.
You can check the result with Toolforge tool SVGCheck (upload file temporarily), in W3Schools Tryit Editor (insert source code) or in Commons with File:Test.svg (upload as new file revision).
<?xml version="1.0" encoding="UTF-8" ?> <!-- Generator: wikimedia.svg.chart, 2013-08-28 --> <!-- modify viewBox (x,y,dx,dy) for position (x,y) and size (dx,dy) --> <svg id="head" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="-8.55,-35.6,180.15,43.7" width="1612.5" height="390" font-family="Helvetica, Arial, Liberation Sans" > <!-- also a workaround for librsvg: a <rect> must be placed somewhere before text for a good display of text --> <rect id="imagebackground" x="-8.55" y="-35.6" width="180.15" height="43.7" stroke-width="0.05" stroke="none" fill="white"/> <title>plain text svg graphic</title> <desc> This svg graphic is to edit with an text editor. Please do not overwrite this file by saving with an image editor. ---------------- 1874-1976: Greenwich solar observations, prepared data on: http://www.ngdc.noaa.gov/nndc/struts/results?op_0=eq&v_0=Greenwich&t=102827&d=8&d=470 1977 and later: NOAA, data from ftp://fenyi.solarobs.unideb.hu/pub/DPD/data/ </desc> <style id="styles" type="text/css"> <![CDATA[ .graphgeneral { /*-- general look of graphs and markers, e.g. in legend --*/ stroke-width: 0.315; fill: none; stroke-linejoin: round; stroke-linecap: round; } .graphgeneralstretch { /*-- general look of graphs and markers on a stretched chart --*/ stroke-width: 0.185; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.graph1lineblank { /*-- look of graph 1 --*/ stroke: none; } .graph1line { stroke: none;
marker-start:url(#graph1markerstretch); marker-mid:url(#graph1markerstretch); marker-end:url(#graph1markerstretch); }
.graph1marker { /*-- look of marker 1 --*/ stroke: black; fill: black; }
.graph2lineblank { /*-- look of graph 2 --*/ stroke: none; } .graph2line { stroke: none;
marker-start:url(#graph2markerstretch); marker-mid:url(#graph2markerstretch); marker-end:url(#graph2markerstretch); }
.graph2marker { /*-- look of marker 2 --*/ stroke: rgb(100%,0%,0%); fill: rgb(100%,0%,0%); }
.graph3lineblank { /*-- look of graph 3 --*/ stroke: none; } .graph3line { stroke: none;
marker-start:url(#graph3markerstretch); marker-mid:url(#graph3markerstretch); marker-end:url(#graph3markerstretch); }
.graph3marker { /*-- look of marker 3 --*/ stroke: yellow; fill: yellow; }
.graph4lineblank { /*-- look of graph 4 --*/ stroke: black; } .graph4line { stroke: black;
marker-start:url(#graph4markerstretch); marker-mid:url(#graph4markerstretch); marker-end:url(#graph4markerstretch); }
.graph4marker { /*-- look of marker 4 --*/ stroke: black; fill: black; }
.graph5lineblank { /*-- look of graph 5 --*/ stroke: black; } .graph5line { stroke: black;
marker-start:url(#graph5markerstretch); marker-mid:url(#graph5markerstretch); marker-end:url(#graph5markerstretch); }
.graph5marker { /*-- look of marker 5 --*/ stroke: black; fill: rgb(100%,0%,0%); }
.graph6lineblank { /*-- look of graph 6 --*/ stroke: black; } .graph6line { stroke: black;
marker-start:url(#graph6markerstretch); marker-mid:url(#graph6markerstretch); marker-end:url(#graph6markerstretch); }
.graph6marker { /*-- look of marker 6 --*/ stroke: black; fill: yellow; }
.graph7lineblank { /*-- look of graph 7 --*/ stroke: rgb(00%, 00%, 30%); } .graph7line { stroke: rgb(00%, 00%, 30%); }
.graph8lineblank { /*-- look of graph 8 --*/ stroke: rgb(00%, 30%, 00%); } .graph8line { stroke: rgb(00%, 30%, 00%); } .axisline { stroke: black; stroke-width: 0.158; stroke-linecap: round; } .titletext { font-size: 2.97px; } .axistext-x { font-size: 2.7px; } .axistext-x-number { font-size: 2.7px; } .axistext-y { font-size: 2.7px; } .axismark-main { stroke: black; stroke-width: 0.11; } .axismark-second { stroke: black; stroke-width: 0.11; } .legendtext { font-size: 2.7px; text-anchor: start; }
.graphmarker { stroke-width: 0.158; fill: white; stroke-linejoin: round; } ]]></style> <defs> <!--== axis dashes definitions ==--> <!-- x-axis mark, modify "height" --> <pattern id="x-axismark-main" x="0" width="10" height="0.8" patternUnits="userSpaceOnUse"> <line x1="0" y1="-1" x2="0" y2="0.8" class="axismark-main"/> </pattern> <!-- y-axis mark, modify "width" --> <pattern id="y-axismark-main" width="0.8" height="10" patternUnits="userSpaceOnUse"> <line x1="-1" y1="0" x2="0.8" y2="0" class="axismark-main"/> </pattern> <!-- y-axis2 mark, modify "width" --> <pattern id="y-axis2mark-main" width="0.4" height="10" patternUnits="userSpaceOnUse"> <line x1="-1" y1="0" x2="11" y2="0" class="axismark-main"/> </pattern>
<!--== graph marker ==--> <g class="graphmarker">
<g id="graph1markershape" transform="translate(0.95,0.95)"><path d="M 0, 0.57 L 0, -0.57 z" stroke-width="7%"/></g> <!-- vertical line 7 % --> <marker id="graph1marker" class="graph1marker" refX="0.95" refY="0.95" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use xlink:href="#graph1markershape"/> </marker> <marker id="graph1markerstretch" class="graph1marker" refX="0.95" refY="0.556" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use transform="scale(1, 0.588)" xlink:href="#graph1markershape"/> </marker>
<g id="graph2markershape" transform="translate(0.95,0.95)"><path d="M 0, 0.57 L 0, -0.57 z" stroke-width="7%"/></g> <!-- vertical line 7 % --> <marker id="graph2marker" class="graph2marker" refX="0.95" refY="0.95" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use xlink:href="#graph2markershape"/> </marker> <marker id="graph2markerstretch" class="graph2marker" refX="0.95" refY="0.556" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use transform="scale(1, 0.588)" xlink:href="#graph2markershape"/> </marker>
<g id="graph3markershape" transform="translate(0.95,0.95)"><path d="M 0, 0.57 L 0, -0.57 z" stroke-width="7%"/></g> <!-- vertical line 7 % --> <marker id="graph3marker" class="graph3marker" refX="0.95" refY="0.95" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use xlink:href="#graph3markershape"/> </marker> <marker id="graph3markerstretch" class="graph3marker" refX="0.95" refY="0.556" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use transform="scale(1, 0.588)" xlink:href="#graph3markershape"/> </marker>
<g id="graph4markershape" transform="translate(0.95,0.95)"><rect x="-0.473" y="-0.473" width="0.945" height="0.945" fill="black"/></g> <!-- regular square --> <marker id="graph4marker" class="graph4marker" refX="0.95" refY="0.95" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use xlink:href="#graph4markershape"/> </marker> <marker id="graph4markerstretch" class="graph4marker" refX="0.95" refY="0.556" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use transform="scale(1, 0.588)" xlink:href="#graph4markershape"/> </marker>
<g id="graph5markershape" transform="translate(0.95,0.95)"><rect x="-0.473" y="-0.473" width="0.945" height="0.945" fill="rgb(100%,0%,0%)"/></g> <!-- regular square --> <marker id="graph5marker" class="graph5marker" refX="0.95" refY="0.95" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use xlink:href="#graph5markershape"/> </marker> <marker id="graph5markerstretch" class="graph5marker" refX="0.95" refY="0.556" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use transform="scale(1, 0.588)" xlink:href="#graph5markershape"/> </marker>
<g id="graph6markershape" transform="translate(0.95,0.95)"><rect x="-0.473" y="-0.473" width="0.945" height="0.945" fill="yellow"/></g> <!-- regular square --> <marker id="graph6marker" class="graph6marker" refX="0.95" refY="0.95" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use xlink:href="#graph6markershape"/> </marker> <marker id="graph6markerstretch" class="graph6marker" refX="0.95" refY="0.556" viewBox="0 0 1.89 1.89" markerUnits="userSpaceOnUse" markerWidth="1.89" markerHeight="1.89"> <use transform="scale(1, 0.588)" xlink:href="#graph6markershape"/> </marker> </g> </defs> <g transform="scale(1, -1)"> <!-- x axis, modify "x2" and "width" --> <rect id="x-axismark" x="-0.2" y="-0.7" width="153" height="0.7" fill="url(#x-axismark-main)"/> <line id="x-axis" x1="0" y1="0" x2="150" y2="0" class="axisline"/> <!-- y axis, modify "height" --> <rect id="y-axismark" x="-0.7" y="-0.2" width="0.7" height="35" fill="url(#y-axismark-main)"/> <line id="y-axis" x1="0" y1="0" x2="0" y2="34" class="axisline"/> </g> <!-- x axis text, modify each value --> <g id="axistext-x" class="axistext-x-number" transform="translate(0, 3.5)" text-anchor="middle"> <text id="title-x" class="axistext-x" x="75" y="3.5" > <tspan dy="-0.53px"/>Date            </text> </g> <!-- y axis text, modify each value --> <g id="axistext-y" class="axistext-y" text-anchor="end" transform="translate(-1.4, 0.7)">
<text y= "-0"> <tspan dy="-0.53px"/>90S</text> <text y= "-8.5"> <tspan dy="-0.53px"/>30S</text> <text y= "-17"> <tspan dy="-0.53px"/>EQ</text> <text y="-25.5"> <tspan dy="-0.53px"/>30N</text> <text y= "-34"> <tspan dy="-0.53px"/>90N</text> <text id="title-y" x="17" y="-5.4" transform="rotate(-90)" text-anchor="middle" > <tspan dy="-0.53px"/>Latitude</text> </g>
<!-- legend --> <g id="legend" class="legendtext" transform="translate(157.5, -30.6)">
<g id="legend-background" class="axismark-main"> <rect x="0" y="0" fill="white" width="60" height="7.3"/> </g>
<g class="graphgeneral"><g class="graph1line"> <polyline id="legend-line1" points="3 2.08 10.5 2.08" marker-start="none" marker-end="none"/>
<path id="legend-marker1" transform="scale(1 -1)" stroke-width="0.00001" d="M 6.75 -2.08 h 0" marker-start="url(#graph1marker)" marker-end="none"/> </g></g> <text id="legend-text1" x="13.5" y="2.88"> <tspan dy="-0.53px"/>1st W </text>
<g class="graphgeneral"><g class="graph2line"> <polyline id="legend-line2" points="3 5.05 10.5 5.05" marker-start="none" marker-end="none"/>
<path id="legend-marker2" transform="scale(1 -1)" stroke-width="0.00001" d="M 6.75 -5.05 h 0" marker-start="url(#graph2marker)" marker-end="none"/> </g></g> <text id="legend-text2" x="13.5" y="5.85"> <tspan dy="-0.53px"/>2nd W </text> </g> <!--====== graph data with origin values, you can manually copy or attach the values here ======--> <!-- modify displacement "translate" --> <defs> <g id="graphs">
<!-- graph 2 -->
<polyline id="graph2" points=" 25 40 40 10 55 35 70 10 85 40 "/> </g> <g id="graph1"> <!-- graph 1 --> <polyline id="graph1-line" stroke="none" stroke-width="0.185" points=" 15 40 30 10 45 35 60 10 75 40 "/> </g> </defs> <g class="graphgeneralstretch" transform="scale(1, -1.7) translate(-1870, 10)">
<!-- graph 2 --> <use id="graphuse2p2" transform="translate(0.064, 0)" class="graph2lineblank" xlink:href="#graph2"/> <use id="graphuse2m2" transform="translate(-0.064, 0)" class="graph2lineblank" xlink:href="#graph2"/> <use id="graphuse2-1" transform="translate(0, 0)" class="graph2line" xlink:href="#graph2"/>
<!-- graph 1 --> <use id="graphuse1p2" transform="translate(0.064, 0)" class="graph1lineblank" xlink:href="#graph1"/> <use id="graphuse1m2" transform="translate(-0.064, 0)" class="graph1lineblank" xlink:href="#graph1"/> <use id="graphuse1-1" transform="translate(0, 0)" class="graph1line" xlink:href="#graph1"/> </g> </svg>