# Tag Info

0

\documentclass[tikz, margin=3mm]{standalone} \usepackage{siunitx} \usetikzlibrary{positioning,calc} \begin{document} \begin{tikzpicture} \draw[line width=12pt, blue] (0,0)node[label=left:Introversion](a){} -- (8,0)node[label=right:Extroversion](b){}; \draw[line width=6pt,yellow!95!green!90!red!40] ($(a)!0.80!(b)$)node[](c){}--++(0,1cm); ...

1

When you do \addplot [ybar interval].. you get /tikz/ybar interval, which does not have an option for the relative width. But when you do \begin{axis}[ybar interval] you get /pgfplots/ybar interval which does have the relative width option. When added to the axis options, that also affects the ticks, which is the reason for using \addplot [ybar interval] in ...

0

I guess that you looking for something like this: (red lines indicate page layout) Unfortunately your question as well answer are not entirely clear and erroneous (misses are packages, closing braces, ...). Consequently the most of code in my MWE is written from scratch. See, if can help you: \documentclass{article} \usepackage[demo]{graphicx} \usepackage[...

1

How about a direct way with TikZ (instead of mathlab2tikz)? \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{tikzpicture}[y=.5mm,x=1.5cm] \draw[gray!50,local bounding box=L] (0,0) grid[xstep=1.5cm,ystep=20] (7,160); \foreach \i/\ione/\itwo/\itext in {1/0/0/, 2/49.2731776918684/19.964130020244/t=3.0, 3/55.5745267232259/15.9911247772533/t=3....

Top 50 recent answers are included