Document Classes ⇒ Parametric plot and infix postfix
Parametric plot and infix postfix
Greetings,
I have two questions. The book I am learning about PSTricks on is The LaTeX Graphics Companion 2nd ed. In it it has no documentation of how to use parametricplotThreeD to render a surface that is plotted with two independent variables. The curve option does not work as this clearly has surface area. Also I am having trouble converting $ \frac{\sqrt{1+t^{2}}}{2} \cos(u) $ and $ \sqrt{1+t^{2}} \sin(u) $ to RPN (a.k.a. Postfix). If someone could direct me to a good Infix postfix coverter that would be great.
Steve
I have two questions. The book I am learning about PSTricks on is The LaTeX Graphics Companion 2nd ed. In it it has no documentation of how to use parametricplotThreeD to render a surface that is plotted with two independent variables. The curve option does not work as this clearly has surface area. Also I am having trouble converting $ \frac{\sqrt{1+t^{2}}}{2} \cos(u) $ and $ \sqrt{1+t^{2}} \sin(u) $ to RPN (a.k.a. Postfix). If someone could direct me to a good Infix postfix coverter that would be great.
Steve
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Parametric plot and infix postfix
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Parametric plot and infix postfix
I am currently using MacTeX. How do I install pst-infixplot for this distribution if I am able? If I am not able is there another way? Also, what is the syntax to plot a surface in parametricplotThreeD[ "what goes here"]? Thank you very much for your help.
Steve
Steve
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Parametric plot and infix postfix
Open a command prompt and find out if the package is already installed.
If not, download the package as ZIP archive from CTAN [1]. You have to follow the guidelines of the TDS (TeX Directory Structure) when putting the single files into the directory tree. For the syntax of parametric 3D plots see the documentation of pst-3dplot.
[1] CTAN: directory: /tex-archive/graphics/pstricks/contrib/pst-infixplot
Code: Select all
kpsewhich pst-infixplot.sty
[1] CTAN: directory: /tex-archive/graphics/pstricks/contrib/pst-infixplot
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Parametric plot and infix postfix
Have you upgraded to the MacTeX 2008 distribution? It comes with the new TeX Live Manager which makes very simple to install and update packages.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Re: Parametric plot and infix postfix
Thank you Juanjo and Localghost,
I am not sure if I do have that. If I do have that what would I do? Also, I forgot to tell you that I am trying to plot the function $ x=\frac{\sqrt{1+t^{2}}}{2} \cos(u), y=t, z=\sqrt{1+t^{2}} \sin(u) $ via parametricplotThreeD, do you know what I would put in parametricplotThreeD to plot this?
Steve
I am not sure if I do have that. If I do have that what would I do? Also, I forgot to tell you that I am trying to plot the function $ x=\frac{\sqrt{1+t^{2}}}{2} \cos(u), y=t, z=\sqrt{1+t^{2}} \sin(u) $ via parametricplotThreeD, do you know what I would put in parametricplotThreeD to plot this?
Steve
Parametric plot and infix postfix
I recommend you to upgrade. It is really simple. Take a look at http://www.tug.org/mactex/Dr. Rizzy wrote: I am not sure if I do have that. If I do have that what would I do?
Concerning your question about parametricplotThreeD, I can't help.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
-
- Posts: 351
- Joined: Sat Aug 02, 2008 8:47 am
Parametric plot and infix postfix
use simply the algebaric option ...Dr. Rizzy wrote: I have two questions. The book I am learning about PSTricks on is The LaTeX Graphics Companion 2nd ed. In it it has no documentation of how to use parametricplotThreeD to render a surface that is plotted with two independent variables. The curve option does not work as this clearly has surface area. Also I am having trouble converting $ \frac{\sqrt{1+t^{2}}}{2} \cos(u) $ and $ \sqrt{1+t^{2}} \sin(u) $ to RPN (a.k.a. Postfix). If someone could direct me to a good Infix postfix coverter that would be great.
Code: Select all
documentclass{article}\usepackage{pst-3dplot}\begin{document}\begin{pspicture}(-3.25,-2.25)(3.25,5.25)\pstThreeDCoor[zMax=5]\parametricplotThreeD[xPlotpoints=200,linecolor=blue,%linewidth=1.5pt,plotstyle=curve,algebraic](0,31.4){%2.5*cos(t) | 2.5*sin(t) | t/6}\end{pspicture}\end{document}
Herbert