Search found 2 matches

by tlapeg07
Wed Jun 12, 2013 9:03 am
Forum: Graphics, Figures & Tables
Topic: Grid with colored Cells
Replies: 2
Views: 18067

Grid with colored Cells

Hello,

I've tried several ways, and in the end, it turned out to be easier in this way:


\pgfmathsetmacro{\minval}{0}
\pgfmathsetmacro{\maxval}{2}
\pgfmathsetmacro{\colstep}{100/(\maxval-\minval)}
\begin{tikzpicture}[scale=0.3]
\foreach \x/\y/\z in {
1/0/1,
22/0/1,
40/0/1,
53/0/1,
...
187/99 ...
by tlapeg07
Wed Jun 05, 2013 7:03 pm
Forum: Graphics, Figures & Tables
Topic: Grid with colored Cells
Replies: 2
Views: 18067

Grid with colored Cells

Hello,

I would like to build a grid and to specify the color of each cell. The grid is very large so I want to do it with file data. I have absolutely no idea of how to do it. Do you have any idea ?

The idea is to obtain in LaTeX what you obtain with Excel when you use the conditional formatting ...