Questions tagged [grids]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Unexpected behavior from \vspace in a grid of \includegraphics

I am trying to produce a grid of plots using the code below. Due to the sizing, the seventh plot is vertically offset a bit, as can be seen in the first image. But adding \vspace{-0.2in} to before the ...
1
vote
0answers
23 views

How to include code inside a grid in a question?

I'd like to ask a question in the exam class that gives code, but is not complete and needs to be completed. Of course I can use the \fillin command, but I think it would be better if there was a grid ...
1
vote
1answer
43 views

Creating a map-like grid using tikz

Problem I am planning a trip for vacation and I decided to customize a map of spots I am going to visit using snapshot from Google map. Specially, I would like to make a grid that looks like the ...
3
votes
3answers
76 views

How to draw vectors with labels and grids?

[![enter image description here][1]][1]I would like to put this grid inside a document. But compiled, the grid appear to be out range. here is my code: \documentclass[10pt]{article} \usepackage{...
4
votes
1answer
66 views

How to draw under-text grid lines in minipage?

I want to achieve like shown below: But the only thing I can get with ulem is: With the code below: \documentclass[12pt]{report} \usepackage{ulem} \begin{document} \begin{center} \begin{minipage}...
0
votes
3answers
136 views

2d Grid with Tikz and Nodes

I'd like to create the following graph: But I can't figure it out. I'm pretty new to Tikz and nodes in general, so a simple solution is appreciated. Here is another grid but I can't figure out how ...
1
vote
0answers
16 views

Grid alignment of 4 images [duplicate]

I wanted to align the four images in a grid of 2x2, but the images are getting arranged vertically. I'm working on a template of IEEE format. This is the code that I'm working on: \begin{figure}[!tbp]...
5
votes
3answers
666 views

I drew a randomly colored grid of points with tikz, how do I force it to remember the first grid from then on?

I'm using beamer and I have a randomly colored grid (three colors, 4 x 19 grid) on the slides. Since I use the \pause command, it generates a new grid every time I click to the next point. How do I ...
1
vote
3answers
30 views

How to bring points in a tikz grid closer together/remove the space between points in grid in tikz?

So I have a grid of 4x19 points/small circles, which need to be individually colored later. It has to fit into a beamer presentation sheet, so the points have to be brought closer together. This is ...
2
votes
1answer
71 views

Tikz Mindmap, grids and 3D layers

I try to create a complex Mindmap to describe a course. However there are multiple levels of complexity i'd like to explain with multiple grids (one above/next to the other) as in Grids I tried to ...
1
vote
1answer
133 views

TikZ: Get values for predefined dash patterns for grid in the option help lines

I would like to see other similar or different ways of resizing the strokes when drawing a grid with the help lines option when a dashed pattern is used. Here's an example below. \documentclass{...
2
votes
3answers
90 views

Inset plot in pgfplots with zero opacity - mixed grids

I am trying to draw an inset within the region of a pgf plot by creating a second pair of axes, as can seen in the following code. \documentclass{standalone} \usepackage{tikz, pgfplots} \begin{...
1
vote
2answers
91 views

Grid width not textwidth when using fillwithgrid (exam package)

When inserting space for answers by \fillwithdottedlines the resulting lines have the same width as textwidth. When using \fillwithgrid the resulting grid is smaller on both sides: \documentclass[...
1
vote
1answer
198 views

Removing vertical grid lines from graph

I am trying to remove the highlighted vertical grid lines from my graph. How would I achieve this? The following is the code I have written: \documentclass[]{article} \usepackage[margin=0.5in]{...
4
votes
1answer
97 views

Improve perspective visualization in 3d plot

I'm trying to vizualize the computation of Euclidean distance in 3d using pgfplots. This is my current attempt: \documentclass{article} \usepackage{pgfplots} \begin{document} $\mathrm{dist}(p,q) = \...
2
votes
2answers
219 views

Grid with coordinates on all sides?

This is a request for an enhancement to this fairly amazing answer by Loop Space: How can I show coordinates by grid in TikZ automatically?. This answer gives a recipe for placing a grid on a page ...
6
votes
1answer
130 views

Context: \defineparagraphs aligned to grid?

I am a beginner in ConTeXt, and I don't understand why \defineparagraphs turns off grid alignment here: \showgrid \setuplayout [grid=yes] \defineparagraphs[AntiphonNo][n=2] \setupparagraphs[...
3
votes
1answer
141 views

TikZ: help coordinate grid lines [duplicate]

When creating tikz pictures I quite often think that it would be quite useful to display a coordinate grid like this in the background of my picture in order to align certain points, lines, etc. I ...
4
votes
1answer
75 views

Drawing a sub cubic grid inside a cubic grid (with different gray scales)

This is a related but very simple follow-up to a previous question, inspired by the comment of @marmot "Or do you want to use different grays for different planes?" Here is what I have This is a 8 x ...
3
votes
3answers
186 views

How to draw a much more dense grid or lattice?

My inquiries: 1) How to draw a much more dense grid in 2-dim? 2) How to draw a much more dense grid in 3-dim? Let us say it is still 4 x 4 in 2d or 4 x 4 x 4 in 3D in size, but I want to have ...
2
votes
1answer
30 views

How can I get the captions and images aligned?

I have this code \begin{figure} \begin{tabular}{cc} \subfloat[$T_s$ = 119 Position with sine]{\includegraphics[width = 2in]{T119PosiSin.eps}} & \subfloat[$T_s$ = 118 Position with sine]{\...
1
vote
1answer
96 views

Add a grid on figures for trimming purpose (by redefining \includegraphics)

I need to (temporarly) redefine \includegraphics command for trimming purposes. This is my MWE: \documentclass[11pt]{article} \usepackage{graphicx} \usepackage[abs]{overpic} \pagestyle{empty} \begin{...
1
vote
2answers
138 views

How do I label the axis of a sinus using pi? [duplicate]

I am plotting a sinus function using a pgfplot and would like that the tick of the x axis was labeled using multiplers of pi (pi/4, pi/2, 2*pi...), for they are the "important" x values to visualize ...
15
votes
2answers
1k views

Dot grid with increasing dot size

A friend of mine asked me if it would be possible to create a dot grid with increasing dot sizes as shown in the picture (without the icons): I'm aware that there are tons of tikz-dotgrids to find on ...
1
vote
0answers
66 views

Grids in tikz taking into account page breaks

The following code creates a numbered grid with Tikz. I would like to adapt the << quadrill >> environments to the page breaks. Actually a grid can not be split in two parts between two pages. ...
1
vote
0answers
36 views

Plotting a Grid (with Graphics + Text) in TeX?

Question: Using resources from the TeX universe, what is the best way to create a graph similar to the one below (i.e., a 2x2 matrix with different images at different coordinate locations, with text ...
1
vote
1answer
96 views

Numbering in 2 Dimensional grid using beamer and dividing the slide into two halves as shown in figure

Hello, I'm trying to number the elements in the grid as follows. I'm wondering if I can get some help. Thank you. I'm confused to write the logic. \documentclass{beamer} \usepackage[english]{babel} \...
3
votes
0answers
99 views

Dot grid in latex as background [closed]

I'm trying to make a printable daily planner using Tex. This would be my first project. What I want to achieve is for all the pages to have a dot grid background with the standard 0.5 cm space between ...
2
votes
1answer
383 views

Small scale grid using Tikz

I am trying to create a grid that only has a domain between -0.8 and 0 and a range between -0.8, 0,8, with the grid not showing any positive X values. Thus far I have this: But when I try to shrink ...
2
votes
3answers
215 views

Insert grid on tikz picture with standalone

I'd like to insert a grid to fill the whole picture. I'm trying to mimic a blueprint paper. So, I have two questions: Why the use of colored rectangle change the border around picture? Why the grid ...
2
votes
1answer
295 views

grid lines - how to contain within the first quadrant

As you can see from the screenshot of the output, the grid lines extend through the tick labels. How would you keep the grey grid lines within the first quadrant? Many thanks \documentclass[]{...
4
votes
1answer
101 views

making a cartoon plot of some grids using tikz

I want to use latex to generate similar figure as following plot using tikzpicture. For instance using the example given here \documentclass{article} \usepackage{tikz} \begin{document} \begin{...
8
votes
2answers
351 views

Graph of a matrix for a 2D grid using certain discretization scheme

I have a 2D grid which will result in a sparse matrix when discretized with 2nd order central difference scheme using finite difference method (5 point stencil). Is there a way to generate a matrix ...
0
votes
0answers
43 views

Tikz grid in an environment [duplicate]

I would like to create an environment having the following role: create an exercise (called "exo" in the sequel) and a grid with a prescribed number of lines. My environment exo works fine, but not ...
0
votes
1answer
147 views

Creating a complex notation table

I'm very new to latex and trying to recreate this table from word into latex but I have no idea where to even begin. Any help would be greatly appreciated
0
votes
1answer
148 views

Grid with a number

I know how to create a grid by using TikZ and the following: \documentclass[a4paper,10pt,table]{book} \usepackage{tikz} \usetikzlibrary{arrows,plotmarks} \def\quadrill#1{\smallbreak\textcolor{gray} ...
2
votes
1answer
142 views

exam.cls package change grid color

I'd like to change the grid color in the exam.cls package. By default, it seems to be black (although in the documentation it says the default color is gray). Anyway, I would like to have a very light ...
2
votes
1answer
127 views

PSTricks \psaxes— aligning minor horizontal grid lines

In the MWE below (a coordinate system having its first axis logarithmized), major and minor ticks misalign. I have tried to figure out which logic for I should apply for the yticksize=0 8 option, but ...
5
votes
3answers
317 views

Triangular numbers (again) in TikZ

I am trying to recreate the following diagram for triangular numbers (smaller triangles within one larger triangle) using TikZ. The colour is not important but white and grey is probably preferred. ...
3
votes
1answer
296 views

Grid typesetting

Question Is there any way to manage that text stays on the grid given by a tikzpicture? Screenshot MWE \documentclass{article} \usepackage{tikz} \usepackage{eso-pic} \AddToShipoutPicture{% \...
11
votes
2answers
1k views

TikZ grid inside a circle

any idea how I could draw an even grid inside a circle in TikZ? I could manually add invisible nodes on the circumferences and connect these with lines but there is probably a more sophisticated way ...
1
vote
2answers
476 views

Beamer presentation without stretching of vertical spaces

Currently I am updating and extending my beamer themes. Thereby I also want to solve a spacing problem, which is sometimes quite annoying. Think of the following example: \documentclass[t]{beamer} % ...
1
vote
1answer
64 views

How to make single-spaced quotation in double-spaced document using grid package

I am new user and learning. I am interested in grid layout using grid.sty and trying to get a simple two column, double-spaced document with single-spaced quotation. I did baseline fontsize=12pt and ...
5
votes
1answer
421 views

Coloring of grids in tikz

Each block in each grid need to have a tone color from the (white - black) color scheme. Hence, there will be 25 different tones of gray in each grid. The grid below the arrows will be an exact copy ...
12
votes
1answer
2k views

Drawing manifolds in tikz

I know that there are other posts here addressing this issue, but none of them really made me able to draw the picture i have added below. I'm quite new to TikZ, so I would love to get some help with ...
2
votes
1answer
118 views

I'm trying to create a pathway grid that has holes using Pascal's triangle in latex. Also the compass

The picture below gives the idea of what I'm trying to do. Also I'm not sure which tag to use for this specific question. The code I am using: \documentclass[28pt]{article} \usepackage{...
2
votes
2answers
412 views

How to draw grid by given four points in Tikz?

It is easy to draw a grid on a square if the square is not rotated. But for rotated squares it is difficult for me to grid it. I want to grid a square by given four points. for example the following ...
1
vote
1answer
371 views

Tikz create perspective grid

i was wondering how i could create a perspective 2D grid like this blue one on the left: https://tinytutorials.wordpress.com/2011/02/15/illustrator-cs5-perspective-grid-manipulating-the-perspective-...
2
votes
0answers
115 views

Representing Conway's Game of Life [duplicate]

I'm writing an article about Conway's Game of Life, and I'm using the Springer LNCS template. In my article, I must sometimes show some game of life patterns, for example the following: To generate ...
3
votes
1answer
110 views

Setting minor ticks while keeping no border

I want a grid that has no gridlines on the edges, hence I set the following code to have domains and ranges to be odd numbers. However, setting minor tick, you can see in the picture that the minor ...