Questions tagged [tikz-datavisualization]

{tikz-datavisualization} is about the datavisualization library of the {tikz-pgf} package.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

Comments in TikZ datavisualization data specification

In TikZ datavisualization data is provided in the data command inside the \datavisualization command. Is there any syntax to have comments in the built-in data format table? I can not find anything ...
Cybtron's user avatar
  • 36
0 votes
1 answer
33 views

Tizk, data visualisation: axes style and dashed ends

I'm sorry to bother you with another question, but I like to learn these things. I am learning about Data Visualisation, Tikz/LaTeX, and as a try I wanted to plot the function $x^2$. Here is my work ...
Numb3rs's user avatar
  • 99
2 votes
1 answer
26 views

tikz-datavisualization not rendering data when inside onslide

When inside a onslide the data is not renderered. Any hint or workaround ? \documentclass{beamer} \usepackage{tikz} \usetikzlibrary {datavisualization.formats.functions} \begin{document} \begin{...
user3074069's user avatar
1 vote
1 answer
28 views

Applying color to visualizer and using it for different part

I would like to locally override style sheet color and have: pin data the same color as the data set drawed be able to access the data set color in the "info" section Currently I've got: ...
user3074069's user avatar
1 vote
1 answer
18 views

tick typesetter fails with Illegal parameter number when used with beamer

I'm trying to change the way ticks are display in tikz datavisualization (ideally with prefix unit), but for now I'm stuck as specifying a tick typesetter fails when used in a beamer document \...
user3074069's user avatar
0 votes
2 answers
59 views

TikZ datavisualization and Dimension too large

I'm trying to draw a simple graph using tikz datavisualisation but I run into a "Dimension too large". \documentclass[a4paper,10pt]{book} \usepackage{tikz} \usetikzlibrary{datavisualization....
user3074069's user avatar
1 vote
1 answer
18 views

Why the label of the x-axis is shifted, when creating multiple datavisualization pics in one figure with custom unit length between the ticks?

My MWE: \documentclass{scrreprt} \usepackage{tikz} \usetikzlibrary{datavisualization.formats.functions} \pgfooclass{circle visualizer}{%from TikZ & PGF manual, page 928 ...
Su-47's user avatar
  • 2,468
2 votes
1 answer
99 views

Color in dashed Line

I have a U-I-diagramm in physics of a yellow LED. I use a yellow line, because the LED is yellow. For better reading of the diagram I add a black dashed line over the yellow line. Here is my approach: ...
Michael.H's user avatar
  • 107
3 votes
1 answer
156 views

performing math operation in tikz pgfplot functions

I realize it must be something SO basic, but I'm having difficulty figuring out where the problem can possible be. It seems to me all three of these \addplots should be the same. However, only the ...
jesse's user avatar
  • 215
2 votes
2 answers
97 views

How to change orientation of a latitude circle on a sphere?

I have a sphere, a disk that goes through the equator, and a latitude circle above the equator that is colored red. I would like to rotate that red circle so that it intersects the equator disk. How ...
planetnimz's user avatar
1 vote
0 answers
19 views

Scatter plot from dat file where each mark size depends on 3rd column in table? [duplicate]

I am trying to create a basic scatter plot where each point's mark size has a unique value given by a 3rd column in the dat file. In the code below, mark size should be mediated by the 'Mag' column. ...
planetnimz's user avatar
0 votes
0 answers
121 views

3D Data Visualisation in Latex

Relative newbie to Latex visualisation, and I genuinely wouldn't know where to start with the type of visual I've given below. However I am hoping someone could provide an example or signpost me ...
EB3112's user avatar
  • 163
0 votes
1 answer
157 views

tikz visualization of matrix vector multiplication

I would like to visualization the multiplication between a matrix and vector with color cells as follows, how can I do it? Thanks.
Leonard Neon's user avatar
1 vote
1 answer
252 views

Best practice: Lines in tikz with datavisualization

I plot a function with tikz using datavisualization. Whats the best/shortest possibility to realize some arrows inside, see the following output? This code works: \documentclass[crop,tikz]{standalone}...
Bigga's user avatar
  • 57
2 votes
0 answers
41 views

How to plot function from a .csv file in Tikz? The .csv file created from the example from Tikz manual is misread (as all y values are 0) [duplicate]

Note: This question is not exactly the same as TikZ data visualization fails to load data from file because I don't have any error thrown by the code (the log don't display "! Package PGF Math ...
quark67's user avatar
  • 4,136
3 votes
1 answer
103 views

How to combine equal plot styles of different plots to a list with one style for every plot?

See the lines 62 to 97 (root locus 1 = {) of my MWE. I have to define the same plot style for every plot. Can one combine these lines similar to the lines 54 to 61 (visualize as line/.list = {) of my ...
Su-47's user avatar
  • 2,468
2 votes
1 answer
97 views

Hewitt and Roberts map construction

does anyone know how to draw this map in latex ?
Michaela 's user avatar
3 votes
1 answer
605 views

Datavisualization with Tikz: how to customize the formatting of values in the axes?

Here's a screenshot of the pgf-tikz manual (section 82.2.5, page 878 on manual version 3.1.8b): \documentclass[tikz]{standalone} \usetikzlibrary {datavisualization.formats.functions} \begin{document} ...
quark67's user avatar
  • 4,136
3 votes
2 answers
52 views

"Inline" array data structure from command accepting (comma separated) arguments for the elements?

I have the following code: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{tabular}{ll} \toprule Operation & List \\ \midrule \texttt{create()} & \textbf{...
First User's user avatar
2 votes
1 answer
337 views

Plot factorial function in TikZ datavisualization

I'm trying to replicate this graph following the tips in this solution with TikZ datavisualization package (see Part VI). [edit] related question: How to make a figure showing growth of functions but ...
Emanuele Nardi's user avatar
1 vote
0 answers
153 views

TikZ data visualization legends: reverse direction strategy or add empty entries?

I use the data visualization library of TikZ. I have a scatter plot with multiple sets. I have setup a preferred style sheet combination for the plot marks. These are ordered. I have also added legend ...
equaeghe's user avatar
  • 5,966
1 vote
0 answers
101 views

datavisualization with more than three functions

Do my first steps with datavisualization. Find out how to plot functions. But the fourth function ist not in the plot. Found out that only the first three appear to be plotted out of the box. How can ...
Michael.H's user avatar
  • 107
3 votes
2 answers
67 views

TikZ datavisualization error, "Missing number" after closing data bracket

Hello, after a quick search I didn't find this exact question asked before, but if I overlooked something, please let me know. I am unable to execute the following code: Edit: notice the logarithmic ...
A Potato's user avatar
1 vote
1 answer
341 views

How to set up the tick labels of the a logarithmic axis?

See my MWE: \documentclass{scrartcl} \usepackage{tikz} \usepackage[per-mode = fraction]{siunitx} \usetikzlibrary{datavisualization.formats.functions} \begin{document} \begin{tikzpicture} \...
Su-47's user avatar
  • 2,468
0 votes
1 answer
321 views

Function of input data in TikZ datavisualization

I have a CSV file with three columns. I would like to make a scatter plot with numbers in the first column as the x-values of the plot points, and the ratio of the other two numbers on each line as ...
Olius's user avatar
  • 171
2 votes
1 answer
220 views

TikZ datavisualization: Is it possible to change fontsize globally?

Here my MWE: \documentclass{scrartcl} \usepackage{tikz} \usetikzlibrary{datavisualization.formats.functions} \begin{document} Text \begin{figure} \centering \begin{tikzpicture} \...
Su-47's user avatar
  • 2,468
1 vote
1 answer
61 views

TikZ Datavisualization example reports "Undefined control sequence", yet still works

The Problem Reproducing an example from the pgf manual appears to work, yet reports an error. Does anyone have a guess what the problem is? MWE \documentclass{minimal} \usepackage{tikz} \...
WesH's user avatar
  • 395
0 votes
1 answer
183 views

How to emulate datavisualization's clean scientific axes in pgfplots

I really like the "clean" scientific axes generated by TikZ' datavisualization library. However, since it provides quite a bit more plotting functionality, I want to give pgfplots a shot. How can i ...
schtandard's user avatar
  • 14.6k
1 vote
1 answer
140 views

Use Tikz to plot different sine waves without plotting zero

I need to plot a variety of sine waves and almost have the graph looking exactly how I want. However, I am unable to remove the 0π or make it look like 3π/2. \documentclass[tikz, border=5mm]{...
Michael 's user avatar
1 vote
1 answer
35 views

display images at specific positions reading an external table uses tikz

I'd like to define a set of positions and images in a data file, x y filename 0 0 image/path/1.png 1 1 image/path/2.png and use this data file to display the images on a 2D axis of a tikz ...
Jav's user avatar
  • 195
2 votes
0 answers
237 views

TikZ datavisualization with plotted expression and shade

I tried to use the datavisualization command (that uses this metod), an explicit function and shading, but it was more or less a 'dial it in' way of solving it, with having to scale the x and y ...
mf67's user avatar
  • 425
2 votes
1 answer
171 views

TikZ: No visualize as smooth cycle option available

On page 858 the manual mentioned the option visualize as smooth cycle for the \datavisualization[]{} command. MWE: \documentclass{scrartcl} \usepackage{tikz} \usetikzlibrary{datavisualization....
Su-47's user avatar
  • 2,468
5 votes
1 answer
599 views

Is it possible to plot complicated functions with TikZ datavisualization?

Is it possible to plot complicated functions with TikZ datavisualization? I have a transfer function G(s)=2/(20*s+1)^5*2/s. The inverse Laplace transform gives g(t)=4-(e^(-t/20)*(3840000+192000*t+...
Su-47's user avatar
  • 2,468
4 votes
3 answers
2k views

How to customize tick text in TikZ?

MWE: \documentclass{scrartcl} \usepackage{tikz} \usetikzlibrary{datavisualization.formats.functions} \begin{document} \begin{tikzpicture} \datavisualization[ scientific ...
Su-47's user avatar
  • 2,468
0 votes
1 answer
235 views

legend={text={ multi line

I want legend = {text = {} in multi lines The text of the legend is very long and I want to divide it into multi lines \tikz \datavisualization [scientific axes=clean] [ visualize as smooth line=...
ebjargu's user avatar
  • 21
2 votes
1 answer
536 views

Plot matrix from input data

I have a matrix, M, exported from Matlab to a .dat file. I want to import this into tikz and plot a density plot for the real and imaginary parts of M separately. The x-axis being the column index, y-...
Sid's user avatar
  • 1,804
0 votes
1 answer
70 views

Visualizing of routing problems over time

I'm more or less a total newbie in Latex and right now I'm in the final days of my masters thesis. I stumbled over a nice way of illustrating a sequence of visitiations in a tour. Think of a tourist ...
wusah's user avatar
  • 69
17 votes
1 answer
747 views

pgfplots vs datavisualization – 2019 review

TikZ' datavisualization library and the package pgfplots (based on TikZ) both produce pretty nice plots in LaTeX. To someone starting to do that, what are the differences between the two and what may ...
schtandard's user avatar
  • 14.6k
3 votes
1 answer
240 views

Unknown operator | when using data visualization and tikz

Problem: I am trying to get the function y = |x| to work with data visualization library in TikZ but without success. It seems the issue is with the operator |. Minimal Working Example (MWE): \...
kexxcream's user avatar
  • 2,775
10 votes
2 answers
536 views

Illustrating symmetric key distribution

Can I draw something like this programmatically with LaTeX? I drew these with Adobe Illustrator, but it gets pretty time-consuming. Even with relatively few nodes. What it attempts to demonstrate ...
voices's user avatar
  • 2,029
1 vote
1 answer
156 views

How to partition a pgfplotstable to use in multiple tikzpictures? (and duplicate a row)

I'm trying to create multiple plots from one pgfplotstable (\data below). I can create the plots by manually editing the data (\dataA and \dataB below) but this is error-prone. Essentially, I need ...
u17's user avatar
  • 4,976
2 votes
2 answers
2k views

Reverse axis in TikZ \datavisualization

Sorry if this doesn't seem well-researched, but I couldn't find the answer anywhere. Is there a way to reverse an axis in a TikZ \datavisualization? Concretely, I want to reverse the y axis in a ...
Anakhand's user avatar
  • 426
0 votes
1 answer
265 views

Unexpected output with TikZ \datavisualization – reading from a csv

I am trying to display a \datavisualization with TikZ, but even after rereading the pgf/TikZ manual (part VI, section 58) and checking everything again, I'm not getting the expected plot at all. I don'...
Anakhand's user avatar
  • 426
3 votes
2 answers
2k views

Using a data file as input in tikz

I have a sorted data in a file (named data.dat). These data should be plotted vertically. I prepared a code in latex using tikz that works. The problem is each data is typed one by one in the main ...
AYBRXQD's user avatar
  • 737
1 vote
1 answer
370 views

How to Label y-axis properly when plot from CSV file? [duplicate]

I would like labeling as follows: It does not get proper labeling on y-axis when I am plotting data from CSV file in Latex. Here is the code : \documentclass{standalone} \usepackage{tikz,pgfplots} ...
MKS's user avatar
  • 323
1 vote
1 answer
455 views

Customizing single ticks in TikZ datavisualization

This question is a follow-up of my other question: MWE: \documentclass{scrartcl} \usepackage{tikz} \usetikzlibrary{datavisualization.formats.functions} \begin{document} \begin{tikzpicture} \...
Su-47's user avatar
  • 2,468
6 votes
2 answers
747 views

Drawing arrow between plots (table datas)

I use pfgplots to draw two sets of data, stored in .dat. Now I would like to automatically draw an arrow from one curve to the other, and only at the curves points. I tried to name the paths, but to ...
jeannej's user avatar
  • 359
1 vote
1 answer
412 views

Pgfplots - Turn off Box when plotting a File

By default, pgfplots will draw a box around my plot. I am plotting a .dat-File with \draw table [...] {data.dat} and i want to turn that box off and just leave the x- and y-lines instead. In the ...
Tim Hilt's user avatar
  • 838
2 votes
1 answer
435 views

TikZ datavisualization: pins / labels add whitespace between figure and caption

I'm using TikZ's data visualization feature to create a figure. This is working fine, up to the point where I add pins and/or labels to the figure; doing so creates a large amount of whitespace ...
chsk's user avatar
  • 3,655
2 votes
1 answer
409 views

Making a Plot: Pgfplot or Tikz [closed]

I find two possible ways in drawing a graph out of data points: Using PGFPlots with \begin{axis} \addplot[smooth,color=red,mark=x] or the Data Visualization inside Tikz (p. 756 in the manual): \...
SRel's user avatar
  • 1,273