How to draw lines across several subplots created using pgfplotslibrary groupplots In the following just a minimal example to work with:  \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.14} \usepgfplotslibrary{groupplots} \begin{document} \begin{tikzpicture} \begin{groupplot}[   group style={     group name=left plots,     group size=1 by 2,     vertical sep=2*\baselineskip},   trig format=rad,   axis x line=center,   axis y line=left,   ymin=-1.2, ymax=1.2,   xmin=0, xmax=4.2*pi,   samples=100] \nextgroupplot[   xtick={     0,%     1.5707963267948966192313216916398,% pi/2     3.1415926535897932384626433832795,% pi     4.7123889803846898576939650749193,% 3*pi/2     6.283185307179586476925286766559,% 2*pi     7.8539816339744830961566084581988,% 5*pi/2     9.4247779607693797153879301498385,% 3*pi     10.995574287564276334619251841478,% 7*pi/2     12.566370614359172953850573533118% 4*pi   },   xticklabels={     $0$,      $\frac{\pi}{2}$,      $\pi$,      $\frac{3}{2}\pi$,      $2\pi$,      $\frac{5}{2}\pi$,      $3\pi$,      $\frac{7}{2}\pi$,      $4\pi$   }] \addplot[domain=0:4*pi]{sin(x)}; \nextgroupplot[   xtick={     0,%     0.52359877559829887307710723054658,% pi/6     2.0943951023931954923084289221863,% 2*pi/3     3.6651914291880921115397506138261,% 7*pi/6     5.2359877559829887307710723054658,% 5*pi/3     6.8067840827778853500023939971056,% 13*pi/6     8.3775804095727819692337156887453,% 8*pi/3     9.9483767363676785884650373803851,% 19*pi/6     11.519173063162575207696359072025% 11*pi/3   },   xticklabels={     $0$,      $\frac{\pi}{6}$,      $\frac{2}{3}\pi$,      $\frac{7}{6}\pi$,      $\frac{5}{3}\pi$,      $\frac{13}{6}\pi$,      $\frac{8}{3}\pi$,      $\frac{19}{6}\pi$,      $\frac{11}{3}\pi$   }] \addplot[domain=0:4*pi]{sin(x-2*pi/3)}; \end{groupplot} \end{tikzpicture} \end{document}     I want to know how to draw lines across several plots, e.g. a line from ymin of the bottom plot to ymax of the top plot at pi/3.   This is a simple example, I could had a \draw line outside groupplot environment specifying the global coordinates but in more complex cases the global coordinates could be difficult to compute. I think that I could specify a node inside the top plot at (ymax,pi/3) and another node inside the bottom plot at (ymin,pi/3) and then, outside groupplot environment, using \draw with the previous nodes. I don't know if is the right way to draw across several plots and I din't find any example on the net.
How to draw line through group plots in pgfplots? This issue has been driving me crazy for the past 10-20h. I have a group plot (pgfplots) where I have 2 plots one under another. I'd like to draw a vertical line (e.g. a helpline at x=150e-6) that would go through all of them.  When drawing inside the axis or rather nextgroupplot environment I can use something like this: \draw[thin] (axis cs:150e-6,\pgfkeysvalueof{/pgfplots/ymin}) -- (axis cs:150e-6,\pgfkeysvalueof{/pgfplots/ymax}); but this allows me to draw only on one of the subplots. If I go outside the axis environment I am able to draw on the entire {tikzpicture}, but I can't use the axis reference.  \begin{figure*}[h] \centering \begin{tikzpicture}  \begin{groupplot}[       group style = {group size=1 by 2, x descriptions at=edge bottom, vertical sep=0.2cm},       ytick={0, 1.8},       ymin=0,       ymax=3,       xmin=0,       xmax=550e-6,       change x base=true,       x SI prefix=micro]  \nextgroupplot \addplot table [x index = {0}, y index = {1}, col sep=comma] {plots/plot1reduced.csv};  \nextgroupplot[x unit=s] \addplot table [x index = {0}, y index = {3}, col sep=comma] {plots/plot1reduced.csv};  \draw[thin] (axis cs:150e-6,\pgfkeysvalueof{/pgfplots/ymin}) -- (axis cs:150e-6,\pgfkeysvalueof{/pgfplots/ymax});  \end{groupplot} \end{tikzpicture} \caption{Case 1} \label{fig:case1plot} \end{figure*}
(Disclaimer: I've read the  and I do understand that this is bordering on off-topic since it's about consumer devices. However I hope that I've managed to make enough on-topic by asking about why it is the way it is, and what is the explanation from an electromagnetic point of view - in other words, what laws of electricity and what practical considerations have gone into these decisions).  I recently bought a power tool and in its manual I found a few peculiar safety rules. I cannot see why they would be there, although reading up more it seems that they are commonplace. My understanding of electricity is limited (just about enough to be dangerous), so I'm hoping to expand it. :)  The rules are:   Don't use an extension cord longer than 25m. Considering this is an outdoors tool, this limitation is severely restrictive. The best explanation I've seen is that longer cables would simply have too high of a resistance and the tool wouldn't be able to operate at full power. But this argument doesn't convince me. The tool is rated at 2.4kW, and it's meant to be used with 220V AC power source, which means it uses about 11 amps of current. All the extension cords I've ever come across have at least 16A limitation, so there is quite a reserve still. In addition, the power has to travel much, much further to get to my house, and even after the meter it still takes probably close to those same 25m to get to the power outlet. Why only 25m after the outlet? The resistance of the cables isn't that big, is it? Don't daisy-chain extension cords. I suspect this is a variation of the above - don't exceed 25m; every connection adds additional contact resistance; water in the outdoors connections can be a problem - in general, it just adds risk. However, apart from the water in the contacts, the rest seems to me to be practically negligible. Is there really a significant contact resistance? Assuming that the extension cords are in a good shape. Make sure that the power cord is entirely unrolled. This is another odd one. My suspicion is that it has to do with inductive resistance. But is it really that strong? Wherever I've seen people actually wanting to create an electromagnet, it's pretty much hard work. You need a lot of neat, tightly-wound loops of wire. An extension cord has a lot of insulator around it, spacing the wires pretty far apart, and the loops are very chaotic. In addition, if that was a problem, why do  exist? They're used especially when you need a very long extension cord, and you don't need to unroll them completely every time you want to use them. Solved: OK, I was off the mark. The correct answer (also a ) has to do with the wire heating up from being used close to its limits. When coiled together, the temperature can go pretty high and melt the cables. Not fun. Update manager doesn't offer an upgrade to the new release Flight reservation for Schengen visa In my custom Drupal 8 plug-in I perform such query:  $select = db_select('my_table', 'e'); $select-&gt;addField('e', 'field1');  $select-&gt;condition('field3', 'NULL', '!='); $select-&gt;condition('field4', array(11, 12, 31, 32, 33), 'IN');  $select-&gt;groupBy("e.field1"); $select-&gt;orderBy("e.field1"); $select-&gt;orderBy("e.field5"); $entries = $select-&gt;execute()-&gt;fetchAll(\PDO::FETCH_ASSOC);    And it works fine. It returns me all records grouped by field1 that meets the condition, orderered. But it returns only field1 column.  I wanted to get more columns, so I have added another $select-&gt;addField('e', 'field2'); just after first one:  $select = db_select('my_table', 'e'); $select-&gt;addField('e', 'field1'); $select-&gt;addField('e', 'field2');  $select-&gt;condition('field3', 'NULL', '!='); $select-&gt;condition('field4', array(11, 12, 31, 32, 33), 'IN');  $select-&gt;groupBy("e.field1"); $select-&gt;orderBy("e.field1"); $select-&gt;orderBy("e.field5"); $entries = $select-&gt;execute()-&gt;fetchAll(\PDO::FETCH_ASSOC);    This time I get error:     Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1055 Użyto 'my_database.e.field2' bez umieszczenia w group by:   Which means "my_database.e.field2 has been used without putting in into group by". But I don't want to group by every column I select.  Unfortunatelly Drupal 8 added ONLY_FULL_GROUP_BY :( Then, how can I use groupBy and select more then one column at the same time? Need a proofreading why all the units are satisfied $a^2-2b^2 =\pm1$ for $\mathbf{Z}[\sqrt{2}]$ All the units are satisfied Pell's equation $a^2-2b^2=\pm1$  for $\mathbf{Z}[\sqrt{2}]$, $a,b\in\mathbf{Z}$.  Here is my proof:  Let $a+b\sqrt{2}$ be a unit $\in\mathbf{Z}[\sqrt{2}]$. This implies $$(a+b\sqrt{2})(c+d\sqrt{2})=1, c+d\sqrt{2}\in\mathbf{Z}\sqrt{2}$$ $$\implies \mathrm{norm}((a+b\sqrt{2})(c+d\sqrt{2}))=1$$ $$\implies \mathrm{norm}(a+b\sqrt{2})\cdot \mathrm{norm}(c+d\sqrt{2})=1$$ $$\implies (a+b\sqrt{2})(a-b\sqrt{2})(c+d\sqrt{2})(c-d\sqrt{2})=1$$ $$\implies (a^2-2b^2)(c^2-2d^2)=1$$ $$\implies \left[ a^2-2b^2=1\text{ and } {c}^2-2{d}^2=1\right]\text{ or } \left[ a^2-2{b}^2=-1\text{ and }{c}^2-2{d}^2=-1\right]$$ $$\implies {a}^2-2{b}^2=\pm1$$ How to backup symbolic link paths? I have created a C# application which uses a SQL Server database. I have other computers connected to me and to each other in a workgroup. I have shared my C# application with others. When they open the application they get the error      A network related or instance-specific error occured while establishing a connection to SQL Server. the server was not found or was not accessible   But the application is working fine on my PC. The connection string I am using is   Data Source=ASHISHPC1\SQLEXPRESS;Initial Catalog=ACW;User ID=ash159;Password=ashish159   which is stored in a .config file.   The application is working fine on my PC. What must I do? I have enabled the TCP/IP in the server but the same error persists. Some change in connection string or something else? Stack Exchange blog is showing me the mobile site and won't let me exit on Chrome 21. Could someone take a look? Thanks. Edit I noticed it was with the special query string, that I can't exit it. How to dismiss the Windows 8.1 Upgrade banner? As of today, my Windows 8 system is displaying a large banner covering about a quarter of the screen, demanding that I upgrade to Windows 8.1 for free.  The banner helpfully informs me that that I can continue to use the computer while the upgrade is downloading.  There's a button to go to the store for the upgrade, but no other choices, such as No Thanks, Maybe Later, or Absolutely Not.    I can't find a way to dismiss the banner, and I can start programs but can't give them focus while the banner is present.  So I'm dead in the water.  How can I fix this?  Bringing up Task Manager doesn't give me any options.    My employer doesn't yet support Windows 8.1 (which is also an issue, but beyond my control) so I won't be able to connect to work if install the upgrade.  So there is no way on God's green earth that I'm going to install this upgrade now.    UPDATE: The banner went away after the second restart and I was able to run regedit as @magicandre suggested.  The banner hasn't reappeared.  So far, so good. How to search something on across multiple sites with a single Google query? I tried   (search term site:stackoverflow.com) OR (search term site:superuser.com) OR (search term site:stackexchange.com) search term site:stackoverflow.com,superuser.com,stackexchange.com search term site:stackoverflow.com site:superuser.com site:stackexchange.com   None of them works. What is the correct way to search? How to Sync OneDrive Business /Office 365 on Linux? Microsoft OneDrive Business/Office 365 Pro offers 1 TB of cloud storage but unfortunately there has never been a method to sync it on Linux. Labelling figures in the tikz package Consider the following piece of code, which uses the tikz-feynman package:  \usepackage{tikz-feynman, contour} \tikzfeynmanset{compat=1.1.0}  \begin{document} \begin{center}     \begin{tikzpicture}[baseline={(current bounding box.center)}]     \begin{feynman}         \diagram [vertical'=a to b] {             {   [edges={draw=none}]                 a -- b [label=0:\(\mu_{3}\)]                 -- c [label=-180:\(\mu_{4}\)]                 -- d [label=-180:\(\mu_{1}\)]                 -- a [label=0:\(\mu_{2}\)],             },             {   [edges={photon}]                 a -- ap [particle=\(p_{2}\)],                 b -- bp [particle=\(p_{3}\)],                 d -- dp [particle=\(p_{1}\)],                 c -- cp [particle=\(p_{4}\)],             },         };         \diagram* {             (c) -- [fermion] (b)                 -- [fermion] (d)                 -- [fermion] (a)                 -- (c),         };     \end{feynman}     \end{tikzpicture}     %     \feynmandiagram[baseline={(current bounding box.center)}, vertical'=a to b,] {         {   [edges={fermion}]             a -- b [label=0:\(\mu_{3}\)]             -- c [label=-180:\(\mu_{4}\)]             -- d [label=-180:\(\mu_{1}\)]             -- a [label=0:\(\mu_{2}\)],         },         {   [edges={photon}]             a -- ap [particle=\(p_{2}\)],             b -- bp [particle=\(p_{3}\)],             d -- dp [particle=\(p_{1}\)],             c -- cp [particle=\(p_{4}\)],         },     };     %     \begin{tikzpicture}[baseline={(current bounding box.center)}]     \begin{feynman}         \diagram [vertical'=a to b] {             {   [edges={draw=none}]                 a -- b [label=0:\(\mu_{3}\)]                 -- c [label=-180:\(\mu_{4}\)]                 -- d [label=-180:\(\mu_{1}\)]                 -- a [label=0:\(\mu_{2}\)],             },             {   [edges={photon}]                 a -- ap [particle=\(p_{2}\)],                 b -- bp [particle=\(p_{3}\)],                 d -- dp [particle=\(p_{1}\)],                 c -- cp [particle=\(p_{4}\)],             },         };         \diagram* {             (a) -- [anti fermion] (b)                 -- [anti fermion] (d)                 -- [anti fermion] (c)                 -- (a),         };     \end{feynman}     \end{tikzpicture}     \end{center} \end{document}   This piece of code draws the following figure:    I would like to label each figure. I do not want a caption, but just a label beneath each diagram. The label should say Diagram I, Diagram II, Diagram III.  How do I implement this into my code? How to download Bootcamp drivers without Bootcamp assistant? I'm setting up my MacBook Air for a Windows-only boot setup. This was easy enough. It already had rEFIt on it, I just connected a Windows 7 boot thumb drive, and away I went.  However, it seems Apple does not let you download Bootcamp drivers outside of their assistant tool. Reinstalling OS X just for the drivers is ridiculous.  This laptop no longer has OS X on it at all. How do I get the required drivers? I cannot find them anywhere on Apple's support pages.  Every other manufacturer has their drivers available for download.   How do I download the Windows drivers for my 2010 MacBook Air without the BootCamp Assistant? Delete all files except in a certain subdirectory with find I want to recursively delete all files not accessed in a while in folder a, except all files in the subfolder b.  find a \( -name b -prune \) -o -type f -delete   However, I get an error message:     find: The -delete action automatically turns on -depth, but -prune does   nothing when -depth is in effect.  If you want to carry on anyway,   just explicitly use the -depth option.   Adding -depth causes all files in b to be included, which must not happen.  Anyone know a safe way to make this work? I have the Basic license for ArcGIS and so I cannot use the collapse dual lines to centreline tool or the river bathymetry toolset by ESSA as they both need an advanced license.   Any idea how I can find the centreline or thalweg of the canyons using another tool which works in the standard version of ArcGIS please? Let $A =$ {$(x,y,z) \in \mathbb{R}^3 |$  $x,y,z \geq 0$ and $x+y+z \leq 1$}.   Compute the integral $$\int_{A} x^m y^n z^p (1-x-y-z)^q dx dy dz$$  using new variables $u = x+y+z$, $v=\frac{y+z}{x+y+z}$, $w=\frac{z}{y+z}$.  Also, although it was not stated in the problem, I'm assuming that $m,n,p,q \in \mathbb{Z}$.   Since $f(x,y,z)=(x+y+z, \frac{y+z}{x+y+z}, \frac{z}{y+z}) = (u,v,w)$, $f^{-1}(u,v,w) = (u(1-v), uv(1-w), uvw)$  Thus J $= \begin{vmatrix} 1-v &amp; -u &amp; 0\\  v(1-w) &amp; u(1-w) &amp; -uv\\  vw &amp; uw &amp; uv\\ \end{vmatrix} = u^2v$  Skipping the part where I find the new limits of integration, and skipping some algebraic simplification we have:  $$\int_{A} x^m y^n z^p (1-x-y-z)^q dx dy dz$$   $$= \int_{0}^1 \int_{0}^1 \int_{0}^1 u^{m+n+p+2}(1-u)^q v^{n+p+1}(1-v)^mw^p(1-w)^n du dv dw$$  However, I have no  idea where to go from here. Any help would be much appreciated. Which is the best visualization for contingency tables? Which is best plot, from statistical standpoint, to show a , which is typically being analyzed by chi-square test? Is it a dodged barplot, stacked barplot, heatmap, contour plot, jitterred scatterplot, multiple lines plot or something else? Should one show absolute values or percentages?  Edit: Or as @forecaster suggests in the comments, the table of numbers is itself a simple plot and should be sufficient. Can't restart nginx, bind() failed (98: Address already in use) How to design partitions for SSHD? I know this may be a tough or confusing question, but I have numerous existing materials I created and reuse for a project, which were all prepared for Blender Internal.  Now, I want to start the transition to Cycles, but I've hit a roadblock. How can I transition my materials without completely starting over? Or should I just forget it and start with fresh materials?