How to add additional x-axis labels to each bar in a ybar chart? I've drawn a ybar chart in pgfplots as below, and I want to add additional x-axis labels, as indicated by what I've drawn by hand in orange.    Question: How do I add additional x-axis labels to each bar in a ybar chart?  My current code is the following:  \documentclass[crop,margin=1mm]{standalone}  \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.13}  \pgfplotstableread{ n  A  B  C C1 32 24 57 C2 34 35 12 C3 45 47 34 C4 10 20 30 }\mytable  \begin{document}  \begin{tikzpicture}  \begin{axis}[     ybar,     width=6in,     height=2.5in,     ymin=0,     ymax=100,     bar width=0.2cm,     ymajorgrids=true,     major grid style={dotted,black},     ylabel={y axis},     symbolic x coords={C1,C2,C3,C4},     xtick=data,     x tick label style={yshift=-0.5cm}   ]      \addplot table [x=n,y=A,draw=black,fill=blue!20] {\mytable};   \addplot table [x=n,y=B,draw=black,fill=blue!20] {\mytable};   \addplot table [x=n,y=C,draw=black,fill=blue!20] {\mytable};  \end{axis}  \end{tikzpicture}  \end{document}   Importantly, the labels A, B, and C repeat (they usually occur in a legend, when they're not repeated).  I attempted to use nodes near coords={A}, but putting it inside the axis[ .. ] puts an A above every bar, and putting it inside the table[ .. ] does nothing.  The labels are from the header (namely the line n  A  B  C) within \pgfplotstableread{ ... }.
pgfplots - barplot with multiple bars on same coordinate, but labelled differently I'm showing several data sets next to each other using multiple \addplot commands within a pgfplots axis environment. These are then further grouped into categories. The output of the graph per se is fine, however, I need each bar to be labelled separately - basically, I want the legend to be displayed directly underneath its corresponding element. I presume a picture will illustrate my problem more clearly:     I prepared an MWE:  \documentclass{minimal} \usepackage{pgfplots}  \begin{document}  \pgfplotstableread{ 0 35569 8842    134984   1 30428 4689    34077 2 32920 6207    73787    3 16462 7562    23496    4 12315 8572    16565    5 76572 19572   26030    }\dataset \begin{tikzpicture} \begin{axis}[ybar,         width=.9\textwidth,         ymin=0,         ymax=150000,                 ylabel={Y-Label},         xtick=data,         xticklabels = {             Category 1,             Category 2,             Category 3,             Category 4,             Category 5,             Category 6         },         major x tick style = {opacity=0},         minor x tick num = 1,         minor tick length=2ex,         ] \addplot[draw=black,fill=black!20] table[x index=0,y index=1] \dataset; %Data1 \addplot[draw=black,fill=black!40] table[x index=0,y index=2] \dataset; %Data2 \addplot[draw=black,fill=black!60] table[x index=0,y index=3] \dataset; %Data3 \legend{Data1,Data2,Data3} \end{axis}  \end{tikzpicture}  \end{document}
Mouse disappear in VirtualBox I am using latest version of VirtualBox (VirtualBox 4.3.6 for Windows hosts) and after installing any OS and clicking inside of it mouse disappear. It is not visible until I press right CRTL. Anyone know what can cause this problem. I have also installed extension pack. Find all continuous functions satisfying $\int_0^xf=(f(x))^2+C$ for some constant $C \neq 0$. Find all continuous functions $f$ satisfying   $$\int_0^xf=(f(x))^2+C$$ for some constant $C \neq 0$, assuming that $f$ has at most one $0$.  I have a question about the solution to this problem. It says that   Clearly $f^2$ is differentiable everywhere, its derivative at $x$ is $f(x)$ (I'm assuming that this is because the left hand side is differentiable, the right hand side must be differentiable as well). So $f$ is differentiable at $x$ whenever $f(x) \neq 0$, and  $$f(x)=2f(x)f'(x),$$ so $f'(x) = \frac{1}{2}$ at such points. Thus, $f= \frac{1}{2}x+b$ for some $b$ on any interval where it is non-zero; if $f$ has a zero, this gives two possible solutions, with two possible values of $b$, but since $f$ is assumed continuous, they must be the same. So we need $$\int_0^x(\frac{1}{2}t+b)dt=(\frac{1}{2}x+b)^2+C$$  so we must have $b=\sqrt{-C}$ or $-\sqrt{-C}$, leading to two solutions for $C \lt 0$.  I don't understand the bolded statements. First, how does the differentiability of $f^2$ guarantee that $f$ is differentiable, and why only at $x$ where $f(x) \neq 0$?  Next, why are there two possible solutions if $f$ has a zero, but since $f$ is continuous they must be the same?  Finally, does the last statement mean that if $C \gt 0$, then there is no solution, since we're restricted to real numbers here?  I would appreciate it if anyone answers my questions. What is causing different spacing between a header and content on one page only? I have found that for only one page (so far) the spacing between the header and content is different from the spacing on all the other pages. You can see this behavior in the images below (from pages 2 and 3 of the document):     My .tex file contents are shown below.  \documentclass[a4paper]{report} \usepackage{fullpage} \usepackage{lipsum} \usepackage{fancyhdr} \pagestyle{fancy} \setlength{\headsep}{0.5cm}  \begin{document} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\chaptermark}[1]{\markboth{\thechapter. #1}{}} \fancyhead[L]{\bfseries \leftmark} \fancyhead[R]{\bfseries \rightmark}  \chapter{Version Control} \lipsum \lipsum \lipsum \lipsum  \end{document} Making your Windows 7 a WIFI hotspot for Android? I use a broadband dongle on my Windows 7. I want to expose my laptop as a wifi hotspot so that i can use internet on my samsung galaxy ace.  I have tried Connectify but my chipset is not supported so it simply make the adhoc network. Tried Bzeek. My phone get connected, but no browsing.  Any solution that you guys have?  PS: I am in no mood to root my device. I can get goosebumps at will, regardless of the environment. Its mostly visible on my arms, and I can feel it on my head. It requires some level of concentration to achieve this.  My questions are : what biological mechanisms are involved in doing this ? Is it common ? Is it useful ? Can 12 teams in 6 disciplines play 6 rounds without repetition? A sine integral $\int_0^{\infty} \left(\frac{\sin x }{x }\right)^n\,\mathrm{d}x$ The following question comes from   post $$\int_0^{\infty} \left(\frac{\sin x }{x }\right)^n\,\mathrm{d}x$$ but now I'd be curious to know how to deal with it by methods of complex analysis. Some suggestions, hints? Thanks!!!  Sis. Prove that $\liminf x_n = -\limsup (-x_n)$ How can we prove that $\liminf x_n = -\limsup (-x_n)$?  The definitions we are using are $\limsup x_n = \lim\limits_{n\to\infty} \sup\{x_k; k\ge n\}$ $\liminf x_n = \lim\limits_{n\to\infty} \inf\{x_k; k\ge n\}$ Ubuntu on a USB stick - boot in both BIOS and UEFI modes Here is my question:  Is a homeomorphism, that is, a continuos function whose inverse function is also continuous, always bijective? I have a map of an area and georeferenced photos. I need to be able to bring the pictures as points and then be able to click at a certain point and an image pop up.   I have revisited this issue, i managed to get this far but the pop up doesn't work.   See image: To translate a vector by 10 unit in the X direction, why do we have to use a matrix?    We can just add 10 to the mat[0][0], and we got the same result too. What's the difference between stochastic and random? Hyperspace travel is a norm in Star Wars universe. Even small ships have that capability and without this capability galactic-scale economy isn't possible.  My educated estimates say that at any point of time at least billions of ships are in hyperspace across the galaxy. Now, talk about economic hubs like Coruscant during Clone Wars Era. The number of ships arriving here should be enormous. Millions in an hour? If one person small ship can have warping capability, then the number can exceed even billions in a peak hour. You can go shopping on a neighbor planet five times a day or you can live on a cheap planet even if you have a job on Coruscant (there are public transport cabs featured in Rebels TV show in case you aren't rich enough to have own ship).  Now, the famous quote:     "Traveling through hyperspace ain't like dusting crops, boy! Without precise calculations we could fly right through a star or bounce too close to a supernova, and that'd end your trip real quick, wouldn't it?"   That's fine. Calculations prevent you from hitting a star, supernova or planet which are already on map, but how does a ship avoid hitting another ship? Provided that number of ships arriving near a planet is that much high, the probability of two ships jumping to the same co-ordinate can't be zero. In fact, the probability should be very very high.  Is there a central body which controls the traffic by coordinating the hyperspace calculations of different ships? This seems unlikely because everyone seems to go anywhere they want while maintaining the destination privacy (there are countless examples). Or, is there really a traffic control body and those who travel privately actually gamble? Is there any other protocol if not traffic control body?  Has the canon ever addressed it? What about Legends? Enumerate after \label I have the following code:  \usepackage{hyperref} \newtheorem{thm}{Theorem}  \begin{thm} \label{mythm}    \begin{enumerate}       \item     \end{enumerate} \end{thm}  \ref{mythm}   The ref prints the right number. However, when I click on it, it will lead me to a wrong page (basically, to the beginning of the document).  pdflatex also has some warning.  If I add $ $ between \begin{thm} and \begin{enumerate}, the problem disappears, but now, the enumeration starts a new line.  Is there any way to fix this? I have created an ArcGIS enterprise geodatabase. There are i5, i6,... i30 tables in the sde schema of my geodatabase. What do these tables do? How can I encrypt and decrypt a string in C#? There has been some recent behavior change on SE (around July 2015).  I have two accounts I use, one Google openId based for one set of sites (call it Account-A) and another SE login based for a different set of sites (Account-B).  Used to be that I could be logged into one set of sites with the first user and a different set with the other users.    But now I am logged in with the Account-A on Site-1.  When I go to one of the sites I use the other account for and click "log in" under the SE menu, I go to a page where I only have an option to confirm creation of an account based on my Google login.  It does not present a way to log in with an SE account.    How can I log in with my other account here?  (and before you flag this as a duplicate, please ensure the other question is recent enough and that the answer is relevant.  This behavior has definitely morphed over the years... and I am having trouble finding something that is relevant.  For instance this question  simply points out how to merge the accounts which is NOT what I want  .  This question  talks about presenting different user info on each site but that's not what I want -- I want totally separate accounts). The height of a string in a gravitational field in 2-dimensions is bounded by $h(x_0)=h(x_l)=0$ (nails in the wall)  and also $\int_0^l ds= l$. ($h(0)=h(l)=0$, if you take $h$ as a function of arc length) .  What shape does it take?  My try so far: minimise potential energy of the whole string,  $$J(x,h, \dot{h})=\int_0^l gh(x) \rho \frac{ds}{l}=\frac{g \rho }{l}\int_0^l h(x) \sqrt{1+\dot{h}^2} dx$$  With the constraint  $$\int_0^l \sqrt{1+\dot{h}^2} dx- l=0$$ If it helps, it's evident that $\dot{h}(\frac{l}{2})=0$.  Generally, this kind of equation is a case of a constrained variational problem, meaning that the integrand in  $$\int_0^l \frac{g \rho }{l}h(x) \sqrt{1+\dot{h}^2} +\lambda(\int_0^l \sqrt{1+\dot{h}^2} dx- l)dx$$  Must satisfy the Euler Lagrange equation. The constraint must also be satisfied.  But, in truth, by this point I am clueless. $\lambda$ is worked through $\nabla J  = \lambda \nabla(\int_0^l \sqrt{1+\dot{h}^2} dx- l)$. I have tried this , but get nonsensical answers.  Is this method the best? If so, in what ways am I going about it wrongly thusfar? Anime about a boy and a girl who ride ostrich-like creatures through a valley I can not remember much but I have had this film in my head for years I searched everything I can remember on every website I can think of.  I don't remember the exact story but I'll list everything about it can   Apocalyptic future possibly Two main characters: a boy and a girl riding ostrich-like creatures through a valley An old blind lady that senses things Crashed spaceship looking like a submarine Giant creatures looks like yaks with blue eyes, whose eyes turn red when something is about to happen The old lady says "Some say they went to the stars" while looking at the spaceship The two main characters do something and their eyes turn blue in the distance and the village cheers   This film is at least ten years old and I would appreciate it so much if you knew anything about it, or could help me find the title.