File:1 d xinter.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 500 × 400 pixels. Other resolutions: 300 × 240 pixels | 600 × 480 pixels | 960 × 768 pixels | 1,280 × 1,024 pixels | 2,560 × 2,048 pixels.
Original file (SVG file, nominally 500 × 400 pixels, file size: 2 KB)
File information
Structured data
Captions
Summary[edit]
Description1 d xinter.svg | Drawing of X-intercepts. |
Date | |
Source | self-made, from Image:1 d xinter.png / Image:1 d xinter.JPG |
Author | ttbya, original Creator w:User:Hamedog |
Other versions |
|
Licensing[edit]
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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
Original Code (PHP)[edit]
<?php header('Content-type: image/svg+xml'); echo '<?xml version="1.0" encoding="utf-8" standalone="yes"?>';
function l($n, $m, $r=1) {
for ($x = 1-$r; $x < 6; $x += 1) {
echo '<line '.$n.'1="'.($x*100*$r-($r-1)*300).'" '.$n.'2="'.($x*100*$r-($r-1)*300).'" '.$m.'1="0" '.$m.'2="600" stroke-width="1" stroke="#A0A0A0" />'."\n";
}
}
?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full"
width="500" height="400" viewBox="0 0 500 400" xmlns:svg="http://www.w3.org/2000/svg">
<style type="text/css"> text { font-size:14px; font-family:DejaVu Sans; } </style>
<?php
l('x', 'y');
l('y', 'x', -1);
?>
<line x1="0" y1="300" x2="600" y2="300" stroke-width="1" stroke="#000000"/>
<text x="195" y="320">2</text>
<text x="395" y="320">4</text>
<polyline fill="none" stroke-width="1" stroke="#C04422" points="<?php
for ($x = 0.6; $x < 3.7; $x += 0.07) {
echo floor($x*100).",".floor(300-($x-1)*($x-2)*($x-3)*100)." ";
}
?>" />
<rect x="90" y="150" width="15" height="10" stroke="#000000" fill="#C04422" stroke-width="3" />
<text x="110" y="160">Equation 1: y = (x-1)(x-2)(x-3)</text>
</svg>
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 04:21, 30 December 2007 | 500 × 400 (2 KB) | Ttbya (talk | contribs) | {{Information |Description=Drawing of X-intercepts. |Source=self-made, from Image:1 d xinter.png / Image:1 d xinter.JPG |Date=30 Dec 2007 |Author=ttbya, original Creator w:User:Hamedog |Permission=see below. |other_versions= < |
You cannot overwrite this file.
File usage on Commons
The following 2 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on pt.wikibooks.org