[pstricks] passing arguments in postscript(pst3d-solides)

Michael Sharpe msharpe at ucsd.edu
Tue Jul 20 20:09:22 CEST 2010


On Jul 20, 2010, at 10:51 AM, Zbigniew Nitecki wrote:

> In my attempt to build a macro for drawing several level surfaces of a quadratic, I have succeeded in what looked
> at first like the hardest parts: drawing a "cut-open" hyperboloid of one sheet and a "cut open" double cone.
> These have both been implemented in macros which accept as arguments many of the parameters of the problem,
> including coefficients in the quadratic, colors, grid sizes, and colors.
> 
> Now I am trying to do the same for a hyperboloid of two sheets.

Your \hyperboloidtwosheets macro expands to the text /A 0.5 def ... that you see in the output picture. It needs to be placed within the keywords section of an appropriate pst-solides3d command.

Michael





More information about the PSTricks mailing list