From 0e95544f85b523a95fb05b36c4e6b8789c73abfa Mon Sep 17 00:00:00 2001 From: Jan Aalmoes Date: Wed, 4 Sep 2024 00:12:49 +0200 Subject: traduction classification fini --- tikz_assets/data.tex | 20 ++++++++++++++++++++ tikz_assets/param.tex | 14 ++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 tikz_assets/data.tex create mode 100644 tikz_assets/param.tex (limited to 'tikz_assets') diff --git a/tikz_assets/data.tex b/tikz_assets/data.tex new file mode 100644 index 0000000..663b59c --- /dev/null +++ b/tikz_assets/data.tex @@ -0,0 +1,20 @@ +\makeatletter +\tikzset{ + database/.style={ + path picture={ + \draw (0, 1.5*\database@segmentheight) circle [x radius=\database@radius,y radius=\database@aspectratio*\database@radius]; + \draw (-\database@radius, 0.5*\database@segmentheight) arc [start angle=180,end angle=360,x radius=\database@radius, y radius=\database@aspectratio*\database@radius]; + \draw (-\database@radius,-0.5*\database@segmentheight) arc [start angle=180,end angle=360,x radius=\database@radius, y radius=\database@aspectratio*\database@radius]; + \draw (-\database@radius,1.5*\database@segmentheight) -- ++(0,-3*\database@segmentheight) arc [start angle=180,end angle=360,x radius=\database@radius, y radius=\database@aspectratio*\database@radius] -- ++(0,3*\database@segmentheight); + }, + minimum width=2*\database@radius + \pgflinewidth, + minimum height=3*\database@segmentheight + 2*\database@aspectratio*\database@radius + \pgflinewidth, + }, + database segment height/.store in=\database@segmentheight, + database radius/.store in=\database@radius, + database aspect ratio/.store in=\database@aspectratio, + database segment height=0.1cm, + database radius=0.25cm, + database aspect ratio=0.35, +} +\makeatother diff --git a/tikz_assets/param.tex b/tikz_assets/param.tex new file mode 100644 index 0000000..17df939 --- /dev/null +++ b/tikz_assets/param.tex @@ -0,0 +1,14 @@ +\makeatletter +\tikzset{ + param/.style={ + path picture={ + \fill[color=blue] (0,0) circle[radius=5pt]; + \fill[color=blue] (1,0) circle[radius=5pt]; + \fill[color=blue] (0,1) circle[radius=5pt]; + \fill[color=blue] (0.5,0) circle[radius=5pt]; + \fill[color=blue] (0,0.5) circle[radius=5pt]; + \fill[color=blue] (0.5,0.5) circle[radius=5pt]; + }, + }, +} +\makeatother -- cgit v1.2.3