[pstricks] IIIDticks

Dejan Djokic djokic at phy.bg.ac.yu
Tue Jul 15 10:46:10 CEST 2008


Hi everybody,

I need help with drawing axis ticks and labels in pst-3dplot. Namely, there 
is a problem when including the option IIIDticks into \pstThreeDCoor under 
the \psset condition unit=0.012cm. I would like to control the number of 
label appearances along the axes, but have no idea how. PLEASE, look at the 
example below:

\documentclass[a4paper]{article}
\usepackage{pst-3dplot,pst-grad}
\usepackage{pst-infixplot}
\begin{document}

\begin{pspicture}(-6,-4)(6,5)
\pagestyle{empty} \infixtoRPN{(1-2.4*(2.+
(y^(-1))*2.4*(-1+2.718^(x/y)))^(-1)+2.4*(2.+
(y^(-1))*2.4*(-1+2.718^(x/y)))^(-2))*x} \psset{unit=0.012cm}
\pstThreeDCoor
[linecolor=orange,xMin=0,xMax=760,yMin=0,yMax=760,zMin=0,zMax=580,linewidth=0
.9pt,nameX=\Large$\Omega_{0}(cm^{-1})$,
nameZ=\Large$\Omega_{R}(cm^{-1})$,nameY=\Large$T(K)$
,arrowscale=2.1,IIIDticks]
\pstThreeDPlaneGrid[planeGrid=xy,subticks=22,linecolor=lightgray](70,10)
(658,694)
\pstThreeDLine[linestyle=dashed,linecolor=black](658,10,0)(70,10,0)
\pstThreeDLine[linestyle=dashed,linecolor=black](70,694,0)(70,10,0)
\pstThreeDLine[linestyle=dashed,linecolor=red](70,10,0)(70,10,60)
\pstThreeDLine[linestyle=dashed,linecolor=red](658,694,267)(658,694,0)
\pstThreeDLine[linestyle=dashed,linecolor=black](658,694,0)(658,10,0)
\pstThreeDLine[linestyle=dashed,linecolor=red](658,10,655)(658,10,0)
\pstThreeDLine[linestyle=dashed,linecolor=black](658,694,0)(70,694,0)
\pstThreeDLine[linestyle=dashed,linecolor=red](70,694,30)(70,694,0)
\pstThreeDPut(730,-190,200){\Large\textbf{\textsf{Phonon
Softening}}}
\psplotThreeD[plotstyle=curve,xPlotpoints=20,drawStyle=yLines,
linewidth=1.8pt,linecolor=blue](70,690)(10,690){\RPN}
\psset{linecolor=olive,linewidth=2.5pt,beginAngle=185,endAngle=265}
\psset{arrowscale=1.5,arrows=>}
\pstThreeDEllipse(658,210,380)(0,0,198)(0,172,0)

\end{pspicture}
\end{document}

Thanks a lot in advance,

Dejan

Institute of Physics, Belgrade
http://www.phy.bg.ac.yu/




More information about the PSTricks mailing list