24

Here's an alternative using Asymptote. It fulfills some version of most of your requests; for instance, the colors are defined in the preamble (but in Asymptote code rather than TeX code, so you might need to define TeX versions separately). % To run: pdflatex --shell-escape filename.tex \documentclass[margin=10pt,convert]{standalone} \usepackage{...


11

You need the pst-3dplot package. You don't need all the others - here's a complete MWE % arara: latex % arara: dvips % arara: ps2pdf % !arara: indent: {overwrite: on} \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-3dplot} \begin{document} \psset{unit=1.5, Alpha=45, Beta=30} \begin{pspicture}(-3,-1.5)(3,4) \pstThreeDCoor[xMin=-4,xMax=4,...


9

Thanks to Alex' answer I was able to redo the plot using pst-solides3d \documentclass[pstricks,border=3pt]{standalone} \usepackage{pst-plot} \usepackage{pst-solides3d} \begin{document} \begin{pspicture}(-1,-1)(1,1) \defFunction[algebraic]{harmonic}(u,v) {sin(u)*cos(v)*(sqrt(3/(4*\psPi))*sin(u)*cos(v))^2} {sin(u)*sin(v)*(sqrt(3/(4*\psPi))*sin(u)*cos(v)...


9

The function \parametricplotThreeD takes the x,y,z-coordinates of the surface as arguments, whereas t and u are polar and azimuthal angles. The following code gives what you are looking for: \documentclass{minimal} \usepackage{pst-3dplot} \begin{document} \centering \psset{algebraic=true} \begin{pspicture}(-2,-3.5)(4,0) \parametricplotThreeD[...


6

The correct syntax for \fileplotThreeD is \fileplotThreeD[Options]{datafile} where datafile is not a command generated with \readdata, but a file name. therefore your example must be like this: \documentclass{article} \usepackage{pst-3dplot} \begin{filecontents*}{plotting-of-3d-surface.data} 2.17 0.001 0.82044815 2.17 0.002 0.82345825 2.17 ...


6

You just need the following: % latex filname.tex % dvips filname.dvi % ps2pdf filname.ps \documentclass{article} \usepackage{pst-3dplot} \begin{document} \begin{pspicture}(-3.2,-2.73)(3.18,3.65) \pstThreeDCoor[ xMin = -4, xMax = 4, yMin = -4, yMax = 4, zMax = 3, arrows = <-> ] \psplotThreeD[ plotstyle = line, linecolor = blue, ...


5

I don't know what kind of a surface rendition you have in mind but you can do it in pgfplots, say, via surfaces. \documentclass[border=2mm]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[domain=0:1, y domain=0:1,samples=20,no marks] \addplot3+[surf,colormap/blackwhite](x,y,{(x < y^2?1:0)}); \end{axis} \end{tikzpicture}...


4

The required plot of this function can also be done with pgfplots in a short way with nice output. I previously posted it on TikZ.de. It requires the recently released pgfplots 1.11, because I used a new feature to globally switch from degree to radian, because here radian is used. \documentclass[border=10pt]{standalone} \usepackage{pgfplots} \pgfplotsset{...


4

There are several tricks for effecting the opacity in pstricks, in this context what you want to use is strokeopacity. So try: \psplotThreeD[% strokeopacity=0.2, plotstyle=line,% linecolor=blue,% yPlotpoints=40,% xPlotpoints=30,% linewidth=0.5pt,% hiddenLine=true% ](-2,2)(-2,2) { x 100 mul cos y 100 mul sin sub } If you're filling a figure,...


4

This is possible Thomas \begin{pspicture}(-5,-3)(2,3) \pstThreeDCoor[IIIDticks,xMin=-1,yMin=-1,zMin=-1,zMax=2] \pstPlanePut[plane=xz,planecorr=normal](4,0,0){\rput[l]{30}(0,0){\Large\green\textbf{Vertical Text}}} \pstPlanePut[plane=xz,planecorr=normal](4,0,0){\rput[l]{60}(0,0){\Large\blue\textbf{Vertical Text}}} \pstPlanePut[plane=xz,planecorr=...


4

This might be overkill, but you can think to different applications. \documentclass[pstricks,border=1cm,12pt]{standalone} \usepackage{pst-3dplot} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand{\coords}{m} { \prop_set_from_keyval:Nn \l_tmpa_prop { #1 } } \NewDocumentCommand{\mapcoords}{m} { \prop_map_inline:Nn \l_tmpa_prop { #1##2 } } \...


3

You could start by specifying the coordinates in 3D (obtained from Sacred Geometry): \documentclass{standalone} \usepackage{tikz} \begin{document} \def \phi {1.617} \begin{tikzpicture}[ x={(-0.86in, -0.5in)}, y = {(0.86in, -0.5in)}, z = {(0, 1in)}, rotate = 22, scale = 0.6, every node/.style = { circle, fill = blue!20, inner sep = 0pt,...


Only top voted, non community-wiki answers of a minimum length are eligible