I have a stacked bar chart and surprisingly not all the percentage of the bars are shown. I only allowed values more than 3% to be shown, however some are clearly more than 3% and at the same time not shown (circled in red). I hope someone can rectify where's the problem. Thanks.      \documentclass[10pt,twoside,a4paper,fleqn]{report} \usepackage{xcolor,pgfplots} \pgfplotsset{compat=1.14} \begin{document} \definecolor{BIPV facade}{HTML}{83BA2B} \definecolor{conventional facade}{HTML}{3b5998} \definecolor{Column}{HTML}{fa8072} \definecolor{Core}{HTML}{666666} \definecolor{Drywall}{HTML}{794044} \definecolor{Foundation}{HTML}{66cccc} \definecolor{Roof Construction}{HTML}{daa520} \definecolor{Slab}{HTML}{ffc3a0} \definecolor{Window}{HTML}{ff00ff}   \begin{figure}[ht!] \centering \begin{tikzpicture} \begin{axis}[     xbar stacked,     legend style={     legend columns=8,         at={(xticklabel cs:0.5)},yshift=-5mm,         anchor=north,         draw=none     },     every node near coord/.style={     color=black,       check for zero/.code={         \pgfkeys{/pgf/fpu=true}         \pgfmathparse{\pgfplotspointmeta-3}         \pgfmathfloatifflags{\pgfmathresult}{-}{            \pgfkeys{/tikz/coordinate}         }{}         \pgfkeys{/pgf/fpu=false}       }, check for zero, xshift=3, font=\scriptsize},     nodes near coords={\pgfmathprintnumber[fixed zerofill,precision=0]{\pgfplotspointmeta}$\%$},     nodes near coords align=center,     ytick=data,     xtick=data,     xlabel= Percentage(\%),     ylabel= Environmental indicators,     axis y line*=none,     axis x line*=bottom,     tick label style={font=\footnotesize},     legend style={font=\footnotesize},     label style={font=\footnotesize},     xtick={0,10,20,30,40,50,60,70,80,90,100},     width=.9\textwidth,     bar width=6mm,     yticklabels={GWP, ODP, POCP, AP, EP(T), EP(FW), EP(M), ADP, CED},     xmin=0,     xmax=100,     area legend,     y=8mm,     enlarge y limits={abs=0.625}, ] \addplot [conventional facade,fill=conventional facade]  coordinates {(9.3,0) (6.7,1) (9.2,2) (13.7,3) (9.5,4) (7.5,5) (10.1,6) (6.9,7) (4.8,8)}; \addplot [Column,fill=Column]  coordinates {(7.6,0) (6.4,1) (7.9,2) (6.3,3) (6.8,4) (8.3,5) (7.1,6) (7.7,7)(4,8)}; \addplot [Core,fill=Core]  coordinates {(21.6,0) (18.3,1) (20.7,2) (16.8,3) (18.8,4) (20,5)(19.2,6)(30.4,7) (11.2,8)}; \addplot [Drywall,fill=Drywall]  coordinates {(10.4,0) (23.3,1) (12.1,2) (17.1,3) (18.8,4) (14.9,5)(15.4,6)(21.3,7) (52.8,8)}; \addplot [Foundation,fill=Foundation]  coordinates {(3.1,0) (1.9,1) (1.9,2) (1.6,3) (2.3,4) (1.0,5)(2.2,6)(1.4,7) (1.4,8)}; \addplot [Roof Construction,fill=Roof Construction]  coordinates {(0.2,0) (0.2,1) (0.2,2) (0.2,3) (0.2,4) (0.1,5)(0.2,6)(0.2,7) (0.2,8)}; \addplot [Slab,fill=Slab] coordinates {(38.58,0) (34.48,1) (39.00,2) (31.05,3) (33.96,4) (40.43,5)(35.30,6)(24.43,7) (20.71,8)}; \addplot [Window,fill=Window]  coordinates {(9.15,0) (8.63,1) (9.03,2) (13.30,3) (9.56,4) (7.72,5) (10.49,6)(7.68,7)(4.93,8)};  \legend{Conventional facade, Column, Core, Drywall, Foundation, Roof construction, Slab, Window} \end{axis}   \end{tikzpicture} \end{figure} \end{document}
I had a problem with disappearing marker as the data sum up to more than 100 while xmax was set to 100. See .  As written in the answer to the cited question I tried to avoid the problem by normalizing the value to 100. But this lead to (much smaller) rounding errors in previously correct rows and now the marker disappear there. See the following example. Before the normalisation the column F ist affected, after the column B.   How can I in a reliable way avoid this rounding problem? Or at least get a clear error message. I have quite a number of this plots and I don't want to have to check them all the time for missing markers.    \documentclass{scrreprt} \usepackage{pgfplots} \pgfplotsset{compat=1.13} \usepackage{pgfplotstable} \pgfplotsset{  my stackbar plot/.style={              xbar stacked,              xmin=0,xmax=100,              symbolic y coords={A,B,C,D,E,F,G},              ytick=data,              nodes near coords={xxx},}}  \begin{document}  \pgfplotstableread[col sep=space]{  text   --  -    +       ++  A      0.0 1.7 13.8    84.5  B      0.0 0.6 20.1    79.3  C      0.0 1.9 13.2    84.9  D      0.0 1.6 27.9    70.5  E      1.3 3.9 19.5    75.3  F      0.0 1.4 15.0    83.7  G      0.3 1.7 24.8    73.2  }\data   \pgfplotstablecreatecol[create col/expr={\thisrow{--}+\thisrow{-}+\thisrow{+}+\thisrow{++}}]{sum}\data %  \pgfplotstablecreatecol[create col/copy=--]{--o}\data  \pgfplotstablecreatecol[create col/copy=-]{-o}\data  \pgfplotstablecreatecol[create col/copy=+]{+o}\data  \pgfplotstablecreatecol[create col/copy=++]{++o}\data  \pgfplotstablecreatecol[create col/expr={100/\thisrow{sum}*\thisrow{--o}}]{--}\data  \pgfplotstablecreatecol[create col/expr={100/\thisrow{sum}*\thisrow{-o}}]{-}\data  \pgfplotstablecreatecol[create col/expr={100/\thisrow{sum}*\thisrow{+o}}]{+}\data  \pgfplotstablecreatecol[create col/expr={100/\thisrow{sum}*\thisrow{++o}}]{++}\data  \pgfplotstablecreatecol[create col/expr={\thisrow{--}+\thisrow{-}+\thisrow{+}+\thisrow{++}}]{sumnew}\data  \pgfplotstabletypeset[columns={text,sum}   ,precision=10,columns/text/.style={string type}]\data \quad \pgfplotstabletypeset[columns={text,sumnew},precision=10,columns/text/.style={string type}]\data   %\pgfplotstablesave{\data}{pgfplotstempout.dat} \begin{tikzpicture} \begin{axis}[my stackbar plot]  \addplot table [x expr = \thisrow{--o},y=text] {\data};  \addplot table [x expr = \thisrow{-o}, y=text] {\data};  \addplot table [x expr = \thisrow{+o}, y=text] {\data};  \addplot table [x expr = \thisrow{++o}, y=text] {\data}; \end{axis} \end{tikzpicture} \quad \begin{tikzpicture} \begin{axis}[my stackbar plot]  \addplot table [x expr = \thisrow{--},y=text] {\data};  \addplot table [x expr = \thisrow{-}, y=text] {\data};  \addplot table [x expr = \thisrow{+}, y=text] {\data};  \addplot table [x expr = \thisrow{++}, y=text] {\data}; \end{axis} \end{tikzpicture}  \end{document}
How we fix (La)TeX math coding to be left aligned In display math (employing $$...$$) content normally gets aligned centered. But, I need it to be left aligned. Any suggestions?  Example  $$f(x) = \frac{{{{\sin }^2}x{\mkern 1mu} \cos x}}{{\sin x + \cos x}} -          \frac{1}{4}\tan (\frac{\pi }{4} - x){\mkern 1mu} {\mkern 1mu}           \forall {\mkern 1mu} x \in R - \{ n\pi  - \frac{\pi }{4}\} ,n \in I$$ I understand the difference between LET and LET* (parallel versus sequential binding), and as a theoretical matter it makes perfect sense.  But is there any case where you've ever actually needed LET?  In all of my Lisp code that I've looked at recently, you could replace every LET with LET* with no change.  Edit: OK, I understand why some guy invented LET*, presumably as a macro, way back when.  My question is, given that LET* exists, is there a reason for LET to stay around?  Have you written any actual Lisp code where a LET* would not work as well as a plain LET?  I don't buy the efficiency argument.  First, recognizing cases where LET* can be compiled into something as efficient as LET just doesn't seem that hard.  Second, there are lots of things in the CL spec that simply don't seem like they were designed around efficiency at all.  (When's the last time you saw a LOOP with type declarations?  Those are so hard to figure out I've never seen them used.)  Before Dick Gabriel's benchmarks of the late 1980's, CL was downright slow.  It looks like this is another case of backwards compatibility: wisely, nobody wanted to risk breaking something as fundamental as LET.  Which was my hunch, but it's comforting to hear that nobody has a stupidly-simple case I was missing where LET made a bunch of things ridiculously easier than LET*. "a ten years old boy" or "a ten year old boy" How did they post process before Photoshop? How can I calculate the number of work days between two dates in SQL Server?   Monday to Friday and it must be T-SQL. Seeking Python script for creating .mxd files? Is there a system in place to prevent new users asking, answering and accepting answers to each others' off-topic questions? Normally new users are not allowed to up-vote until they gain a bit of reputation by receiving up-votes or accepts from the community of a site.  But this has a weak point that is being exploited:     A number of new users post, answer, and accept each others'    off-topic questions before we can close them (in less than 5 min).    Accepting each others' answers gains them enough reputation to    start up-vote each others' posts.   We are closing them and the moderators clean up afterwards but  this keeps happening over and over again and becoming frustrating  to the extent that I think a systematic solution might be required. Is there a system to prevent this kind of circumvention of  the reputation requirements using accepts by new users?  One possible solution might be to change the system so accepts from users who do not have enough reputation to up-vote  do not give any reputation (at least until the answer gets an up-vote). Merging two files, one column at a time I tried to get the number of available brew packages by running  brew search | wc -l   but I don't know how accurate this really is. What do I need to take into account to get a more correct number?  PS: macports lists 19,889 packages online Computing $\int_{0}^{\pi}\ln\left(1-2a\cos x+a^2\right) \, dx$ how is this picture made? Good day guys, i have to something like this, any idea how is this picture made ?  so it looks like negative i did invert it in photoshop but the bright side of his face was blue, so there been negative effect and smting been used to change his face to blue before nagative or smting that changed his face to normal skin color after negative ? what can it be ? what do you guys think ? THANKS ! for help. Let $f$ be an entire function and $L$ a line in $\mathbb{C}$ such that $f(\mathbb{C})\cap L=\emptyset$. Show that $f$ is constant function.  If $f$ is not constant  then $f(\mathbb{C})$ is dense set in $\mathbb{C}$, but how can I use that line does not intersect the image set? MacPorts fails to find 'make' I've installed Xcode and MacPorts on a brand new mid-2013 MacBook Air, but MacPorts doesn't work, saying that it cannot find anything.  mba:~ cnst$ sudo port install wget Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build. Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information. ---&gt;  Computing dependencies for wgetError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it? mba:~ cnst$   And, indeed, there is no make or clang in the path, but it is definitely installed, though:  mba:~ cnst$ find /Applications -name "clang" -or -name "make" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang /Applications/Xcode.app/Contents/Developer/usr/bin/make mba:~ cnst$   Why is there no make or clang in the path?  Why MacPorts doesn't work?  I notice that  mentions that you have to install something from ADC, Apple Command Line Developer Tools, but ADC doesn't work since last Thursday or Friday due to their security breach, so, the developer tools are nowhere to be found.  What's the proper solution here? Solving functional differential equation $f'(x)=2f(2x)-f(x)$ ¿Can you help me with axiom of regularity? I understand that if we define a set such that $A=\{A\}$ we have then a contradiction because of regularity axiom, thus, a set can not be a member of itself. My question is; how can it be so, if I define a set $A=\{A,b\}$ ($b$ disjoint from $A$)?  Thanks. Does Windows Defender update if Windows Update is set to manual? I just read a book "Linear Algebra and Its Applications 4E" by David C. Lay. The book is (should be) LaTeX typeset. The matrix and equations are so nice, please see the following 3 examples:        It's so beautiful, so I want get the same effect inside my paper. Here is my code:   \usepackage{amsmath} \usepackage{colortbl} \newcommand\y{\cellcolor{clight2}} \definecolor{clight2}{RGB}{212, 237, 244}%  %%% \[A=\left[ \begin{array}{ccccc} \y 0 &amp; -3 &amp; -6 &amp; 4 &amp; 9 \\    -1 &amp; \y -2 &amp; -1 &amp; 3 &amp; 1 \\ -2 &amp; -3 &amp; 0 &amp; \y 3 &amp; -1 \\ 1 &amp; 4 &amp; 5 &amp; -9 &amp; -7      \end{array} \right]\]  \[A=\left[\begin{array}{cccccc} \rowcolor{clight2} 3 &amp; -9 &amp; 12 &amp; -9 &amp; 6 &amp; 15\\ 0 &amp; 2 &amp; -4 &amp; 4 &amp; 2 &amp; -6 \\ 0 &amp; 3 &amp; -6 &amp; 6 &amp; 4 &amp; -5 \end{array} \right]\]   And the result:     But how to add these arrows?? zsh I/O redirection: redirecting and then piping; what is going on? Can somebody explain what is going on in this command:  echo foo &gt;&amp;2 | grep foo   Zsh (5.0.2) prints foo twice. One seemingly to stdout and one to stderr, since running these commands:  { echo foo &gt;&amp;2 | grep foo } &gt;/dev/null   and:  { echo foo &gt;&amp;2 | grep foo } 2&gt;/dev/null   both just print foo once. How can I prove this sequence is decreasing? My problem is how to prove  $$\frac{1+2}{1}  &gt; \frac{1+3+\frac{3^2}{2!}}{1+2} &gt; \frac{1+4+\frac{4^2}{2!}+\frac{4^3}{3!}}{1+3+\frac{3^2}{2!}}&gt;\cdots $$  i am sure that the sequence is decreasing as limit exp(1).  However, the reason why the sequence is decreasing is not evident.  Thanks if you consider this issue and make me relief. I'm considering buying a subscription to Minecraft Realms (on PC) as a gift for somebody I know. Mojang doesn't have a gift option, and I don't want to spoil the surprise, so I was thinking I'd just buy it myself and give them access.   If I do this, will the recipient be able to turn around and invite their own friends? Can I grant them "admin" access to the server?