Questions tagged [tikz-pgf]
TikZ is a higher-level drawing language built on top of the PGF graphics framework. For questions specifically about the PGF layer use {pgf-core} instead. Both tags are possible on the same question. The tag {diagrams} is also compatible with this tag.
35,380
questions
1
vote
1
answer
5
views
Circle with defined radius (TikZ)
I have a problem with my code: why circle centered in (Center) of radius \def\radius is not outputed? Thank you so much.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{center}
\...
0
votes
0
answers
37
views
TikZ or Parser Having Memory of a Previous Diagram?
This is a follow-up to this extremely thorough answer by @StevenB.Segletes, in which he completed an SGF Parser saga I had been working on (SGFs are the text files for the board game of Go). ...
0
votes
3
answers
24
views
Tikz: change height of bend
\node[circle, draw] (v1) at (0,0) {$v_1$};
\node[circle, draw] (v2) at (2,0) {$v_2$};
\draw (v1) to [bend right=30] (v2);
The above code draws a bended line between two nodes v1 and v2. How can i ...
3
votes
0
answers
30
views
Edge and shading of a cylinder
I am trying to create a wedge from a cylinder like
I have been able to get the basics:
\documentclass[11pt,tikz,border=3.14pt]{standalone}
\usepackage{tikz-3dplot}
\usepackage{pgfplots}
\begin{...
-1
votes
0
answers
74
views
Recreate a Schematic of a Photonic Integrated Circuit (PIC) Using TikZ
The circuit includes components like an optical waveguide, optical fiber, optical ring resonator, photodiode, optical modulator, and photonic crystal. I would like to create the diagram without ...
4
votes
2
answers
199
views
How to do smooth merging of two points using tikzpicture
I'm drawing this figure using tikzpicture. My codes are as follows,
\documentclass[a4paper,11pt]{article}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[...
1
vote
1
answer
41
views
Rotate Arrowhead in 3D plot
I am trying to adjust my arrowheads in a (semi-automatic generated) 3D plot. Here is the main part of the code (sorry for quite some coordinates).
\RequirePackage{luatex85}
\documentclass[tikz]{...
0
votes
3
answers
95
views
how to clip a part of picture [closed]
I draw a large picture. I want to clip a part of it (the area of white color) .
\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}...
2
votes
1
answer
89
views
How to center the out arrow of a box?
I use a code from Izaak Neutelings (https://tikz.net/categorization_events/) and adapted it for my thesis. But when I write a bigger sentence the middle arrow in "Simulações" is not centred. ...
5
votes
1
answer
471
views
3D Chip Design using TikZ
I'm trying to reproduce a 3D design of a chip using TikZ in LaTeX. The design I'm aiming for resembles a multi-layered chip concept, similar to the image below (showing different components stacked on ...
1
vote
0
answers
39
views
How to draw 3D figure where y and z changes with x in LaTeX?
If there are three conditions,
x belongs to [0,5]
y belongs to [2x,7x]
z belongs to [0,x+3y]
Is there a way to draw this 3D figure?
It should be like this
This code is not right
\documentclass{...
1
vote
1
answer
46
views
How to Plot a Parabolic-like Curve Passing Through Specific Points in TikZ or tkz-fct?
I am trying to plot a smooth, parabolic-like curve in LaTeX using TikZ or tkz-fct, and I need the curve to pass through the following specific points:
(-2,0), (-1.5,-1), (-1,0),, (-0.5,0.5), (0,0), (0....
1
vote
2
answers
64
views
Error while using cosine function to estimate Margins for tikzpicture of Bohr's model of carbon atom in blank circular space within \lipsum[1-4] text
After many attempts, still experiencing a persistent error, as exemplified with the following MWE:
(See Draw Bohr atomic model with electron shells in TeX?)
% Insert Bohr’s Model of Carbon atom ...
3
votes
2
answers
136
views
TikZ and pgfplots: hide NaN values from a matrix
I'm working on a LaTeX document and using TikZ to create a matrix plot, but I'm encountering an issue. I want to remove the "NaN" text from the cells in the matrix plot and keep those cells ...
0
votes
1
answer
21
views
How to remove white space between image and shape for visual alignment in LaTeX when using tikz and graphicx?
When I place an image at the top of the page using the page as a reference, there's a white space between the page border and the image. When I then place a rectangle to the left of the image, using ...