From 3c825d86121d0a494a9acfcacb53c9bff4a1e7f2 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 16 May 2026 00:39:50 +0200 Subject: [PATCH] feat(quality-house): connect perception markers with profile lines Each product now gets a profile line across all WHATs using the same colour and dash pattern its legend entry already advertises, so the shape of each competitor's strengths/weaknesses is readable at a glance instead of having to mentally connect the dots. --- docs/quality-house.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/docs/quality-house.md b/docs/quality-house.md index fea758e..0ef25cb 100644 --- a/docs/quality-house.md +++ b/docs/quality-house.md @@ -457,6 +457,8 @@ market"), not as a fair head-to-head buyer's guide. % ---------- Perception zone: 4 products x 13 WHATs (0-5 scores) ---------- % Columns: \so=Ours target, \st=reMarkable 2 + Type Folio, % \sf=Freewrite Traveler, \sg=Pomera DM250. + % Pass 1: stash each score as a named coordinate so the profile lines + % below can reuse it without recomputing. \foreach \r/\so/\st/\sf/\sg in {% 1/4/3/3/5, 2/5/4/4/2, @@ -476,10 +478,25 @@ market"), not as a fair head-to-head buyer's guide. \pgfmathsetmacro{\xt}{\qfdNH + (\st + 0.5)*\qfdCmpW/6} \pgfmathsetmacro{\xf}{\qfdNH + (\sf + 0.5)*\qfdCmpW/6} \pgfmathsetmacro{\xg}{\qfdNH + (\sg + 0.5)*\qfdCmpW/6} - \node[qfdalt1mk] at (\xo, {-\r + 0.5}) {}; - \node[qfdalt2mk] at (\xt, {-\r + 0.5}) {}; - \node[qfdalt3mk] at (\xf, {-\r + 0.5}) {}; - \node[qfdalt4mk] at (\xg, {-\r + 0.5}) {}; + \coordinate (po-\r) at (\xo, {-\r + 0.5}); + \coordinate (pr-\r) at (\xt, {-\r + 0.5}); + \coordinate (pf-\r) at (\xf, {-\r + 0.5}); + \coordinate (pp-\r) at (\xg, {-\r + 0.5}); + } + + % Pass 2: profile lines per alternative. Drawn before markers so the + % dots sit on top of (not under) the line endpoints. + \draw[qfdalt1ln] (po-1) \foreach \r in {2,...,\qfdNW} { -- (po-\r) }; + \draw[qfdalt2ln] (pr-1) \foreach \r in {2,...,\qfdNW} { -- (pr-\r) }; + \draw[qfdalt3ln] (pf-1) \foreach \r in {2,...,\qfdNW} { -- (pf-\r) }; + \draw[qfdalt4ln] (pp-1) \foreach \r in {2,...,\qfdNW} { -- (pp-\r) }; + + % Pass 3: markers on top of the lines. + \foreach \r in {1,...,\qfdNW} { + \node[qfdalt1mk] at (po-\r) {}; + \node[qfdalt2mk] at (pr-\r) {}; + \node[qfdalt3mk] at (pf-\r) {}; + \node[qfdalt4mk] at (pp-\r) {}; } % ---------- Manual legend (4 alternatives, placed right of zones) ----------