All Questions
Tagged with tikz-pgf coordinates
331
questions
2
votes
1
answer
73
views
Rotate coordinaten system with PGFPlots
I want to rotate a coordinate system with pgf-plots using rotate around={angle:point}. I would expect to use (0,0) but using trial and error I found rotate around={30:(170,-220)}. Can somebody explain ...
0
votes
1
answer
98
views
Gate-All-Around FET (GAAFET) nanosheet 3d illustration
I'm trying to create a 3D representation of a GAAFET (Gate-All-Around Field-Effect Transistor) nanosheet using TikZ in LaTeX. I have attempted a 2D schematic, but I would like to improve it and create ...
0
votes
1
answer
47
views
\textbf value coordinate in bar graph
I'm trying to write the value "725" in bold using \textbf in LaTeX, but the system is giving me an error. How can I fix it?
\documentclass[14pt]{extreport}
\usepackage[lmargin=1.3in, rmargin=...
0
votes
0
answers
56
views
How can I make a `tikzpicture's` coordinates react to TeX `dimensions`?
Further to the question I posted yesterday and received [an excellent answer answer ]2 regarding shading a block, I changed the code I was using (from just LaTeX code, using boxes etc) to tikz, using ...
1
vote
1
answer
72
views
What is the difference between single and double plus in tikz coordinates? [duplicate]
I've been using double plus in TikZ for relative coordinates:
\draw[-] (somecoord) -- ++(1,0);
but I have found TikZ code with single +. What is the difference between ++(dx,dy) and +(dx,dy)?
7
votes
2
answers
278
views
Dividing by sums in TikZ coords
I want to input mathematically calculated coordinates, containing terms which are divided by sums, into TikZ.
For instance, I would like to use something with a similar syntax to this: \def \cmd {1/(1+...
0
votes
2
answers
66
views
Tikz Display Coordinate in Node Text in Scaled Picture
Looking to display the value of a coordinate, however using the below, the value does not print out accurately.
The scale is attempted to be retreived using Recover scaling factor in TikZ and then use ...
0
votes
0
answers
31
views
Draw a three dimensional sphere with TikZ that looks like this [duplicate]
I would like to draw a simple sphere with radius 1 in a three dimensional coordinate system that has some kind of grid on its surface, i.e. like in the following picture that I found.
I was wondering ...
1
vote
0
answers
59
views
LaTeX Error: Illegal parameter number in pgfplots coordinate list
I am experiencing a persistent error when trying to compile a pgfplots scatter plot in LaTeX. The error message I receive is:
./test.tex:23: Illegal parameter number in definition of \pgfmaththisrow@....
2
votes
2
answers
119
views
Intersection -| of a named and a calculated coordinate
I want to use the intersection of a named and a calculated coordinate, in other words the y-coordinate of a named coordinate but the x-coordinate of a calculated coordinate, such as the point Z below, ...
0
votes
0
answers
37
views
TikZ: collecting defined coordinates in a list
I want to collect previously defined coordinates in a list and print them later in a \foreach-loop for debugging purposes.
The following MWE shows the list \points which ideally should be defined and ...
2
votes
1
answer
125
views
PGF is extracting wrong x/y values from a coordinate. How can I extract correct values?
Consider this MEW,
\nonstopmode
\documentclass{article}
\usepackage{tikz,amsmath}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\draw [gray!10](-...
3
votes
1
answer
121
views
Circuitikz - aligning nodes
I was drawing circuit in tikz and find problem.
First problem: I am not able to align verticaly open nodes on the left. Is there simple solution for that?
Second problem: Is there way to get for ...
0
votes
0
answers
48
views
Default unit for x,y components of `tikzmath` coordinate is in `pt`
Lets say I want to draw a line on a grid given two points A,B:
\documentclass[tikz]{standalone}
%mixing defs and coordinates is a bad idea
\usetikzlibrary{fit,shapes,calc,matrix,math,positioning,...
3
votes
4
answers
162
views
How to pass a \def coordinate to macros
I am trying to pass a \def coordinate to a macro and got an error. Below is the code. The macro with direct passing works, but the two commented out lines don't.
\documentclass[border=1cm]{standalone}
...