TeX - LaTeX Asked on July 14, 2021
I had draw with tikz
two matrices (two column array) with this code:
documentclass[crop,tikz,convert={outext=.svg,command=unexpanded{pdf2svg infilespaceoutfile}},multi=false]{standalone}
usepackage{tikz}
usetikzlibrary{positioning, matrix, arrows.meta}
begin{document}
begin{tikzpicture}[x=1cm,y=1.5cm]
matrix (N) [%
matrix of nodes,
nodes={
rectangle,
minimum height=6mm,
minimum width=15mm,
anchor=center,
inner sep=0pt, outer sep=0pt
}
] at (3, 0) { $$_0$_0$_0$ $AC$_1$ $TC$_2$ $ACA$ $$_2GA$ $$_0TA$ $$_1TA$ $CAC$ $CAC$ $GAC$ $TAC$ $TAC$ $CTC$ $C$_2G$ $$_0$_0T$ $C$_1T$ $ACT$ };
draw (N-1-1.north west) rectangle (N-17-1.south east);
node[above=3pt of N-1-1]{$Node$};
matrix (W) [%
matrix of nodes,
nodes={
rectangle,
minimum height=6mm,
minimum width=9.5mm,
anchor=center,
inner sep=0pt, outer sep=0pt
}
] at (6, 0) { $T$ $T$ $G$ $C$ $C$ $C$ $C^-$ $$_3$ $$_1$ $A$ $T$ $A^-$ $$_2$ $A$ $A$ $A$ $C$ };
draw (W-1-1.north west) rectangle (W-17-1.south east);
node[above=3pt of W-1-1]{$W$};
end{tikzpicture}
end{document}
But, how can I draw connection between their entries?
If I use this draw (N-1-1) -- (W-5-1);
to connect entries this is the result:
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP