Questions tagged [grids]

{grids} is about the arrangement of elements next to each other and/or among each other according to multiples of a specified uniform distance. Grids can either be visible and drawn via packages like `tikz-pgf` or used as an invisible design aid to facilitate the positioning of elements.

Filter by
Sorted by
Tagged with
3 votes
2 answers
234 views

Generating a specific graphic with TikZ

I am wondering how to generate a specific image with TikZ. This image is essentially a lattice grid without the grid, with a triangle, rectangle, and other shapes overlayed in a particular way. I ...
user avatar
  • 31
1 vote
1 answer
57 views

How to draw arrows on a grid?

I am a little new to LaTeX and I am trying to draw this grid with arrows using TikZ. Currently I am only able to draw the grid using : \begin{tikzpicture} \draw[step=1cm, black] (-1.9,-1.9) grid (5.9,...
user avatar
3 votes
1 answer
69 views

Transition map on manifold

I am trying to make this tikzpicture using the answer from Drawing manifolds in tikz but I can not make the intersection of U and V gray. If I make U and V white then the intersection would be white ...
user avatar
3 votes
0 answers
78 views

Grid layout offset adjustment and non-uniform columns in LMTX

I'm trying to emulate the style of Jean-Luc Doumont's presentation. Here is his slide, with a grid overlay (please open in a new window of image viewer as the gridlines are hard to see on tex....
user avatar
  • 529
1 vote
2 answers
54 views

Rotate a grid inside a circle

I have the following code, \begin{document} \begin{tikzpicture} \draw[thin,<->] (-4.5,0) -- (4.5,0); \draw[thin,<->] (0,-4.4) -- (0,4.5); \clip[draw] circle (4cm); \draw[step=0.3cm,red,...
user avatar
  • 237
4 votes
2 answers
95 views

How do I design a centered grid that consists of a 1x2 grid stacked on top of a 1x3 grid?

I know that I can use the TikZ package to create axb grids, but is there a way to create a more complicated grid like a 1x2 grid stacked on top of a 1x3 grid? For reference, I am interested in ...
user avatar
0 votes
0 answers
62 views

Drawing grids with predefined outlines

I use the following code from the answers to this post and this post to fill rectangular grids with predefined shapes. Is it possible to fill grids with predefined outlines, other than the default ...
user avatar
  • 4,183
1 vote
1 answer
87 views

coordinates on the x axis of tikz plot are incorrectly displayed

I am trying to draw a function as well as a shaded grid on the same axes. Although I use a step size of 1cm in the grid between -3 and 0, the xticks, as well as the shaded region look misplaced. how ...
user avatar
4 votes
1 answer
239 views

Inserting a dice-simulation code in different locations

I use the following code from the answers to this post, and this post to insert dice-simulation code in different locations. How can I put the dice code in a style to be inserted in different ...
user avatar
  • 4,183
0 votes
2 answers
67 views

Invisible edge and boundary: How can I generate full A4 perfect grids and "full vertical" lines?

Introduction I want to generate a perfect and full controllable grid of dots or simple grids. But LaTeX isn't allowing a whole grid, it seems there exists an "invisible boundary" at the top ...
user avatar
  • 121
0 votes
1 answer
69 views

Simplifying Filling grids

To draw a filled grid, I used the first code (from this post). I managed to reduce the code a little bit by using the second code, utilizing \foreach. Is it possible to simplify it further by filling ...
user avatar
  • 4,183
1 vote
1 answer
62 views

Forcing different size svg images into symmetric grid

I have a grid of 4 svg images that I am trying to force into a grid. My problem is that when I put them into LaTex the grid alignment is slightly off. I have tried: moving the \hfill to different ...
user avatar
  • 182
2 votes
1 answer
92 views

Drawing a grid filled with pre-defined shapes

To draw the progress of a game of Coloraddo, I used the following code from the answer to this post. I noticed that, in the bottom grid drawing, the last 9 uppermost right squares do not display the ...
user avatar
  • 4,183
2 votes
1 answer
109 views

Arrange TiKZ pictures in a grid, touching each other

I am working on a board game and want to cut out a prototype of my cards. I set up the cards as a TiKZ picure template and then I put them all in a longtable to have a grid of cards, which I'd print ...
user avatar
4 votes
1 answer
104 views

TikZ grid - filling a cell by directly accsessing it

I discovered TikZ the day before yesterday and now I try to create a grid with 10 columns and 10 rows. It would be convenient to fill the grid boxes with color in a constant and clear manner. I hope ...
user avatar
  • 141
6 votes
1 answer
243 views

Tikz - Randomly fill 3D grid with color shades

I'm trying to create a "3D" schema of a grid where every "pixel" is colored with a random shade of blue (or whatever other color). As a tikz beginner, I'm already glad that I ...
user avatar
  • 277
1 vote
1 answer
69 views

How do I get a grid to match up between front and back of the same page?

I've got this grid that I create using tikz (the actual code does more stuff, this is just an MWE). I'd like to print it two-sided such that, if you look at the sheet with a backlight, the lines would ...
user avatar
  • 492
9 votes
3 answers
595 views

How can I put a grid/squared paper behind a single formula?

Sadly I didn't found any source showing this. I just need a grid behind some math. Usually I box equations using: \documentclass[preview]{standalone} \usepackage[most]{tcolorbox} \begin{document} \...
user avatar
  • 363
7 votes
4 answers
2k views

How to render a Futoshiki puzzle?

I'd like to have a Futoshiki puzzle in a document. It is a game similar to Sudoku, with the added information that there are signs between some adjacent cells that indicate which should contain a ...
user avatar
  • 181
2 votes
1 answer
109 views

How can I draw 2 tikz rectangular grids side by side

Here is my MWE. I have the following setup. I want to put a rectangular grid beside X (same size as X) and another(same size as X) to the left of W. basically. I'm doing Q o X = Q o (W.H) (o is a ...
user avatar
0 votes
1 answer
106 views

Calendar with days in columns; week number and habit tracker

Below you can see a page of my bullet journal. The layout is very efficient, but I have to draw the lines and fill in all calendar days by hand! Thus, for the next year, I would like to build a ...
user avatar
0 votes
1 answer
81 views

what latex package should i use to get these diagrams?

im trying to use latex to draw out diagrams from lambda phi 4 theory and they look a bit like this: what packages do I use to achieve drawings like this? and how exactly do i do it? I'm really new to ...
user avatar
  • 1
1 vote
4 answers
167 views

How to draw the proof of Pythagoras (Zhaoshuang's Proof) in Latex

I need to draw that fig.(ref to the pic below). I have referred to some practices, but still to no result. I am stuck at the point how to draw a grid? Thx....
user avatar
0 votes
2 answers
79 views

Tree of matrices and grids

I can make a grid and set queens on it with a matrix. But now I want to make them a node, because I want it to be part of tree. And now the grid and the matrix are separated. Here is my code : \...
user avatar
  • 63
2 votes
1 answer
175 views

Drawing a chess queen in a Tikz grid

I'm quite new to LaTeX and I'm trying to replicate this using Tikz: I know there is some chess-related things I can include, but it diesn't seems to be adapted for something like this. \documentclass{...
user avatar
  • 63
0 votes
0 answers
128 views

pgfplots show grid in 3D plot only in background

I created a 3D plot in pgfplots and I would like to show the grid of the 3D box only in the background. According to Section 4.11.3 "Appearance Of The 3D Box" of the pgfplots manual, 3d box=...
user avatar
  • 139
4 votes
1 answer
100 views

Use year as label for monthly data histogram

I have data in the format year,month and amount. I want to illustrate this data using a histogram. Since the data covers multiple years, printing the months just stacks everything. I try to use the ...
user avatar
1 vote
1 answer
52 views

How to draw irregular inline grids/squares (related to rook polynomials)

I'm studying rook polynomials, and I want to draw some figures like the one below in LaTeX. I understand how to draw chessboards using tikz, but I can't think of a way to draw those "irregular&...
user avatar
0 votes
1 answer
83 views

How do I plot a grid with tikz

But I need dashed boxes and blue color (better semi transparent):/ Too new to tikz, no Idea how to embed grid into labled axis..
user avatar
2 votes
1 answer
131 views

A grid in a cartesian plane of clocks using clock package

In relation from these question (the first it is mine) A distribution of clocks in different rulers in a 3D plane and Draw a table of clocks on a plane, what are the best methods to put the clocks of ...
user avatar
  • 46.3k
1 vote
1 answer
117 views

Specify gridlines style to `extra y tick labels`

I couldn't understand how to style additional grid lines added with extra y tick style. Perhaps I am missing something. Here it is explained how to draw grid lines only at specified positions, and ...
user avatar
  • 232
0 votes
1 answer
90 views

How do I draw these grids?

The problem is ok, drawing a grid should not be the problem, but how do I draw blurred blue stains in the square where arrows start?
user avatar
  • 515
0 votes
1 answer
92 views

Vertical alignment in grid of images

I'm trying to create a grid of images, with two titles and a caption/text (like in the attached image) on the left side for each row (without the word "Figure"), such that the left text ...
user avatar
  • 147
1 vote
1 answer
210 views

Simple grid drawing in TikZ

I need to draw something in TikZ, but I am still inexperienced. Can someone help and draw this in TikZ? Thank you very much.
user avatar
1 vote
0 answers
32 views

2D lattice inside a coordinated plane? [duplicate]

I am trying to draw a lattice in a coordinated plane such as this but have no idea how to do it. I have searched for similar posts but cannot find anything similar to this.
user avatar
  • 11
3 votes
1 answer
111 views

How to write inside a tikz grid

I would like to write an a in the rectangle that I marked below. I suppose the solution uses nodes somehow but until now I could not figure it out. Thanks in advance! \documentclass{article} \...
user avatar
  • 367
2 votes
1 answer
52 views

On the saturation of fontsize

Below I wrote a code using the grid package showing: When the fontsize is 20 the height of the parenthesis is 20 points, which is what we expect. When the fontsize is 40 the height of the parenthesis ...
user avatar
  • 1,491
3 votes
2 answers
492 views

Font Size and fbox Size

When we set the fontsize to be 20 points I am wondering which size of the fbox bonding box enclosing a letter is 20 points. To understand I write a code as below and there are two main questions I ...
user avatar
  • 1,491
1 vote
2 answers
88 views

Hi, fairly new to LaTeX, I have a few problems with a graph that I am trying to draw in tikz pictures with pgfplots. They are listed below

Problems: 1) I want to remove the pesky grid lines from the bar plot. 2) I want a separate bar plot some distance from the others with the labels n and n+1. Similar to picture 1 ...
user avatar
0 votes
0 answers
58 views

Changing color of grid

I am using overpic package on a standalone document class. I want to write some text over an image. However, the image I am using is black, therefore, the grid does not seem to be helpful here. How ...
user avatar
1 vote
1 answer
274 views

How to draw `grid lines` with `contour gnuplot`?

This is a follow up question of Tick labels not showing when using `contour gnuplot` and `axis line = middle`. The difference is that I added the grid lines in the code. However it is not drawing it. \...
user avatar
2 votes
2 answers
166 views

TikZ: Dot-comparison table

perhaps I am using the wrong terms in my searchings. Can anybody give me a clue/link/idea how such a dot comparison matrix/grid would be possible? I am not very good in TikZ, so bear with me if my ...
user avatar
1 vote
1 answer
69 views

Create a minimalistic grid/table showing interaction between two things

Is there a way to create the following minimalistic-looking grid/table? The grid should have thick lines. The cells should be write-able. There should be a label denoting the name of the "...
user avatar
2 votes
1 answer
115 views

TikZ grid lines shifted slightly

I know that this is not really important, but it bothers me that I do not know if is an internal rounding error, or there are some offsets I do not know about!? The lines of a grid are shifted ...
user avatar
0 votes
1 answer
32 views

How to cover a grid with another grid

In Tikz I would like to display multiple overlapping grids such that the last one covers the previous ones. This is the code and the wrong output I get, where you can see the intermediate line of all ...
user avatar
  • 203
0 votes
0 answers
112 views

Tikz: Drawing a grid-matrix with text specifications and coloring

I am new to Tikz and I am trying to draw a very specific graph. It contains several features that with my limited knowledge I am unable to make. It is a grid type of drawing with some text ...
user avatar
1 vote
0 answers
47 views

Nichols chart grid for PGFplots?

So I have seen smithchart in the pgfplots library. I know that there is the bodegraph package, but for some reason, I don’t like the look of the grids, and prefer the original pgfplots over bodegraph (...
user avatar
  • 1,437
0 votes
2 answers
99 views

How do I represent a grid with few thick edges?

How do I represent the following image in LaTeX? I could have done it using \tikzpicture, however I wish to have few bold edges as described in the image (grid corresponding to time step k+1). I am ...
user avatar
0 votes
1 answer
174 views

How to integrate number in to a grid

Background: I have written up some code that creates a grid layout, so that it can be used to practice some Katakana/Hiragana characters. Question: How can I add a numbering system across the grids in ...
user avatar
  • 819
0 votes
3 answers
104 views

How to make add a square box inside another?

Is it possible to create the picture shown below in LaTex? I am fairly new to this software and any help would be greatly appreciated. I know how the code to start off the square but I'm not sure how ...
user avatar
  • 47

1
2 3 4 5