From Wikipedia, the free encyclopedia
[edit] Summary
Steps in Gram–Schmidt process.
[edit] Licensing
[edit] Source
Created by Gustavb using PSTricks.
[edit] Gram–Schmidt process.tex (PSTricks source)
\TeXtoEPS
\psset{linecolor=black,linewidth=1pt,arrowsize=8pt}
\psset{unit=2cm,linewidth=.8pt}
\pspicture*(-1.1,-.2)(3.6,2.2)
\psline{->}(0,0)(3,1) % u1
\psline{->}(0,0)(2,2) % v2
\psline{->}(0,0)(2.4,.8) % proj u1 v2
\psline{->}(0,0)(-.4,1.2) % u2
\psline{->}(0,0)(.9486832980,.3162277660) % e1
\psline{->}(0,0)(-.3162277660,.9486832980) % e2
\psset{linestyle=dashed,dashadjust=false,linewidth=.5pt}
\psline[dash=.12 .1](2,2)(2.4,.8)
\psline[dash=.12 .1](2,2)(-.4,1.2)
\uput{6pt}[315](3,1){\psscalebox{1.6}{${\bf u}_1$}}
\uput{4pt}[25](3,1){\psscalebox{1.6}{${\bf v}_1$}}
\uput{6pt}[335](2,2){\psscalebox{1.6}{${\bf v}_2$}}
\uput{12pt}[265](2.4,.8){\psscalebox{1.2}{${\rm proj}_{{\bf u}_1}{\bf v}_2$}}
\uput{6pt}[200](-.4,1.2){\psscalebox{1.6}{${\bf u}_2$}}
\uput{10pt}[270](.9486832980,.3162277660){\psscalebox{1.6}{${\bf e}_1$}}
\uput{6pt}[220](-.3162277660,.9486832980){\psscalebox{1.6}{${\bf e}_2$}}
\endpspicture
\endTeXtoEPS
\nopagenumbers
\end
[edit] Instructions
- Create EPS
$ tex Gram-Schmidt_process.tex && dvips -E Gram-Schmidt_process.dvi
- Outline fonts
$ eps2eps -dNOCACHE Gram-Schmidt_process.ps Gram-Schmidt_process2.eps
- Fix bounding box
$ ps2epsi Gram-Schmidt_process2.eps Gram-Schmidt_process.eps
- Convert to Sketch
$ pstoedit -f sk Gram-Schmidt_process.eps Gram-Schmidt_process.sk
- Convert to SVG
$ skconvert Gram-Schmidt_process.sk Gram-Schmidt_process.svg
- Fix Gram-Schmidt_process.svg with Inkscape
File links
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):