Linked Questions

5 votes
0 answers
12k views

Heatmap Table with Latex and Tikz [duplicate]

Possible Duplicate: Parametrize shading in table through TikZ Drawing heatmaps using TikZ is there a way to generate heatmap like tables in LaTeX, for example with tikz? I have a really huge ...
Hans Sperker's user avatar
4 votes
0 answers
516 views

Conditional coloring in LaTeX [duplicate]

Possible Duplicate: Parametrize shading in table through TikZ Is there any package that provide conditional coloring in LaTeX ? I would like to reproduce what Excel does with its conditional ...
vanna's user avatar
  • 1,665
0 votes
0 answers
58 views

Open source workflow to represent a number in a table cell by its background color [duplicate]

Possible Duplicate: Parametrize shading in table through TikZ Drawing heatmaps using TikZ I know this isn't strictly speaking a LaTeX question, so please move this somewhere else if you feel ...
Christian's user avatar
  • 19.2k
51 votes
3 answers
17k views

Drawing heatmaps using TikZ

Introduction I want to create a heatmap using TikZ. You can see the basic idea in the picture below: I basically have a table of values and each value is assigned a color. The picture is the result ...
Manuel's user avatar
  • 697
30 votes
5 answers
18k views

Are there an easy way to coloring tables depending on the value in each cell?

I viewed in this post Conditional format for correlation table a solution to my question, but... Are there any easier way (or alternative) to do this using colors? Thank you. ------------------ ...
Mika Ike's user avatar
  • 3,751
19 votes
6 answers
4k views

Drawing a large binary matrix as colored grid in TikZ

I have a pretty big binary matrix of maybe 70 rows and 64 columns. For ease of viewing, I would like to draw this matrix in TikZ where e.g. a 1 is represtented by a red square and a 0 is a white ...
Martin Lauridsen's user avatar
21 votes
3 answers
5k views

Drawing different tikz shapes parameterized by data from a file

I have a file with three columns of data, x, y, r. # x y r 1 1 0.1 2 2 0.5 3 3 1.2 and so on. I'd like to loop over the rows, and draw a circle at x,y with radius r for each row. I first thought I'...
Suresh's user avatar
  • 16.5k
5 votes
3 answers
4k views

Is it possible to draw an n by n grid with text in each cell, with a different background shade/colour in each? (confusion matrix)

I am making a confusion matrix for a document, and I was wondering if LaTeX has the capabilities to handle this. It is essentially a table, but with background shading corresponding to the value in ...
shoes's user avatar
  • 53
7 votes
3 answers
3k views

Heatmaps, matrix plots, imagesc and data structure

If one has a matrix, say: 16 2 3 13 5 11 10 8 9 7 6 12 4 14 15 1 This is possibly stored in a .dat file as shown above, and possible to have thousands of ...
Thorbjørn E. K. Christensen's user avatar
6 votes
2 answers
719 views

Show sparse matrices like chessboards

I am trying to display sparse matrices like chessboards, where white places indicates 0 entries and black ones non-zero entries (in this case matrices are boolean so every non-zero entry is a one ...
EagleOne's user avatar
  • 229
5 votes
1 answer
1k views

Nicely formatting booktab table with multiple columns

I have a pretty ugly table that I would like to format nicely. I have seen in LaTeX table cell with a diagonal line and 2 sub cells how I can include \slashbox and in Parametrize shading in table ...
Hans's user avatar
  • 491
4 votes
1 answer
2k views

Diverging color scale for a table heatmap

I am trying to implement a diverging color scale; the cells should be coloured according to the values inside. Something similar has been achieved here for sequential color scales. However, I would ...
Xiphias's user avatar
  • 1,233
4 votes
1 answer
1k views

Change cellcolor automaticly acording to the number in cell

I want to modify this code to change the cell color instead of font color automatically according to the number in the cell. \documentclass{article} \usepackage{xcolor} \usepackage{pgf} \usepackage{...
user2373198's user avatar
6 votes
1 answer
2k views

colour cells in a table according to the value

I have seen the following code in response to another similar question that works when the numbers in the table are between 0 and 100. How do I have to modify this code so that it works for numbers ...
Leo's user avatar
  • 61
2 votes
1 answer
833 views

PGF Plot correlation table shade negative/ positive values gradient

I am trying to extend the results from Parametrize shading in table through TikZ for negative values. I searched extensively for the absolute value function but could not find one. I tried abs(), but ...
Silence Dogood's user avatar

15 30 50 per page