File:Euler Method.svg

From Wikimedia Commons, the free media repository

Jump to: navigation, search

Euler_Method.svg(SVG file, nominally 1,600 × 1,280 pixels, file size: 2 KB)

[edit] Summary

Description
English: Euler Method Diagram to replace Image:Euler method.png

This image needs to be fixed to work around the subscripting problem: below-baseline does not work consistenly between rendering programs.
Date

20 July 2008(2008-07-20)

Source

Created by me

Author

R. A. Nonenmacher

Permission
(Reusing this image)
I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Беларуская | Беларуская (тарашкевіца) | Български | বাংলা | ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী | Brezhoneg | Bosanski | Català | Cebuano | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Gaeilge | Galego | עברית | Hrvatski | Magyar | Հայերեն | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî / كوردی | Latina | Lëtzebuergesch | Lietuvių | 文言 | Македонски | Bahasa Melayu | Malti | Nnapulitano | Plattdüütsch | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | Kiswahili | తెలుగు | ไทย | Tagalog | Türkçe | Українська | اردو | Vèneto | Tiếng Việt | Volapük | Yorùbá | 中文 | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/−

Creative Commons license
Creative Commons Attribution iconCreative Commons Share Alike icon
This file is licensed under the Creative Commons Attribution ShareAlike 3.0, Attribution ShareAlike 2.5, Attribution ShareAlike 2.0 and Attribution ShareAlike 1.0 License. In short: you are free to share and make derivative works of the file under the conditions that you appropriately attribute it, and that you distribute it only under a license identical to this one. Official license.

Afrikaans | Беларуская | Български | Català | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | Estremeñu | Suomi | Français | עברית | Hrvatski | Հայերեն | Italiano | 日本語 | 한국어 | Lietuvių | Македонски | Plattdüütsch | Nederlands | ‪Norsk (bokmål)‬ | Occitan | Polski | Piemontèis | Português | Română | Русский | Slovenčina | ไทย | Vèneto | Tiếng Việt | 中文 | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/−

You may select the license of your choice.
Other versions Image:Euler method.png

[edit] SVG code for rev. 1

With this version the subscripts remained on the same baseline as the As.

  <?xml version="1.0" encoding="utf-8"?>
     
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
                       
  <svg version     = "1.1" 
       id          = "Euler_Method_Diagram" 
       xmlns       = "http://www.w3.org/2000/svg" 
       xmlns:xlink = "http://www.w3.org/1999/xlink" 
       width      = "1600" 
       height     = "1280" >
  
  <defs>
     <polygon id="Arrowhead" fill="#000000" points="0, 0 -30,-40 120, 0 -30, 40"/>
  </defs>
  
  <line stroke="#000000" stroke-width="12" x1="20" y1="1180"  x2="1460" y2="1180"/>
  <use xlink:href="#Arrowhead" transform="translate(1460, 1180)"/>
  
  <line stroke="#000000" stroke-width="12" x1="100" y1="1260" x2="100" y2="140"/>
  <use xlink:href="#Arrowhead" transform="translate(100, 140) rotate(-90)"/>
  
  <circle fill="#2727FF" cx="1520" cy="660" r="20"/>
  <path stroke="#2727FF" fill="none" stroke-width="12" d="M260,880c240-360,831.9-529.1,1260-220"/>
  
  <g fill="#C00000">
     <circle cx="260"  cy="880" r="20"/>
     <circle cx="480"  cy="580" r="20"/>
     <circle cx="840"  cy="420" r="20"/>
     <circle cx="1200" cy="360" r="20"/>
     <circle cx="1540" cy="420" r="20"/>
  </g>
  <g stroke="#C00000" stroke-width="12">
     <line x1="260"  y1="880" x2="480"  y2="580"/>
     <line x1="480"  y1="580" x2="840"  y2="420"/>
     <line x1="840"  y1="420" x2="1200" y2="360"/>
     <line x1="1200" y1="360" x2="1540" y2="420"/>
  </g>
  <text x="170"  y="810" font-style="italic"><tspan font-size="108">A<tspan font-size="72" baseline-shift="sub">0</tspan></tspan></text>
  <text x="390"  y="510" font-style="italic"><tspan font-size="108">A<tspan font-size="72" baseline-shift="sub">1</tspan></tspan></text>
  <text x="750"  y="350" font-style="italic"><tspan font-size="108">A<tspan font-size="72" baseline-shift="sub">2</tspan></tspan></text>
  <text x="1110" y="290" font-style="italic"><tspan font-size="108">A<tspan font-size="72" baseline-shift="sub">3</tspan></tspan></text>
  <text x="1450" y="350" font-style="italic"><tspan font-size="108">A<tspan font-size="72" baseline-shift="sub">4</tspan></tspan></text>
  
  </svg>

[edit] SVG code for rev. 3

This version is a workaround for the subscript problem. It's not a good solution because the subscript positions are hardcoded and not controlled by the font, which I've allowed to default to the user font.

  <?xml version="1.0" encoding="utf-8"?>
  
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
                       "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
                       
  <svg version     = "1.1" 
       id          = "Euler_Method_Diagram" 
       xmlns       = "http://www.w3.org/2000/svg" 
       xmlns:xlink = "http://www.w3.org/1999/xlink" 
       width      = "1600" 
       height     = "1280" >
  
  <defs>
     <polygon id="Arrowhead" fill="#000000" points="0, 0 -30,-40 120, 0 -30, 40"/>
  </defs>
  
  <line stroke="#000000" stroke-width="12" x1="20" y1="1180"  x2="1460" y2="1180"/>
  <use xlink:href="#Arrowhead" transform="translate(1460, 1180)"/>
  
  <line stroke="#000000" stroke-width="12" x1="100" y1="1260" x2="100" y2="140"/>
  <use xlink:href="#Arrowhead" transform="translate(100, 140) rotate(-90)"/>
  
  <circle fill="#2727FF" cx="1520" cy="660" r="20"/>
  <path stroke="#2727FF" fill="none" stroke-width="12" d="M260,880c240-360,831.9-529.1,1260-220"/>
  
  <g fill="#C00000">
     <circle cx="260"  cy="880" r="20"/>
     <circle cx="480"  cy="580" r="20"/>
     <circle cx="840"  cy="420" r="20"/>
     <circle cx="1200" cy="360" r="20"/>
     <circle cx="1520" cy="420" r="20"/>
  </g>
  <g stroke="#C00000" stroke-width="12">
     <line x1="260"  y1="880" x2="480"  y2="580"/>
     <line x1="480"  y1="580" x2="840"  y2="420"/>
     <line x1="840"  y1="420" x2="1200" y2="360"/>
     <line x1="1200" y1="360" x2="1520" y2="420"/>
  </g>
  <g font-style="italic">
     <text x="170"  y="810" font-size="108">A</text><text x="235"  y="830" font-size="72">0</text>
     <text x="390"  y="510" font-size="108">A</text><text x="455"  y="530" font-size="72">1</text>
     <text x="750"  y="350" font-size="108">A</text><text x="815"  y="370" font-size="72">2</text>
     <text x="1110" y="290" font-size="108">A</text><text x="1175" y="310" font-size="72">3</text>
     <text x="1430" y="350" font-size="108">A</text><text x="1495" y="370" font-size="72">4</text>
  </g>
  </svg>

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current20:36, 31 July 2008Thumbnail for version as of 20:36, 31 July 20081,600×1,280 (2 KB)Nonenmac (talk | contribs) (Move subscripts 5 pts to the left - much farther and they'll touch the A in my viewer.)
20:30, 31 July 2008Thumbnail for version as of 20:30, 31 July 20081,600×1,280 (2 KB)Nonenmac (talk | contribs) (workaround for subscript problem: hard-coded subscript x/y positions)
19:51, 31 July 2008Thumbnail for version as of 19:51, 31 July 20081,600×1,280 (2 KB)Nonenmac (talk | contribs) (== Summary == {{Information |Description={{en|1=Euler Method Diagram to replace Image:Euler Method.png}} |Source=Created by me |Author=R. A. Nonenmacher |Date=20-Jul-2008 |Permission={{self|GFDL|cc-by-sa-all}} |other_versions= }} {)

The following page links to this file: