Jump to content

File:Cartesian coordinates 3D.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 800 × 710 pixels, file size: 84 KB)

Summary

Example for en:Cartesian coordinate system. Created by Gustavb using en:PSTricks.

Licensing

I, the copyright holder of this work, 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.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
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.

Source

Cartesian_coordinates_3D.tex (PSTricks source)

\input pst-eps\input pst-plot\input pst-node\TeXtoEPS
\psset{linecolor=black,linewidth=1pt,arrowsize=8pt,unit=0.29cm}

\pspicture*(-17,-15.3)(17,15.3)
% Axes₩
\psaxes[Dx=5,Dy=5,showorigin=false]{<->}(0,0)(0,-14.5)(14.5,14.5)
\psaxes[Dx=5,Dy=5,showorigin=false,labels=none]{<-}(0,0)(-14.5,0)(0,0)
\psline{<->}(11,6)(-11,-6)
\multips(0,0)(3.7931,2.0689){3}{\psdots[dotstyle=|,dotscale=1.5](0,0)}
\multips(0,0)(-3.7931,-2.0689){3}{\psdots[dotstyle=|,dotscale=1.5](0,0)}
\psset{linewidth=.4pt}
\multips(0,0)(.75862,.41379){14}{\psdots[dotstyle=|,dotscale=1](0,0)}
\multips(0,0)(-.75862,-.41379){14}{\psdots[dotstyle=|,dotscale=1](0,0)}
\psaxes[Dx=1,Dy=1,ticksize=1.5pt,labels=none](0,0)(-13,-13)(13,13)
\uput{10pt}[0](0,14){\psscalebox{1.25}{\it z-axis}}
\uput{10pt}[75](14,0){\psscalebox{1.25}{\it x-axis}}
\uput{5pt}[330](11,6){\psscalebox{1.25}{\it y-axis}}
\uput{8pt}[255](-10,0){$-10$}\uput{8pt}[255](-5,0){$-5$}
\uput{8pt}[270](3.7931,2.0689){$5$}\uput{8pt}[270](-3.7931,-2.0689){$-5$}
\uput{8pt}[270](7.5862,4.1379){$10$}\uput{8pt}[270](-7.5862,-4.1379){$-10$}

% Origin
\pnode(0,0){O}
\uput{35pt}[310](0,0){\rnode{Ot}{\psscalebox{1.1}{
        \vbox{\halign{\hfil#\hfil\cr$(0,0,0)$\cr\it origin\cr}}}}}
\nccurve[angleA=315,angleB=155,arrowsize=4pt,
        nodesepA=2pt,nodesepB=-1pt,linecolor=gray]{<-}{O}{Ot}

% Points
\psdots[dotstyle=*,dotscale=1.2](3,5)(-8.7931,5.0689)

\psset{linestyle=dotted,linewidth=.8pt}
\psline(3,0)(3,5)(0,5)

\psline(-3.7931,-2.0689)(-8.7931,-2.0689)(-5,0)(-5,7)
        (0,7)(-3.7931,5.0689)(-3.7931,-2.0689)

\psline(-8.7931,-2.0689)(-8.7931,5.0689)(-3.7931,5.0689)
\psline(-8.7931,-2.0689)(-8.7931,5.0689)(-3.7931,5.0689)
\psline(-8.7931,5.0689)(-5,7)

\uput{2.5pt}[53](3,5){\psscalebox{1.1}{$P(3,0,5)$}}
\uput{5pt}[140](-8.7931,5.0689){\psscalebox{1.1}{$Q(-5,-5,7)$}}

\endpspicture
\endTeXtoEPS
\nopagenumbers
\end

Instructions

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

Image history from en:

  • 16:54, March 6, 2006 . . Gustavb (Talk | contribs | block) . . 400x355 (86,682 bytes) (crop)
  • 16:35, March 6, 2006 . . Gustavb (Talk | contribs | block) . . 400x371 (86,683 bytes) (better svg conversion)
  • 12:27, February 11, 2006 . . Gustavb (Talk | contribs | block) . . 461x371 (237,375 bytes) (== Summary == Example for Cartesian coordinate system. Created by Gustavb using PSTricks. == Licensing == <nowiki>{{GFDL-self}}</nowiki> == Source == === Cartesian_coordinates_3D.tex (PSTricks source) === <pre> \input pst-eps\input pst-plot\input)

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

image/svg+xml

9dd4f8c10b87b2695f6c1d39db685f6a4c858711

86,060 byte

710 pixel

800 pixel

File history

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

Date/TimeThumbnailDimensionsUserComment
current16:43, 16 March 2007Thumbnail for version as of 16:43, 16 March 2007800 × 710 (84 KB)GustavbFixed arrows
21:53, 6 March 2006Thumbnail for version as of 21:53, 6 March 2006400 × 355 (85 KB)Gustavbcrop
21:37, 6 March 2006Thumbnail for version as of 21:37, 6 March 2006400 × 371 (85 KB)Gustavb== Summary == Example for en:Cartesian coordinate system. Created by Gustavb using en:PSTricks. == Licensing == {{GFDL-self}} == Source == === Cartesian_coordinates_3D.tex (PSTricks source) === <pre> \input pst-eps\input ps

The following page uses this file:

Global file usage

The following other wikis use this file: