[pstricks] \pstThreeDSphere

robert.fischer10 at arcor.de robert.fischer10 at arcor.de
Thu Aug 27 22:03:29 CEST 2009


Hello,

I have searched in the pstricks archive and google. But nothing found. Following example is compiled by Miketex, but ghostscript 8.60 gives an error

Ever faced with such kind of problem? It is only the \pstThreeDSphere command - nothing else.

Best Regards,
Robert.

\documentclass[10pt,a4paper,twoside]{book}
\usepackage[latin1]{inputenc}
\usepackage{pst-3dplot}
%
\begin{document}
\begin{figure}[htbp]
	\begin{minipage}{0.49\textwidth}
		\begin{pspicture}(-1.6,-2.4)(3,2.8)
			%Sphere
			\pstThreeDSphere(1,-1,2){2}
		\end{pspicture}
	\end{minipage}
	\begin{minipage}{0.49\textwidth}
		
	\end{minipage}
\end{figure}

\end{document}

Ghostview:
Displaying page 1
Error: /undefined in showgrid
Operand stack:
   0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   -50.0   10.0   80.0   --nostringval--   %for_real_continue   20.0   10.0   350.0   --nostringval--   %for_real_continue   --nostringval--
Dictionary stack:
   --dict:1128/1686(ro)(G)--   --dict:0/20(G)--   --dict:117/200(L)--   --dict:175/300(L)--   --dict:37/200(L)--   --dict:107/200(L)--   --dict:121/200(L)--
Current allocation mode is local
Last OS error: No such file or directory

--- Begin offending input ---
def /yRotVec 0.  def /zRotVec
0.  def /dxUnit 1.0  def /dyUnit 1.0  def /dzUnit 1.0  def /RotSequence
(xyz ) def /RotSet (set ) def /Alpha 45.  def /Beta 30.  def /Sin1
Beta sin def /Sin2 Alpha sin def /Cos1 Beta cos def /Cos2 Alpha cos
def /Cos1Sin2 Cos1 Sin2 mul def /Sin1Sin2 Sin1 Sin2 mul def /Cos1Cos2
Cos1 Cos2 mul def /Sin1Cos2 Sin1 Cos2 mul def currentdict tx at 3DPlotDict
ne dup {tx at 3DPlotDict begin} if /eulerRotation false def RotSet (set )
eq currentdict /MnewTOold known not or {/PROCMXYZ /SetMxyz def /PROCMQUATERNION
/SetMQuaternion def} {RotSet (concat ) eq {/PROCMXYZ /ConcatMxyz def
/PROCMQUATERNION /ConcatMQuaternion def} {/PROCMXYZ () def /PROCMQUATERNION
() def} ifelse } ifelse RotSequence (quaternion ) ne {PROCMXYZ} {PROCMQUATERNION}
ifelse cvx exec /RotSet (keep ) def {end} if /leftHanded false def
/coorType 0  def 1 1 2  /zLight ED /yLight ED /xLight ED MaillageSphere
end  end
 
@endspecial 0 TeXcolorgray 0 TeXcolorgray
0 TeXcolorgray eop end

--- End offending input ---
file offset = 0
gsapi_run_string_continue returns -101

Latex Log:
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded format=latex 2009.8.23)  27 AUG 2009 22:00
entering extended mode
**problem.tex
(problem.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\base\book.cls"
Document Class: book 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.7\tex\latex\base\bk10.clo"
File: bk10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c at part=\count79
\c at chapter=\count80
\c at section=\count81
\c at subsection=\count82
\c at subsubsection=\count83
\c at paragraph=\count84
\c at subparagraph=\count85
\c at figure=\count86
\c at table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.7\tex\latex\base\inputenc.sty"
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc at prehook=\toks14
\inpenc at posthook=\toks15

("C:\Program Files\MiKTeX 2.7\tex\latex\base\latin1.def"
File: latin1.def 2006/05/05 v1.1b Input encoding file
))
("C:\Program Files\MiKTeX 2.7\tex\latex\pst-3dplot\pst-3dplot.sty"
("C:\Program Files\MiKTeX 2.7\tex\latex\pstricks\pstricks.sty"
Package: pstricks 2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)

("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pstricks.tex"
`PSTricks' v1.29  <2009/05/19> (tvz)
\pst at dima=\dimen103
\pst at dimb=\dimen104
\pst at dimc=\dimen105
\pst at dimd=\dimen106
\pst at dimg=\dimen107
\pst at dimh=\dimen108
\pst at hbox=\box26
\pst at boxg=\box27
\pst at cnta=\count88
\pst at cntb=\count89
\pst at cntc=\count90
\pst at cntd=\count91
\pst at cntg=\count92
\pst at cnth=\count93
\pst at toks=\toks16
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pstricks.con")
\psunit=\dimen109
\psxunit=\dimen110
\psyunit=\dimen111
\pslinewidth=\dimen112
\pst at customdefs=\toks17
\pslinearc=\dimen113
\everypsbox=\toks18
\psframesep=\dimen114
\pslabelsep=\dimen115
\pst at shift=\dimen116
\theoverlaybox=\box28
)
File: pstricks.tex 2009/05/19 v1.29 `PSTricks' (tvz,hv)

("C:\Program Files\MiKTeX 2.7\tex\latex\xcolor\xcolor.sty"
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\color.cfg"
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: dvips.def on input line 225.

("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\dvips.def"
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
Package xcolor Info: Model `RGB' extended on input line 1353.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
))
Package: pst-3dplot 2009/07/28 package wrapper for pst-3dplot.tex (hv)

("C:\Program Files\MiKTeX 2.7\tex\latex\pst-3dplot\pst-3dplot.tex"
("C:\Program Files\MiKTeX 2.7\tex\generic\pst-3d\pst-3d.tex"
("C:\Program Files\MiKTeX 2.7\tex\generic\xkeyval\pst-xkey.tex"
File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)

("C:\Program Files\MiKTeX 2.7\tex\latex\xkeyval\xkeyval.sty"
Package: xkeyval 2008/08/13 v2.6a package option processing (HA)

("C:\Program Files\MiKTeX 2.7\tex\generic\xkeyval\xkeyval.tex"
\XKV at toks=\toks19
\XKV at tempa@toks=\toks20
\XKV at depth=\count94
File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)

("C:\Program Files\MiKTeX 2.7\tex\generic\xkeyval\keyval.tex"))))
`PST-3d' v1.00, 2005/09/03 (tvz))
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks-add\pstricks-add.tex"
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pst-plot.tex"
("C:\Program Files\MiKTeX 2.7\tex\generic\multido\multido.tex"
 v1.41, 2004/05/18 <tvz>
\multido at count=\count95
\multidocount=\count96
\multido at stuff=\toks21
)  v1.04, 2009/06/08)
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pst-node.tex"
 v1.01, 2008/11/26
\psrow=\count97
\pscol=\count98
\psmatrixcnt=\count99
\psrowsep=\skip43
\pscolsep=\skip44
)
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks-add\pst-fp.tex"
`pst-fp' v0.02, 2009/04/02 (hv)
\pstFP at xs=\count100
\pstFP at xia=\count101
\pstFP at xib=\count102
\pstFP at xfa=\count103
\pstFP at xfb=\count104
\pstFP at rega=\count105
\pstFP at regb=\count106
\pstFP at regs=\count107
\pstFP at times=\count108
)
("C:\Program Files\MiKTeX 2.7\tex\generic\pst-math\pst-math.tex"
`pst-math' v0.21 , (CJ,hv)) `pstricks-add' v3.34, 2009/05/25 (dr,hv)
\pst at dimm=\dimen117
\pst at dimn=\dimen118
\pst at dimo=\dimen119
\pst at dimp=\dimen120
\pst at cntm=\count109
\pst at cntn=\count110
\pst at cnto=\count111
\pst at cntp=\count112
\@zero=\count113
\pstRadUnit=\dimen121
\pstRadUnitInv=\dimen122
\pshooklength=\dimen123
\pshookwidth=\dimen124
\@digitcounter=\count114
\psk at subticksize=\dimen125
\pst at xticksizeA=\dimen126
\pst at xticksizeB=\dimen127
\pst at xticksizeC=\dimen128
\pst at yticksizeA=\dimen129
\pst at yticksizeB=\dimen130
\pst at yticksizeC=\dimen131
\psk at llx=\dimen132
\psk at lly=\dimen133
\psk at urx=\dimen134
\psk at ury=\dimen135
\pst at xunit=\dimen136
\pst at yunit=\dimen137
\linecnt=\count115
\chart at ColorIndex=\dimen138
\chart at ColorStep=\dimen139
\pst at chartHeight=\dimen140
\pst at chartStackDepth=\dimen141
\pst at chartStackWidth=\dimen142
\chart at Toggle=\count116
)
("C:\Program Files\MiKTeX 2.7\tex\generic\multido\multido.tex"
 v1.41, 2004/05/18 <tvz>) `PST-3dplot' v1.83, 2008/11/18 (HV,DL)
\pst at dimf=\dimen143
\pst at cntx=\count117
\pst at cnty=\count118
\pst at cntz=\count119
\pst at dimx=\dimen144
\pst at dimy=\dimen145
\pst at dimz=\dimen146
\pst at dx=\dimen147
\pst at dy=\dimen148
)
File: pst-3dplot.tex 2008/11/18 v1.83 `PST-3dplot' (hv)
) (problem.aux)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info:    ... okay on input line 6.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 13.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 13.
 [1

] (problem.aux) ) 
Here is how much of TeX's memory you used:
 3831 strings out of 95333
 51870 string characters out of 1184101
 183637 words of memory out of 1500000
 7046 multiletter control sequences out of 110000
 3993 words of font info for 15 fonts, out of 3000000 for 5000
 14 hyphenation exceptions out of 8191
 37i,5n,47p,347b,313s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on problem.dvi (1 page, 2372 bytes).

 


More information about the PSTricks mailing list