3

This is a primitive example of an animation, which shows what happens if you increase the viscosity. The various parameters are stored in pgf keys (except for the number of layers because the parse=true option of foreach doesn't work well with integers). The bounding box gets recorded in the aux file. \documentclass[tikz,border=3mm]{standalone} \...


3

\documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[portuguese]{babel} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{tikz} \usepackage{pas-tableur} \begin{document} \begin{tikzpicture} \tableur[4]{A,B,C} \celtxt[l]{C}{2}{dd} \end{tikzpicture}...


2

\documentclass[pstricks]{standalone} \usepackage{pst-contourplot} \begin{document} \begin{pspicture}(-5,-6)(5,6) \psset{linecolor=orange,unit=5} \psset{Fill,a=0.01,linewidth=2pt,function=y^4-y^2+x^2,algebraic} \psContourPlot[fillcolor=cyan,algebraic](-1,-1)(0,0) \psContourPlot[fillcolor=blue](-1,0)(0,1) \psContourPlot[fillcolor=cyan](0,0)(1,1) \psContourPlot[...


1

You can use \pstVerb{realtime srand} in the preamble (the space between \documentclass and \begin{document} to seed the pseudo random generator. For more details, invoke this search query.


1

Compile with latex->dvips->ps2pdf. \documentclass[pstricks,12pt,border=12pt]{standalone} \usepackage{pst-plot} \begin{document} \begin{pspicture}[algebraic](-0.5,-1.25)(3.75,1.5) \psaxes{->}(0,0)(-0.25,-1.25)(3.5,1.25)[$x$,-90][$y$,0] \psplot[plotpoints=1000,linecolor=red]{0.025}{3}{sin(1/x)} \put(1.5,.75){$y=\sin\left(\frac{1}{x}\right)$} \end{...


1

First Resort: PSTricks \documentclass[pstricks,12pt]{standalone} \usepackage{pst-func} \psset{unit=2cm} \begin{document} \begin{pspicture}(-1.5,-1.5)(1.75,1.75) \psaxes{->}(0,0)(-1.25,-1.25)(1.25,1.25)[$x$,0][$y$,90] \psplotImp[algebraic,linecolor=red,stepFactor=0.1](-1.1,-1.1)(1.1,1.1){y^4-y^2+x^2} \end{pspicture} \end{document} Second Resort: ...


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