[pstricks] error with gilg - tmp

Juergen Gilg gilg at acrotex.net
Sat Oct 20 14:23:39 CEST 2012


Dear Carlo,

i have no problems with a latex --> dvips --> ...

with this:

\documentclass[a4paper]{article}
\usepackage{amsmath}
\usepackage{pstricks}
\usepackage{pst-3dplot}
\usepackage[margin=1cm]{geometry}
\usepackage{graphicx}
\pagestyle{empty}

\begin{document}
\begin{pspicture}(-4.4,-4.5)(9.5,7)

\psset{Alpha=50,Beta=20}
%\pstThreeDCoor[xMin=0,xMax=5,yMin=0,yMax=5,zMin=0,zMax=5]

\pstThreeDSquare[linecolor=lightgray,fillstyle=solid,fillcolor=lightgray!80](-8,0,0)(0,4,0)(0,0,4)
\pstThreeDSquare[linecolor=lightgray,fillstyle=solid,fillcolor=lightgray!80](-4,-5,0)(4,0,0)(0,0,4)
\pstThreeDSquare[linecolor=lightgray,fillstyle=solid,fillcolor=lightgray!80](-4,0,-3)(4,0,0)(0,4,0)

%%%%% p,V
\parametricplotThreeD(0.25,4){
-8
t
1 t div
}
\parametricplotThreeD(0.5,4){
-8
t
2 t div
}
\parametricplotThreeD(0.75,4){
-8
t
3 t div
}

%%%%% p,T
\parametricplotThreeD[linestyle=dashed](-4,0){
t
-5
t neg
}
\parametricplotThreeD[linestyle=dashed](-4,0){
t
-5
t 2 div neg
}
\parametricplotThreeD[linestyle=dashed](-4,0){
t
-5
t 3 div neg
}
%%%%% V,T
\parametricplotThreeD[linestyle=dotted](-4,0){
t
t neg
-3
}
\parametricplotThreeD[linestyle=dotted](-4,0){
t
t 2 div neg
-3
}
\parametricplotThreeD[linestyle=dotted](-4,0){
t
t 3 div neg
-3
}
\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](-4,0,4)(-8,0,4)
\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](-4,0,0)(-8,0,0)
\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](-4,4,0)(-8,4,0)

\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](-4,0,4)(-4,-5,4)
\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](0,0,4)(0,-5,4)
\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](-4,0,0)(-4,-5,0)
\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](0,0,0)(0,-5,0)

\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](-4,0,0)(-4,0,-3)
\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](-4,4,0)(-4,4,-3)
\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](0,0,0)(0,0,-3)
\pstThreeDLine[linestyle=dashed,linecolor=lightgray,linewidth=0.5pt](0,4,0)(0,4,-3)

%\pstThreeDSquare[linecolor=lightgray,fillstyle=solid,fillcolor=lightgray!80,opacity=0.5](-4,0,0)(4,0,0)(0,4,0)
%\pstThreeDSquare[linecolor=lightgray,fillstyle=solid,fillcolor=lightgray!80,opacity=0.5](0,0,0)(-4,0,0)(0,0,4)
%\pscustom[fillstyle=solid,fillcolor=lightgray!80,opacity=0.5]{
%\pstThreeDLine(-4,1,4)(-4,0,4)(-4,0,0)(-4,4,0)(-4,4,1)
%\parametricplotThreeD(4,1){
%-4
%t
%4 t div
%}
%}

\pstThreeDLine[linecolor=lightgray,linewidth=0.5pt](-4,0,0)(0,0,0)
\pstThreeDLine[linecolor=lightgray,linewidth=0.5pt](-4,0,0)(-4,4,0)
\pstThreeDLine[linecolor=lightgray,linewidth=0.5pt](-4,0,0)(-4,0,4)

\pstThreeDPut(-4,0,0){
\pstThreeDLine[fillstyle=solid,fillcolor=gray](4,4,0)(0,4,0)(0,4,1)(4,4,0)
\pstThreeDLine[fillstyle=solid,fillcolor=gray](4,0,4)(0,1,4)(0,0,4)(4,0,4)
\pscustom[fillstyle=solid,fillcolor=gray,opacity=0.5]{
\pstThreeDLine(4,0,4)(4,0,0)(4,4,0)(0,4,1)
\parametricplotThreeD(4,1){
0
t
4 t div
}
\pstThreeDLine(0,1,4)(4,0,4)
}}

%%%%% V,T
\parametricplotThreeD[linestyle=dotted](-4,0){
t
t neg
1
}
\parametricplotThreeD[linestyle=dotted](-4,0){
t
t 2 div neg
2
}
\parametricplotThreeD[linestyle=dotted](-4,0){
t
t 3 div neg
3
}
%%%%% p,T
\parametricplotThreeD[linestyle=dashed](-4,0){
t
1
t neg
}
\parametricplotThreeD[linestyle=dashed](-4,0){
t
2
t 2 div neg
}
\parametricplotThreeD[linestyle=dashed](-4,0){
t
3
t 3 div neg
}

%%%%% p, V
\parametricplotThreeD(0.75,4){
3 neg
t
3 t div
}
\parametricplotThreeD(0.25,4){
1 neg
t
1 t div
}
\parametricplotThreeD(0.5,4){
2 neg
t
2 t div
}
\pstPlanePut[plane=yz](-8,1,4.5){Isothermen}
\pstPlanePut[plane=yz](-8,2,2.5){$p\sim\dfrac{1}{V}$}
\pstThreeDPut(-4.5,1,-3){\pstPlanePut[planecorr=xyrot,plane=xy,RotZ=90](0,0,0){Isobaren}}
\pstThreeDPut(-1,2,-3){\pstPlanePut[planecorr=xyrot,plane=xy,RotZ=90](0,0,0){$V\sim 
T$}}
\pstThreeDPut(-1,-5,4.5){\pstPlanePut[planecorr=xyrot,plane=xz,RotZ=180](0,0,0){Isochoren}}
\pstThreeDPut(-0.5,-5,2.5){\pstPlanePut[planecorr=xyrot,plane=xz,RotZ=180](0,0,0){$p\sim 
T$}}

\pstThreeDPut(-0.5,4,-0.5){\pstPlanePut[planecorr=xyrot,plane=xz,RotZ=180](0,0,0){Temperatur 
$T\,\rightarrow$}}
\pstPlanePut[plane=yz](0,0.5,-0.5){Volumen $V\,\rightarrow$}
\pstThreeDPut(4,2.75,2.5){\pstPlanePut[planecorr=normal,plane=yz,RotX=90](0,0,0){\rotatebox{90}{Druck 
$p\,\rightarrow$}}}

\pstThreeDLine{->}(-8,0,0)(-8,4.5,0)
\pstThreeDLine{->}(-8,0,0)(-8,0,4.5)
\pstPlanePut[plane=yz](-8,4.7,0){$V$}
\pstPlanePut[plane=yz](-8,0,4.7){$p$}
\pstThreeDLine{->}(0,0,-3)(-4.5,0,-3)
\pstThreeDLine{->}(0,0,-3)(0,4.5,-3)
\pstThreeDPut(-4.7,0,-3){\pstPlanePut[planecorr=xyrot,plane=xy,RotZ=90](0,0,0){$T$}}
\pstThreeDPut(0,4.7,-3){\pstPlanePut[planecorr=xyrot,plane=xy,RotZ=90](0,0,0){$V$}}
\pstThreeDLine{->}(0,-5,0)(-4.5,-5,0)
\pstThreeDLine{->}(0,-5,0)(0,-5,4.5)
\pstThreeDPut(-4.7,-5,0){\pstPlanePut[planecorr=xyrot,plane=xz,RotZ=180](0,0,0){$T$}}
\pstThreeDPut(0,-5,4.7){\pstPlanePut[planecorr=xyrot,plane=xz,RotZ=180](0,0,0){$p$}}
\end{pspicture}
\end{document}

Hope this helps.

Regards,

Jürgen
Am 20.10.2012 10:29, schrieb Carlo Alberini:
> Dear Herbert,
> I have some problems whit the file in attachment (gilg - tmp 
> downloaded from Pstricks main). I send you all tex file, aux log and 
> pdf. Some words are not right oriented. I use TexShop on Mac.
>
> Thank you very much
>
> Carlo
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/

-- 
Jürgen Gilg
Austr. 59
70376 Stuttgart

tel   0711 59 27 88
email gilg at acrotex.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20121020/724630b6/attachment.html>


More information about the PSTricks mailing list