Tag Info

New answers tagged

2

The same a bit easier: \documentclass[landscape]{article} \usepackage{geometry} \usepackage{pst-solides3d} \begin{document} \psset{unit=0.7,lightsrc=viewpoint,viewpoint=100 30 20 rtp2xyz,Decran=100} \begin{pspicture}(-5,-5)(5,5) \psSolid[object=cone,h=3,r=3,ngrid=5 30,intersectiontype=0, intersectionlinewidth=2,intersectioncolor=(red), ...


3

pst-solides3d seems a good option here. In the PS-Tricks gallery of 3D examples you have a nice starting point by Manuel Luque: \documentclass{article}% Manuel Luque \usepackage{pst-solides3d} \def\bicone{% generation du bicone /dZ 0.5 def /Rayon 3 def % rayon de la base /Hauteur 3 def % hauteur d'un cone /THETA Rayon ...


5

What planeproject expects is simply the normal vector to the plane. XYplane is an object of type triple(pair): it's actually a function that maps (x,y) to (x,y,0). The normal vector you want is simply Z. Here's working code, obtained by replacing planeproject(XYplane) by planeproject(Z): import graph3; import three; settings.outformat="pdf"; ...


5

As I said in my comment, forest is not really designed (it seems to me) for this kind of diagram. At a given level within a given subtree, the direction of growth is, well, the direction of growth. You cannot specify one direction for one child and a different direction for another. So to draw something of the kind I believe you want, you need to fake it. ...


0

For me this works fine, producing the image: You didn't say what your main tex file looks like, so perhaps that's the problem? I used: \documentclass{amsart} \usepackage{standalone} \usepackage{tikz} \begin{document} \begin{figure}[!htb] \centering \includestandalone[width=.8\textwidth]{f} \end{figure} \end{document} (I renamed your standaline file ...


3

As mentioned in comments, use standalone and mindmap packages: \documentclass[11pt]{article} % use larger type; default would be 10pt \usepackage{subfig} % make it possible to include more than one captioned figure/table in a single float \usepackage{standalone} \usepackage{tikz} \usetikzlibrary{mindmap} \title{Tikz: Using standalone} \author{Sooraj} ...


11

With next code you can obtain first example. All others can be easily done after reading first tutorial in TiKZ documentation (pgfmanual). \documentclass[tikz,border=3mm]{standalone} \begin{document} \begin{tikzpicture} \draw [->] (-1.5,0)--(3,0); \draw [->] (0,-1.5)--(0,3); \draw[dashed] (-1,0)--(0,1)--(1,0)--(0,-1)--cycle; \node[below left] at (0,0) ...


8

Next time, please note that you should investigate solutions yourself and post an MWE which at least provides the framework of the document and, for example, the text for the nodes of your picture. (This is a lot easier than copying from an image for people who would like to help you.) This answer uses forest to create the diagram as a tree. It uses shading ...


9

Have a look at here: Texample - Simple Flow chart Needed libraries, as in this example are \usetikzlibrary{shapes,arrows}. Edit: Taken from Texample: \usepackage{tikz} \usetikzlibrary{shapes,arrows} \begin{document} % Define block styles \tikzstyle{decision} = [diamond, draw, fill=blue!20, text width=4.5em, text badly centered, node distance=3cm, inner ...



Top 50 recent answers are included