7 votes
Accepted

Smoothing a gaussian curve in tikz

Why not just add the two bell curves together? \documentclass[margin=10pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[ declare function={gauss(\x)=3*exp(-(\x/3)^2);}, ...
John Kormylo's user avatar
  • 77.4k
7 votes
Accepted

How to divide a circle into three equal circles using PGF/TikZ?

An approach to this could be: calculate the ratio between the larger radius and the smaller radius of the circles, this happens to be 1/(1+(2/sqrt(3))). define a function in order to simplify things ...
Jasper Habicht's user avatar
4 votes
Accepted

Can we draw a diagram like this?

Like this: Code (change color and dimensions as You like): \documentclass[a4paper]{article} \usepackage{lmodern} %\usepackage[T1]{fontenc} \usepackage{tikz} %\usetikzlibrary{calc,intersections} \...
Raffaele Santoro's user avatar
4 votes

Smoothing a gaussian curve in tikz

Adaptations added another plot in between, reusing the gauss function, and scaled and moved it plot[domain=-4:4, samples=100] (.125*\x+4.5, {3.39 - gauss(.15*\x)}) added some code comments used ...
dexteritas's user avatar
  • 8,836
3 votes

Merging 2 hemispheres using tikz

I'm not sure what you want to achieve exactly, but a simple sketch for your first figure (using hemispheres) can be drawn with the help of TikZ libraries 3d and perspective in isometric view. You'll ...
Juan Castaño's user avatar
2 votes

drawwwwwwwwwwwwwww

If you want to draw an angle between the coordinates B--A--O, you need to define these coordinates first, e.g. by giving names to the nodes you already have ... node[above left] (A) {$A$} ... : \...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

Drawing a hexagon structure similar to a Grötzsch graph with TikZ

I would usually recommend the graphs library's clockwise placement in combination with a subgraph X_n but adding the labels to the nodes gets tedious then. Placing nodes on the corner of a polygon is ...
Qrrbrbirlbel's user avatar
1 vote
Accepted

Block Diagram featuring bias and skip connection

Ok, the hints alone did not suffice. So let's have a closer look. BTW, this is just another example that copying is only part of the equation: the other, more important one is learning. So I highly ...
MS-SPO's user avatar
  • 7,699
1 vote
Accepted

Quantikz: Annotation Text Above Gate

SOLVED: \documentclass{article} \usepackage{graphicx} \usepackage{tikz} \usetikzlibrary{quantikz2} \begin{document} \begin{centering} \begin{quantikz} \lstick{$q_0$} & \gate[label style={label={[...
Maxi Poser's user avatar

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