File:Cartesian coordinates 2D.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 800 × 742 pixels, file size: 57 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    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.

    Other versions

    Source

    Cartesian_coordinates_2D.tex (PSTricks source)

    \input pst-eps\input pst-plot97\input pst-node\TeXtoEPS
    
    \psset{linecolor=black,linewidth=1pt,arrowsize=8pt,unit=0.29cm}
    \pspicture*(-15.3,-15.3)(17.4,15.3)
    
    % Axes
    \psaxes[Dx=5,Dy=5]{<->}(0,0)(-14.5,-14.5)(14.5,14.5)
    \psset{linewidth=.4pt}
    \psaxes[Dx=1,Dy=1,labels=none,ticksize=1.5pt](0,0)(-13,-13)(13,13)
    \uput{10pt}[0](0,14){\psscalebox{1.25}{\it y-axis}}
    \uput{10pt}[70](14,0){\psscalebox{1.25}{\it x-axis}}
    
    % Origin
    \pnode(0,0){O}
    \uput{35pt}[310](0,0){\rnode{Ot}{\psscalebox{1.1}{
            \vbox{\halign{\hfil#\hfil\cr$(0,0)$\cr\it origin\cr}}}}}
    \nccurve[angleA=315,angleB=145,arrowsize=4pt,
            nodesepA=2pt,nodesepB=-3pt,linecolor=gray]{<-}{O}{Ot}
    
    % Point
    \psdots[dotstyle=*,dotscale=1.2](3,5)
    \psline[linestyle=dotted,linewidth=.8pt](3,0)(3,5)(0,5)
    \uput{2.5pt}[53](3,5){\psscalebox{1.1}{$P(3,5)$}}
    
    
    % Quadrants
    \uput{3cm}[45](0,0){\psscalebox{1.6}{\bf I}}
    \uput{3cm}[135](0,0){\psscalebox{1.6}{\bf II}}
    \uput{3cm}[225](0,0){\psscalebox{1.6}{\bf III}}
    \uput{3cm}[315](0,0){\psscalebox{1.6}{\bf IV}}
    
    \endpspicture
    \endTeXtoEPS
    \nopagenumbers
    \end
    

    Instructions

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

    Alternate Instructions

    1. latex Cartesian_coordinates_2D.tex
    2. dvips -E Cartesian_coordinates_2D.dvi
    3. eps2eps -dNOCACHE Cartesian_coordinates_2D.ps Cartesian_coordinates_2D.eps
    4. ps2epsi Cartesian_coordinates_2D.eps Cartesian_coordinates_2D.ps
    5. ps2pdf Cartesian_coordinates_2D.ps
    6. pdf2svg Cartesian_coordinates_2D.pdf Cartesian_coordinates_2D.svg

    pdf2svg can be found here.

    derivative works

    Derivative works of this file:

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    image/svg+xml

    583533740720e4c380a9202751ca0d40c25bb586

    58,038 byte

    742 pixel

    800 pixel

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current21:36, 16 March 2007Thumbnail for version as of 21:36, 16 March 2007800 × 742 (57 KB)wikimediacommons>GustavbArrow head fix

    There are no pages that use this file.