Jump to content

File:Contravariant Coordinates.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 507 × 304 pixels, file size: 47 KB)

Summary

Description
English: Illustration of oblique, rectilinear, contravariant coordinates.
Date Original program and PNG version uploaded 22:01, 6 February 2005
Source SVG rendering of the program used to generate the bitmap image Image:Contravariant_Coordinates.png
Author
  • Original MetaPost program by en:User:Lupin
  • Copied to Wikimedia Commons by User:Maksim
  • Program tweaked to solve clipping problem and rendered as SVG by Qef
Other versions Bitmap rendering of almost identical program: Image:Contravariant_Coordinates.png
SVG development
InfoField
 
The SVG code is valid.
 
This vector image was created with MetaPost.
Source code
InfoField

PostScript code

prologues := 3;
input boxes

beginfig(1);
h=5cm;
w=8cm;
theta=60;
xlength=1.7;
ylength=1.3;
pair temp[];
pair w[];
picture lab[];

z0=(0,0);
z1=dir 0 scaled h/2;
z2=dir theta scaled h/2;

w1= xlength*z1;
w2= ylength*z2;
w3= w1+w2;

draw= -0.3xlength*z1--1.8*xlength*z1;
temp1=(0,ylength*y2);
draw -0.3xlength*z1+temp1--1.8*xlength*z1+temp1;

draw= -0.3ylength*z2--1.6*ylength*z2;
temp2=(xlength*x1,0);
draw -0.3ylength*z2+temp2--1.6*ylength*z2+temp2;

drawarrow z0--z1 withpen pencircle scaled 2bp;
drawarrow z0--z2 withpen pencircle scaled 2bp;
drawarrow z0--w3 withpen pencircle scaled 2bp withcolor red;

draw z0 withpen pencircle scaled 4bp;
draw w1 withpen pencircle scaled 4bp;
draw w2 withpen pencircle scaled 4bp;
draw w3 withpen pencircle scaled 4bp;

label.llft(btex $(0,0)\,\,$ etex, z0); 
label.lrt (btex $(x^1,0)$ etex, w1);
label.ulft(btex $(0,x^2)$ etex, w2);
label.urt (btex $\,\,(x^1,x^2)$ etex, w3);
label.lrt (btex head etex, w3);
label.lrt (btex $\!\!$tail etex, z0);
label.ulft(btex $P$ etex, w3);
label.bot (btex $(1,0)$ etex, z1);
label.lft (btex $(0,1)$ etex, z2);

label.urt (btex $x^1$ axis etex, 1.4 w1);
label.rt  (btex $x^2$ axis etex, 1.4 w2);

xx=h/2*xlength; yy=h/2*ylength;

endfig;
end

Data

mpost fig.mp
ps2pdf -dEPSCrop fig.1 fig.pdf
pstoedit -page 1 -dt -xscale 2 -yscale 2 -f sk fig.pdf fig.sk
inkscape -z --vacuum-defs -f fig.sk -l fig.svg

Licensing

Lupin at the English Wikipedia, the copyright holder of this work, hereby publishes it under the following license:
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.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
Attribution: Lupin at the English Wikipedia
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

image/svg+xml

4d0bcdb691f9d8eecc7e6e50a89b069d2c4b40dd

47,832 byte

304 pixel

507 pixel

File history

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

Date/TimeThumbnailDimensionsUserComment
current20:37, 9 July 2008Thumbnail for version as of 20:37, 9 July 2008507 × 304 (47 KB)Qef{{Information |Description={{en|1=Illustration of oblique, rectilinear, contravariant coordinates.}} |Source=SVG rendering of the program used to generate the bitmap image Image:Contravariant_Coordinates.png |Author=* Original MetaPost program by [[U

The following page uses this file: