Image:Midpoint.svg

From Wikipedia, the free encyclopedia

Midpoint.svg (SVG file, nominally 423 × 173 pixels, file size: 27 KB)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

Contents

[edit] Summary

Illustration for en:Midpoint. Created by Gustavb using en:PSTricks.

[edit] Licensing

I, the copyright holder of this work, have published or hereby publish 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".

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 | Nnapulitano | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | Yorùbá | ‪中文(中国大陆)‬ | ‪中文(台灣)‬ | +/-

[edit] Source

[edit] Midpoint.tex (PSTricks source)

\input pst-eps
\input pst-plot
\input pst-node

\TeXtoEPS

\psset{linecolor=black,linewidth=1.2pt}
\psset{unit=.4cm}
\pspicture*(-6,-1)(10,5)

\psdots[dotstyle=*,dotscale=1.2](0,0)(3,2)(6,4)
\psdots[dotangle=33.69,dotstyle=|](1.5,1)(4.5,3)

\uput{.4}[180](0,0){$(x_1,y_1)$}
\uput{.4}[20](6,4){$(x_2,y_2)$}
\uput{0pt}[310](3,2){\rnode{Ot}{\hglue-9.5cm\vbox{\vglue-.8cm
        $$\bigg({{x_1+x_2} \over 2},{{y_1+y_2} \over 2}\bigg)$$}}}

\psline(0,0)(6,4)

\endpspicture

\endTeXtoEPS
\nopagenumbers
\end

[edit] Instructions

  1. Create EPS
    $ tex Midpoint.tex && dvips -E Midpoint.dvi
    
  2. Outline fonts
    $ eps2eps -dNOCACHE Midpoint.ps Midpoint2.eps
    
  3. Fix bounding box
    $ ps2epsi Midpoint2.eps Midpoint.eps
    
  4. Convert to Sketch
    $ pstoedit -f sk Midpoint.eps Midpoint.sk
    
  5. Convert to SVG
    $ skconvert Midpoint.sk Midpoint.svg
    
  6. Fix Midpoint.svg with Inkscape

File history

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

Date/TimeDimensionsUserComment
current02:08, 7 March 2006423×173 (27 KB)Gustavb (size)
02:01, 7 March 2006282×115 (27 KB)Gustavb (== Summary == Illustration for en:Midpoint. Created by Gustavb using en:PSTricks. == Licensing == {{GFDL-self}} == Source == === Midpoint.tex (PSTricks source) === <pre> \input pst-eps \input pst-plot \input pst-node \TeX)
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):