Graphics, Figures & Tablespst-3dplot | Missing a Part of the Coordinate Axes

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

pst-3dplot | Missing a Part of the Coordinate Axes

Post by svend_tveskaeg »

Hi all.

Consider the following MWE:

Code: Select all

\documentclass{article}

\usepackage{auto-pst-pdf,pst-3dplot}

\begin{document}

\begin{figure}
 \centering
  \begin{pspicture}(7,5)
  \psset{arrows=<->}
   \pstThreeDCoor[xMin=3,xMax=6,yMin=0,yMax=4,zMin=1,zMax=3]
   \pstThreeDLine(3,4,1)(6,3,2)
   \pstThreeDLine(6,3,2)(3,0,3)
   \pstThreeDLine(3,0,3)(3,4,1)
  \end{pspicture}
\end{figure}

\end{document}
A part of the coordinate axes is missing. How do I fix this?

Thank you in advance!
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

pst-3dplot | Missing a Part of the Coordinate Axes

Post by localghost »

This does not surprise since you exactly specify minimum and maximum values for the \pstThreeDCoor command. These are not to be understood as a domain, but as interval where the axes are drawn. Just drop at least the minimum values and you will obtain complete 3D axes. If you want to have ticks like in 2D plots, take a look at the relevant parts of the pst-3dplot manual.


Thorsten
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Re: pst-3dplot | Missing a Part of the Coordinate Axes

Post by svend_tveskaeg »

D'oh! Of course.

Thank you.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
Post Reply