Linked Questions

37
votes
3answers
6k views

How to draw tangent vectors and component vectors on a curve

I am searching for a way to have a figure drawn using LaTeX. I am aware of some packages TikZ and PSTricks that could accomplish this, and have been tinkering around with them recently but do not have ...
14
votes
4answers
2k views

Storing and re-using tikz coordinates for position and tangent vectors

The following code \documentclass[border=5pt]{standalone} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.11} \usetikzlibrary{arrows,backgrounds,patterns,shapes.geometric,calc,...
13
votes
3answers
6k views

Line tangent to a a curve (using plot or controls), starting at a point

I need to draw lines that are parallel to a curve starting at a point. The curve could be a curve drawn using 3 point as my example below did, but alternatively could be a curve drawn using the \...
10
votes
3answers
1k views

How do I make tangents to ellipses and lines parallel to these?

I have specified an ellipse and three points in the following way: \def\aa{2.5} \def\bb{2} \draw[thick] (0,0) ellipse [x radius=\aa,y radius=\bb]; \pgfmathsetmacro{\focus}{sqrt(\aa*\aa-\bb*\bb)} \...
7
votes
4answers
600 views

Tangent Lines Diagram Along Smooth Curve

I am trying to replicate a diagram and have a minimal example. I don't know how to add additional tangents between the specified points and preserve smoothness. \documentclass{article} \usepackage{...
11
votes
2answers
2k views

Typesetting a directed hypergraph in tikz

Similar to several other questions, I am trying to draw hypergraphs in tikz. I want to draw a directed hypergraph that looks something like those in this image from here: As opposed to other ...
7
votes
2answers
1k views

Highlight and use arrows in an equation In a robust manner

I am trying to give a very simple analogy to what I am trying to do with LaTeX. I simply want to write two vectors, one below or next the other, and then, use nodes to link the last two elements of ...
10
votes
3answers
758 views

Using \foreach inside a draw command using TIKZ

I'm brand new to using \foreach but not coding in general. Following the code in answer number 40 of this example: How to draw tangent line of an arbitrary point on a path in TikZ How can I properly ...
6
votes
5answers
736 views

Add a second label to a path in an automaton

Friends, consider the following code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{automata} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[shorten >=1pt,,node ...
8
votes
2answers
522 views

TikZ:How to consider a curve as an axis in a chart?

In the shown image bottom and left lines are considered as axis...:How to consider left curve as an axis in the chart? Psychrometric charts: http://en.wikipedia.org/wiki/File:PsychrometricChart....
5
votes
3answers
465 views

Tikz and Secant Line diagram

Hi I am looking for feedback to improve an existing program PLUS advice for a desired diagram in the same direction. Here is my minimal example: \documentclass{article} \usepackage{tikz} \...
9
votes
1answer
525 views

How to get a tangent coordinate system for the decoration of a path?

I want to draw some lines in a tangent coordinate system of the decoration of a path. Especially I want to draw a tangent segment at the end of the decoration with full controll, i.e. with having the ...
0
votes
3answers
992 views

How to draw a tangent line to the following curve?

I want to draw the following diagram Here is my MWE: \documentclass[border=3mm]{standalone} \usepackage{pgfplots} \pgfplotsset{width=8cm,compat=newest} \begin{document} \begin{tikzpicture} \...
9
votes
1answer
1k views

How to draw tangent lines at control points of a path in TikZ?

I'm drawing smooth paths by using the \draw plot[smooth, tension=.7] coordinates ... command. Now I would like to draw tangents at the specified coordinates. I alreade tried Jake's answer, but I ...
5
votes
2answers
801 views

tikz decorations.markings cause 'dimension too large'

I want to draw a bunch of smooth curves with arrow in the middle. So I have to combine decoration and smooth options. However, both options result in dimension too large error. If I remove smooth ...

15 30 50 per page