[pstricks] IIIDticks
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Wed Jul 16 11:28:11 CEST 2008
Dejan Djokic schrieb:
> 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:
try it in this way (shown only for z-axis):
\documentclass[a4paper]{article}
\usepackage{pst-3dplot,pst-grad}
\begin{document}
\begin{pspicture}(-6,-4)(6,5)
\pagestyle{empty}
\pstThreeDCoor[linecolor=orange,xMin=0,yMin=0,zMin=0,
linewidth=0.9pt,nameX=\Large$\Omega_{0}(cm^{-1})$,
nameZ=\Large$\Omega_{R}(cm^{-1})$,nameY=\Large$T(K)$,arrowscale=2.1]
\multido{\ix=1+1,\iX=200+200}{3}{%
\pstThreeDLine(0,0,\ix)(0.2,0,\ix)
\pstThreeDPut(0.7,0,\ix){\iX}}
\psset{unit=0.012cm}
\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[algebraic,plotstyle=curve,xPlotpoints=20,drawStyle=yLines,
linewidth=1.8pt,linecolor=blue](70,690)(10,690){(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{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}
Herbert
More information about the PSTricks
mailing list