The grids tag has no wiki summary.
4
votes
1answer
100 views
Different xstep and ystep in TikZ with to[path] (precisely to[grid with coordinates])
As it's my first question, I want to say hello first!
I am using [grid with coordinates] code from Andrew Stacey answer (link) for How can I show coordinates by grid in TikZ automatically?.
I ...
4
votes
0answers
118 views
Is fine-grained grid control possible? [closed]
I want to make a variety of checklists which are essentially based on a grid layout. I care about having fine-grained control over the exact placement of labels and boxes. I do not care about ...
9
votes
1answer
104 views
Loop Over Grid File
I have a grid file with data such as:
5
4
0 0 0 0 0
0 1 1 2 0
0 2 2 1 0
3 0 0 3 1
where 5 is the width of the grid, 4 is the height, and each number in the grid corresponds to an elevation. I can ...
2
votes
0answers
226 views
Off Grid Circuitikz Symbols
Shouldn't circuits line up on the grids? Otherwise, drawing code get messy -- really quick. I have found pins-to-grid alignment to be common practice in most the Schematic/Diagram programs I have ...
5
votes
2answers
257 views
Tikz and pgf: Grid of Dots with Text and Circles
I wish to have a grid of points or dots along with the labels, and combine them into a single figure like the one below.
I tried the closest graph I can for the first grid in the top left, and ...
6
votes
1answer
479 views
Change the appearance of grids in pgfplots
I am asking if there is a command in the pgfplots package that changes the appearance of the grid in terms of kind of the lines. What I mean is how to change the kind of lines. I have read the ...
5
votes
2answers
185 views
Small grid with no labels
How do I remove all labeling from a small grid to be used for a math test? I have created the grid with \graphpaper but get coordinate labels that I don't want.
9
votes
1answer
330 views
Missing horizontal or vertical lines when drawing backwards TikZ grids
Look at next code, when I want to draw a grid from right to left or top to bottom, vertical or horizontal lines are not drawn, even with xstep=-1 or ystep=-1 (as it's suggested in Jake's answer in ...
2
votes
1answer
314 views
How to only draw grid lines for ticks with labels in pgfplots?
I'm using the dynamic dict from mail-archive.com
It generates automatically the data for the x axis.
I want only every second (or every third, ...) tick and grid line. I've already managed to omit ...
5
votes
2answers
524 views
how to draw a hexagonal grid with numbers in the cells
The problem of drawing hexagonal grids has been discussed here: Drawing Hexagons
I want the shape of the grid to be hexagonal and furthermore, I want to be able to add numbers in the hexagonal cells. ...
5
votes
1answer
337 views
Is there any way to remove mesh lines completely in a pgfplots faceted 3d plot?
I can not seem to find the way to remove the lines in the surface mesh in a 3d faceted plot. I need a solution that does not use the "shader=interp" (i.e. gradient filling) so that the faces are ...
4
votes
1answer
238 views
Creating a grid which fills available text area on a page in ConTeXt?
I have some pages containing only a small paragraph at the top and a large empty area where readers can add notes or draw, e.g.:
_______________
| |
| This is some |
| text in a pa- |
...
6
votes
1answer
327 views
Grid missing horizontal lines
The following code:
\begin{figure}[!t]
\centering%
\begin{tikzpicture}[xscale=1,yscale=1,auto, inner sep=0pt,remember picture]
\node[anchor=north west,inner sep=0] (image) at (0,0) ...
3
votes
1answer
319 views
Changing grid size in tikz-timing package
The grind in the figure contain a grid of 2x8 squeezers (2 rows and 8 columns) and I use 4 elements.
How could I tell tikz-timing to use a grid of 1x4 squeezers?
Below is an example of my code:
...
3
votes
1answer
245 views
Best way to create a photo directory?
I'm trying to use LaTeX to create a photo directory. On a given page, I want it to have a grid of photos (which are of varying aspect ratios) with the information for that person above/below the photo ...
3
votes
1answer
324 views
Grid customized
I would like to build a grid such as the figure shown below where each grid point is surrounded by some of the two curves that describe below.
First curve: an outline around the point forming a ...
8
votes
1answer
400 views
Canvas transformation of grid to curvilinear grid
I would like to draw a curvilinear grid/mesh like this (sorry for freehand drawing)
I thought the easiest (and most elegant) solution would be to apply a canvas transformation to a regular grid in ...
11
votes
2answers
523 views
Background baseline grid with output routine
I am trying to get a baseline grid in the background of every page. I am using the plain format with XeTeX. This is what I have tried:
\baselineskip=13pt
\topskip=0pt \parskip=0pt
\newbox\gridbox
...
19
votes
3answers
2k views
How can I show coordinates by grid in TikZ automatically?
I have the following TikZ code which draws a grid and shows the coordinates.
To display the coordinates I am using the loop foreach.
\documentclass[12pt]{article}
\usepackage{tikz}
\begin{document}
...
11
votes
5answers
732 views
TikZ Grid Without Edges
I have a TikZ grid
\draw[step=0.5cm,color=gray] (0,0) grid (3.5,3.5);
But I'd like to draw the grid without edges, or with half of the edges cells missing, so that it appears to be a small section ...
18
votes
2answers
1k views
Tikz Polar Grid
I'm working on a Smith Chart using TikZ. Currently I'm writing it with everything scaled to a unit circle (centered on 0,0 with a radius of 1) without units. Then scaling so it's a reasonably sized ...
4
votes
3answers
1k views
Fill a grid with TikZ
How do I fill a grid in TikZ? I want to do something like:
\draw[draw,fill=red!20] (0,0) grid (2,2);
instead of manually drawing 4 rectangles.
3
votes
1answer
486 views
How can I create an angled grid in a 2D PGFPlots plot?
Is it possible to make PGFPlots display 45° height lines in an axis? Basically, what I am looking for is a grid defined by y=-x + k*1000, k being a natural number. My numbers are rather large, e.g. y ...
8
votes
3answers
980 views
Drawing a tree of grids
I need to draw a game tree that is similar to the image below. Is there any way to do this using the Tikz package so that the grids can simply be added as nodes?
11
votes
2answers
642 views
Missing TikZ grid borders
As in here, the code
\draw[step=0.5cm,color=gray] (-1,-1) grid (1,1);
gives me a nice finite 4x4 grid. But when I choose a different starting point, like
\draw[step=0.5cm,color=gray] (2,2) grid ...
3
votes
1answer
2k views
Grid to facilitate positioning of objects with \put in beamer
In presentations with the beamerpackage I use \put a lot to place graphic objects like this:
\newcommand{\putat}[3]{\begin{picture}(0,0)(0,0)\put(#1,#2){#3}\end{picture}} % just a shorthand
...
14
votes
2answers
2k views
Drawing hexagons
I have a case where I need to draw a hexagonal grid in LaTeX. I am considering just reading the grid from an eps file.
Is there an alternative way to do it completely within LaTeX?
23
votes
3answers
2k views
How to draw triangular grid in TikZ?
Is there an easy way to draw a triangular grid in TikZ, like this?