How to put the graph of this interval plot inside the box denoted graph1.
Here are the code for the tables and the code for the interval plot. By the way can we change the code to have the first column in red and the first line in green.
Table's code
\documentclass{article}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage{framed}
\begin{document}
\usetikzlibrary{matrix}
\newcommand*\head[1]{\textbf{#1}}
% The table environment:
\newenvironment{matrixtable}[3]{%
\begin{tikzpicture}[matrix of nodes/.style={
execute at begin cell=\node\bgroup\strut,
execute at end cell=\egroup;}]
\matrix (m) [matrix of nodes,top color=white!20,
bottom color=white!80,draw=white,
nodes={draw,top color=white!10,bottom color=blue!15,
draw,inner sep=2pt,minimum height=3.1ex},
column sep=1ex,row sep=0.6ex,inner sep=2ex,
rounded corners,column 1/.style={minimum width=#1},
column 2/.style={minimum width=#2},
column 3/.style={minimum width=#3}]}
%
{;\end{tikzpicture}}
%
\begin{center}
\begin{frame}
\begin{matrixtable}{7cm}{3cm}{7cm}{
\head{Intervalle} & \head{Inégalité} & \head{Représentation graphique} \\
$[a~;~b]\text{ fermé }$ & $ a\le x\le b$ & graph 1 \\
$[a~;~b[\text{ fermé à gauche, ouvert à droite }$ & $a\le x<b $ & graph2 \\
$]a~;~b]\text{ ouvert à gauche, fermé à droite }$ & $a<x\le b$ & graph3\\
$]a~;+\infty [$ & $x>a$ & graph4 \\
$[a~;+\infty [$ & $x\ge a$ & graph5 \\
$]-\infty;b~ [$ & $x< b$ & graph6 \\
$]-\infty;b~ ]$ & $x\le b$ & graph7 \\
}
\end{matrixtable}
\end{frame}
\end{center}
\end{document}
here's the code for the interval plot
\usepackage{tikz}
\usetikzlibrary{arrows.meta,decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}
\draw[stealth-stealth] (-6,0) node[below]{$-\infty$} -- (6,0) node[below]{$\infty$};
\draw[very thick,blue,{Bracket[reversed,width=1.2em]}-{Bracket[width=1.2em]}] (-3.05,0) -- (2,0) node[pos=-1/40,above]{$a$} node[pos=29/30,above]{$b$};
\end{tikzpicture}
\end{document}




\head? – Zarko Jun 18 '19 at 12:57