summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bardiag/example/diagramsbw.tex
blob: ef9fbd9589327ff05e24cfc16c5d78809524af1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
\documentclass[12pt]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage[a4paper,nohead]{geometry}
\usepackage{bardiag}
%\usepackage{showkeys}

\usepackage{graphicx}     % From LaTeX distribution

\newpsobject{showgrid}{psgrid}{subgriddiv=1,griddots=10,gridlabels=6pt}

% New colors defined - I do it in bardiag.cfg
% But you can just put it here, like:
% \definecolor{brown}{rgb}{.65, .16, .16}
% \definecolor{lightblue}{rgb}{.68, .85, .9}
% \definecolor{palegreen}{rgb}{.6, .98, .6}
% \definecolor{pink}{rgb}{1, .75, .8}
% \definecolor{wheat}{rgb}{.96, .87, .7}
% \definecolor{verylightgray}{gray}{0.95}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\mycomment}[1]{}

\begin{document}


\begin{figure}[t]
  \begin{minipage}[t]{\textwidth}
   \parbox[b]{\textwidth}{%
    \centering
    \input{src/9.tex}
   }
  \end{minipage}
\caption{\label{fig:9}Bar Diagram: playing with \texttt{fillstyle}}
\end{figure}

\begin{figure}[t]
  \begin{minipage}[t]{\textwidth}
   \parbox[b]{\textwidth}{%
    \centering
    \input{src/10.tex}
   }
  \end{minipage}
\caption{\label{fig:10}Bar Diagram: more fun with \texttt{fillstyle}}
\end{figure}

\end{document}