# Tag Info

## New answers tagged technical-drawing

1

A common ipe drawing technique is rather than drawing something directly, draw a background and then subtract from it. In your case, that would mean fill the larger circle with the color, and then fill the smaller circle with white. Bring the smaller circle to the front so that it is drawn on top of the larger circle. In the drawing below, the circles don't ...

4

Version 1.10 of pgfplots has been released just recently, and it comes with a new solution for the problem to fill the area between plots. Note that the old solution is still possible and still valid; this here is merely an update which might simplify the task. In order to keep the knowledge base of this site up-to-date, I present a solution based on the ...

3

Some more explanations on how to detect the problem. The command \clip clips the picture part that that lies within the rectangle bounded by (-4.3,-10.66) and (17.58,6.3). To get a visual of this rectangle you can add some sort of grid like \draw (-5,-10) grid (18,6.5); %\clip(-4.3,-10.66) rectangle (17.58,6.3); in your tikzpicture and you will get Now ...

4

The offending line in the TikZ code is the first line, which clips the output to the specified rectangle. Normally this is used to trim the bounding box and show only part of a figure, however, in your case, whatever program/code generated the TikZ code has used the \clip functionality to expand the bounding box (likely to match the view shown in the ...

2

The butterfly curve. \documentclass{article} \usepackage{xpicture} \begin{document} \DIVIDE{1}{12}{\invXII} \MULTIPLY{12}{\numberTWOPI}{\phione} \MULTIPLY{12}{64}{\divisions} \COMPOSITIONfunction{\EXPfunction}{\COSfunction}{\Afunction} \SCALEVARIABLEfunction{4}{\COSfunction}{\Bfunction} \SCALEVARIABLEfunction{\invXII}{\SINfunction}{\cfunction} ...

0

\begin{tikzpicture} \draw [help lines] (0,0) grid (5,5); \fill [red] (0.5,0.3) circle (2pt); \fill [blue] (4.7,4.8) circle (2pt); \coordinate (a) at ($(0.5,0.3)!0.52! 1.5:(4.7,4.8)$); \coordinate (b) at ($(4.7,4.8)!0.52! 1.5:(0.5,0.3)$); \draw[thick,purple] (0.5,0.3) -- (a) -- (b) -- (4.7,4.8); \end{tikzpicture} This the way to ...

2

Below I made a basic diagram to illustrate (vertical) interlinkages such as in a supply chain in an economy. \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) -- (6,0); \draw (0,0) -- (0,-1); \draw (6,0) -- (6,-1); \draw (0,0) rectangle (1,-1); \draw (1,0) rectangle (2,-1); \draw (2,0) rectangle (3,-1); \draw (3,0) ...

8

Galvanic cell \documentclass{article} \usepackage[ figureposition = bottom ]{caption} \usepackage{chemmacros} \usepackage{pstricks-add} \makeatletter \providecommand*{\setfloatlocations}[2]{\@namedef{fps@#1}{#2}} \makeatother \setfloatlocations{figure}{htbp} \DeclareCaptionLabelSeparator{adjustment}{:\quad} \captionsetup{ font = small, labelfont ...

13

I don't understand the 3D behavior of tikz very well, but here's a way to do one of your pictures in Asymptote using a bunch of lines, arcs, and labels. A few of the built-in Asymptote commands I used: X is the unit vector (1,0,0) similarly for Y and Z expi(theta,phi) returns the unit vector in the theta,phi direction Updated to incorporate a few of ...

21

Thanks to this question y was able to do something I wanted to do a long time ago: the shape of pi with the digits of pi. The only "hard" thing is the shape, but looking at the question I said it's pretty simple. \documentclass[10pt]{article} \usepackage{graphicx} \usepackage{shapepar} \usepackage{microtype} \def\pipar#1{\shapepar{\pishape}#1\par} ...

15

Lifting of a random Delaunay triangulation to a hyperbolic paraboloid: The planar delaunay triangulation was generated using C++ and CGAL The data was visualized using asymptote Here is the c++ code: #include <fstream> #include <sstream> #include <vector> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include ...

14

Here is a plot of the log barrier function B(x1, x2) = -ln x1 - ln x2. Code (python to generate the lattice): from numpy import linspace, pi, sin, cos, log from scipy.optimize import bisect # Code to generate patches # (x(r,theta), y(r,theta), z(r,theta)), where # x(r,theta) = 1 - r cos(theta), # y(r,theta) = 1 - r sin(theta), # z(r,theta) = ...

25

Visualisation of the Poincaré disk model: \documentclass[a4paper,fleqn,papersize]{jsarticle} \usepackage{graphicx} \usepackage{MePoTeX} \usepackage{amsmath,amssymb} \usepackage{mtcastle} \usepackage{ascmac} \usepackage{eclarith,qbgraph} \setlength{\columnseprule}{0.2pt} \setlength{\textwidth}{190truemm} \setlength{\textheight}{257truemm} ...

Top 50 recent answers are included