Quantcast
Channel: Question and Answer » tikz-pgf
Browsing index pages (959 articles)

How to draw Forward time difference diagram in TikZ?

I am trying to draw a diagram of mesh points for Forward time difference method (frac{u_{i}^{n+1}-u_{i}^{n}}{Delta t}) in TikZ but I am unable to draw it. I have only drawn coordinates by using...

View Article


Tikz problem since TeXLive 2015 update

sorry if I do something wrong, it is my first post. I generate usually pdfs with gnuplot by using the output terminal tkiz to generate first a .tex and afterwards a .pdf. I recently updated to TeXLive....

View Article


Image may be NSFW.
Clik here to view.

How to label/tag TikZ diagrams?

I would like to be create diagrams using TikZ that have a number on the side of the page (like the equation environment makes) that I can label using label and cross-reference using ref. Essentially, I...

View Article

Image may be NSFW.
Clik here to view.

3D arrows with TikZ

Asymptote does give 3D arrows when drawing three dimensional figures (they even have shade!). Could we fake it with TikZ? Here’s an example, manually written, with just one arrow worked:...

View Article

Image may be NSFW.
Clik here to view.

Generating minimal-looking graph in pgf plots

I want to generate simple-looking plots such as this one: I’ve tried the following: usepgflibrary{shapes.geometric} usetikzlibrary{calc} pgfplotsset{my style/.append style={axis x line=middle, axis y...

View Article


Image may be NSFW.
Clik here to view.

Problem with scaling multiple tikz picture in one line

This is one of the first figures I drew with latex. documentclass[a4paper,10pt]{scrbook} usepackage[utf8]{inputenc} usepackage{tikz} usetikzlibrary{calc} usetikzlibrary{intersections}...

View Article

Image may be NSFW.
Clik here to view.

Loose bounding box with circular arcs

Consider the following MWE: documentclass[border=5pt]{standalone} usepackage{tikz} begin{document} begin{tikzpicture} draw (0,0) circle (1); draw[blue] (current bounding box.south west) rectangle...

View Article

How I can break a long tikz box in an automatic way?

documentclass{article} usepackage{tikz} usetikzlibrary{shapes,snakes} usepackage{amsmath,amssymb} begin{document} % Define box and box title style tikzstyle{mybox} = [draw=red, fill=blue!20, very...

View Article


Image may be NSFW.
Clik here to view.

Determine width of a milticolumn cell

I am attempting to draw a rectangle within a multicolumn, and would like it to span the width of the cell and be consistant with a similar rectangle drawn in a standard cell. I am struggling to...

View Article


Image may be NSFW.
Clik here to view.

TikZ – draw only vertices of a path line

Is there a way to draw only the vertices of the triangles? begin{tikzpicture}[x=1mm, y=1mm] coordinate (A) at (0:12); coordinate (B) at (120:12); coordinate (C) at (240:12); foreach i in {0, 1, ...,...

View Article

Image may be NSFW.
Clik here to view.

TikZpicture/pgfplots: How to reduce quantity of displayed xticklabels when...

I want to generate a simple x/y-diagram with data out of a data-table (~ 2000 values). Minimum Working Example (MWE): begin{filecontents}{Data_Table.csv} X Y 00:00 0 00:01 50 00:01 100 00:02 150 00:02...

View Article

Image may be NSFW.
Clik here to view.

xcolors cellcolor overlays tikz background

I’m using mdframed with the tikz option to define my own environment. Unfortunately, if I’m using a tabularx environment with xcolor‘s cellcolor command, it is overlaying the header of my box. Here’s a...

View Article

Adding dipole moments in chemfig

I haven’t been able to find anything in chemfig for adding dipole moments to my molecules beyond creating custom arrows with tikz, which is more involved than I’d like at the moment. Is there some...

View Article


Image may be NSFW.
Clik here to view.

Need code for Beamer presentation

For my presentation using beamer I need code for this image structure. can anyone help me??

View Article

Image may be NSFW.
Clik here to view.

Tikz 2 part line to label item

I’m looking for a way to construct the line (image attached showing 2 different possibilities) in Tikz without using a node at the junction point of the two line segments (horizontal and diagonal). I...

View Article


TikZ: how to draw a diamond child

I neew to draw an “easy” flowchart. I would do that, using che child statement. I’ve used (as example) an example found here. I’ve m odified it, that is the code: documentclass{article}...

View Article

Image may be NSFW.
Clik here to view.

TikZpicture/pgfplots: How to insert time-data in mm:ss-format (without hh:)...

Imagine an ordinary x/y-diagram by using the pgfplots/tikzpicture-packages: In case of regular date-values (dd-mm-yyyy) usually there is no problem in application. But now, I have to add times-values...

View Article


Image may be NSFW.
Clik here to view.

Buggy behavior of tkzMarkAngle

I’m trying to mark an angle on a 3d plot with tkzMarkAngle which seems to behave quite oddly in combination with tdplotsetmaincoords Here’s what I mean, below is the minimal example:...

View Article

Image may be NSFW.
Clik here to view.

tikz foreach calculations

I am trying to do a simple calculation with the tikz foreach, but it does something very suprising: documentclass{article} usepackage{tikz} usepackage[active,tightpage]{preview}...

View Article

Drawing a picture in texmaker showing decorations errors

Here is the code that I want to use in Tex Maker. documentclass[12pt]{report} usepackage{amssymb} usepackage{amsmath} usepackage{tikz} usepackage{pgf} usetikzlibrary{decorations} begin{document}...

View Article
Browsing index pages (959 articles)


Latest Images