Skip to main content

All Questions

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

How to Calculate the Scale of a TikZ Map and Create Commands for Plotting Points by Latitude and Longitude?

I am working with the TikZ map of India provided in the link. The map uses Cartesian coordinates to define locations of different states. I want to achieve the following: Calculate the scale of the ...
Shantanu Kudva's user avatar
1 vote
1 answer
100 views

Comma in x coord (interval)

How can I replace the dot with a comma in x coords? \documentclass[border=10pt, 12pt]{standalone} \usepackage{pgfplotstable} \usepackage[utf8]{inputenc} \usepackage{pgfplots} \usepackage{times} \...
Lukáš Mikšík's user avatar
3 votes
2 answers
208 views

Partition Triangle

I am working on a paper on integer partitions and I want to add something like this. This is not my picture, it is from another paper, but is it possible to do this on LaTex? I want to be able to ...
Lewis's user avatar
  • 85
0 votes
0 answers
239 views

How to plot geographic coordinates with tikz?

Hello I'm trying to plot geographic coordinates of a route between real locations. I'm struggling to show the graph in full page or zoomed in. I searched a bit on internet and I can't seem to find the ...
JosephRob's user avatar
1 vote
1 answer
272 views

Tikz 3D node placement using \let in plot

I am facing a result you probably can help me with, here is my MWE (which gives the good output if I put the values manually): \documentclass[tikz,border=5pt]{standalone} \usepackage{tikz,...
LMT-PhD's user avatar
  • 1,296
3 votes
2 answers
710 views

Tikz show the corner coordinates of a rectangle

I use the following Latex script \documentclass{article} \usepackage{tikz,xcolor} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \filldraw[fill=gray!40!white, draw=black] (0,0) ...
independentvariable's user avatar
1 vote
1 answer
105 views

tikz: draw plot by given coordinates points

I'm trying to draw, in a T=f(x) plane graphic, a curve passing through four points whose coordinates have been obtained experimentally. The x axis range is 0 to 0.5, the y axis range is 0 to 80. This ...
user3204810's user avatar
  • 1,673
8 votes
3 answers
1k views

Draw curve in same curve small

I want two make same space between two smooth curves \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \coordinate (O) at (0,0); \draw [...
HB khaled's user avatar
  • 595
2 votes
1 answer
2k views

tikz plot coordinates decorations change between points

I have a plot of coordinates \draw plot [smooth] coordinates{ (-3.1,-0.5) (-1.5,0.3) (0,0) (1.8,0.64) (3,0.5)}; Is there a way to have the curve between (0,0) and (1.8, 0.64) painted thick? I would ...
BenjaminH's user avatar
  • 688
1 vote
0 answers
166 views

Polar Coordinates Graph using TiKz [duplicate]

I have to create a Tikz picture of a limacon which is given in polar coordinates by the equation r = 0.5 + cos(θ) for θ between 0 and 2π. Note:makethe x-axis between 􀀀0.2 and 1.7 with a scale of 3 ...
Georgia's user avatar
  • 11
7 votes
2 answers
1k views

drawing smooth path through symmetric points, gives non symmetric curve

I want to make a graphic going through some points. I've choose the points symmetric, to have a symmetric curve, but the curve is not. I could define some extra points, but their must be a better ...
Arne Timperman's user avatar
4 votes
1 answer
356 views

Changing axes' origin adds weird whitespace

I would like to display points in a Tikz picture, whose y components are all negative. That is per se no problem, but I want the y axis to be a bit higher than the x axis to emphasize the negative ...
ComFreek's user avatar
  • 1,288
17 votes
1 answer
6k views

pgfplots - Placing Nodes on x Coordinates of a Plot

I want to plot some graphs in pgfplots and want to place nodes on the exact same x coordinate of the plot. The position of the note has to be set in x direction but free in y direction. Here is one ...
Nils's user avatar
  • 181
3 votes
1 answer
457 views

Curve synthesis - Adding many (mostly piecewise linear) curves

It's a follow-up to a previous question. If I could have a macro out of the solution over there, it would have been great but then I couldn't make it. The following code (to be added to the one in ...
green diod's user avatar
11 votes
1 answer
1k views

Curve synthesis - Adding two curves to get another one

Case 1: Let's say I have a few coordinates (A), (B), (C), (W), (X), (Y), and (Z) (possibily obtained through intersection, rotation, and whatnots). I draw two piecewise linear curves through (A), (B)...
green diod's user avatar