I have this plot generated following the answers proposed .  \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document}  \pgfkeys{/pgfplots/x axis shift down/.style={     x axis line style={yshift=-#1},     xtick style={yshift=-#1},     xticklabel shift={#1}}} \pgfkeys{/pgfplots/y axis shift left/.style={     y axis line style={xshift=-#1},     ytick style={xshift=-#1},     yticklabel shift={#1}}} \pgfplotsset{every axis/.append style={semithick,tick style={major tick length=4pt,semithick,black}}}      \pgfplotsset{     range frame/.style={         tick align=outside,         axis lines*=left,           separate axis lines,         x axis shift down=10pt,         y axis shift left=10pt,         enlarge x limits=false,         enlarge y limits=false,         } }  \begin{tikzpicture} \begin{axis}[     range frame,     title={Axial ratio},     xlabel={frequency, GHz},     ylabel={dB},     yticklabel style={/pgf/number format/precision=3},     xtick=data,     ytick=data, ]     \addplot[black,mark=*,smooth] coordinates {(37.0,0.67534604814572) (37.1,0.66594092733667) (37.2,0.66026355025028) (37.3,0.65812677526894) (37.4,0.65927865540192) (37.5,0.66342752821752)}; \end{axis} \end{tikzpicture} \end{document}   Everything works fine, except for this little glitch:    What's the reason behind it?
Question I use pgfplots with the ultra thick option ans without explicitly giving the domain for the y-axis. It seems that in this case, some part of my graph is &quot;eaten&quot; by the margin: see the picture below to understand what I mean. Is there a way to avoid this? Code \documentclass{article} \usepackage{pgfplots} \begin{document}  \begin{tikzpicture}  \pgfplotsset{every axis/.append style={                     axis x line=middle,    % put the x axis in the middle                     axis y line=middle,    % put the y axis in the middle                     axis line style={-&gt;},  % arrows on the axis                     xlabel={$x$},          % default put x on x-axis                     ylabel={$y$},          % default put y on y-axis                     grid = major                     }}  \begin{axis}[xmin=-5,xmax=5] \addplot[orange,smooth, ultra thick] {sin(deg(x))} ;                  \end{axis} \end{tikzpicture}  \end{document}
I have latitude and longitude as 19.0649070739746 and 73.1308670043945 respectively.   In this case both coordinates are 13 decimal places long, but sometimes I also get coordinates which are 6 decimal places long.   Do fewer decimal points affect accuracy, and what does every digit after the decimal place signify? In Blender 2.8, how do I light an EEVEE scene with an HDR? DMed for the first time yesterday and one of the things I feel I need to sort out, among other comments, improvements, and similar, is how combat itself is actually initiated. The main example I want to use involves  attempting to generate surprise conditions by players. Here the characters have entered a ruined city and generally been noisy about the whole thing - using a spell to make their voice louder and literally ask if there is anyone about. Any enemies around probably know what something is about to kick off but arguably don't know precisely what. After resting the PCs head up a long flight of steps to a temple on the edge of the city. At the top only one crests and finds 3 bandits lounging around, chatting, and doing whatever bandits do in their spare time. After a brief exchange of pleasantries a combat starts:  DM &quot;The bandit spits in your direction 'we're not done looting the temple, so you can clear off', and starts raising his crossbow as his mates emerge from their cover behind the pillars... PC &quot;I cast Firebolt at Bandit Keith&quot; DM &quot;Hang on, I hadn't finished, everyone rolls for initiative...  Which sparked a debate about whether or not the PC could preemptively cast/attack before the combat starts by &quot;instant actioning&quot; (as above) as I was describing the start of the combat. As far as the bandits are concerned a lone half-elf who is pretty heavily armed has popped up in front of them, not even tried to be diplomatic, and ended up saying something rather suggestive about their mothers. The PC then asked about it being &quot;surprise&quot; because the bandits wouldn't necessarily expect an attack, but my view of &quot;surprise&quot; is closer to an ambush where one party is unaware of the other's existence. (This precise example is close to how  works, however this specific PC was always the first of the party to go into rooms (only one with darkvision) and consistently felt they should get free rounds at the start of combat based on declaring attacks before I could &quot;start&quot; the combat.) The second example the party came to more bandits, who were not alert immediately, in an underground room. They used magic to yell something obscene at the bandits and shut off all the torches so the bandits were effectively blinded. At this point they wanted to burst into the room casting spells, swinging maces, and playing some &quot;meaty chords&quot; (the bard's words, not mine). Again they wanted surprise arguing that, despite the fact that the bandits were yelling and cursing in confusion, they couldn't be sure they were actually being attacked as such. In the end a character with darkvision wanted to sneak in to a corner and again wanted surprise based on passing stealth rolls, so they would start the &quot;combat&quot; by firing a crossbow. At that point I think I relented because it was clear that they would do anything to try and win combats in a single round. In a nutshell, my question is: &quot;how liberally can the concept of surprise be applied to combat - is it only when one party is literally unaware of a threat (as I read the rules), or just when they are caught slightly off guard by the exact situation?&quot; NB I already plan to address the attempts at interrupting descriptions with actions next session, because it happened at other times and actually threw me off quite a bit. How do you access the matched groups in a JavaScript regular expression? I want to match a portion of a string using a  and then access that parenthesized substring:  var myString = "something format_abc"; // I want "abc"  var arr = /(?:^|\s)format_(.*?)(?:\s|$)/.exec(myString);  console.log(arr);     // Prints: [" format_abc", "abc"] .. so far so good. console.log(arr[1]);  // Prints: undefined  (???) console.log(arr[0]);  // Prints: format_undefined (!!!)   What am I doing wrong?    I've discovered that there was nothing wrong with the regular expression code above: the actual string which I was testing against was this:  "date format_%A"   Reporting that "%A" is undefined seems a very strange behaviour, but it is not directly related to this question, so I've opened a new one, .    The issue was that console.log takes its parameters like a printf statement, and since the string I was logging ("%A") had a special value, it was trying to find the value of the next parameter. Displaying previous and current year with dynamic text? Traditional search-as-you-type on newer Nautilus versions "Infamous" for an event Why are there humans in the Star Wars Universe? Kind of brought to my attention by .  The poster mentions non-humans, which implies that there are humans in the Star Wars universe.  However, since it happened "A long time ago, in a galaxy far far away", how could there be any humans in the Star Wars universe?  Are there "humans" in Star Wars there just because it was easier to make the movies that way?  Other shows such as Star Trek are about the future of humans, so it's easy to understand the existence of humans in those storylines.  However for Star Wars it just doesn't make sense.  It also seems odd that they'd go around creating all these different species and then just leave the main characters as humans. I guess another possibility is that the humans in star Wars eventually populated Earth, but then what happened to all the technology? I thought of this a while ago, but can't make up a proof or a counterexample. Does anyone know more about this?  $$\sqrt{a+b}  \le \sqrt a + \sqrt b , \forall a,b \in \mathbb R_+$$  Moreover, what happens with more variables? Say:  $$\sqrt{x_1+x_2+...+x_n} \le \sqrt x_1 +\sqrt x_2 + ... + \sqrt x_n $$  with $ x_i \in\mathbb R_+ \forall i \in \{1,2,...,n\} $  Or when $i = \mathbb N$  PS: I tried looking on the internet for this but I don't know how I would call this. I have seen similar questions on the matter (, ) of adding vertical space and not breaking vertical lines, the solutions suggested are to add space after the \\ using \\[0.1cm] for example or changing the \arraystretch which I do not want to do. Using \\[0.1cm] allows me to add space just before a \hline but not after as well.  How can I add vertical space after a \hline without breaking vertical lines in a table?  Please find my MWE below:  \documentclass{scrreprt} \usepackage{setspace} \usepackage[left=2.5cm,right=2.5cm,top=3cm,bottom=3cm]{geometry} \usepackage{array,tabularx} \doublespacing  \begin{document} \begin{table}[htb]   \centering   \onehalfspacing   \caption{Table of info.}      \begin{tabular}{c | c c}  &amp; C/S Analyser &amp; O/N/H Analyser \\  &amp; EMIA 320 V2 &amp; EMGA 830 \\[0.1cm]    \hline    \noalign{\vskip 0.1cm} Sensitivity (ppm) &amp; 0.1 &amp; 0.001 \\ Furnace type &amp; Induction &amp; Impulse \\ Carrier gas &amp; Pure O2 &amp; Pure He \\[0.1cm]    \hline     \end{tabular}    \doublespacing   \label{tab:chem} \end{table} \end{document} In setting up dual Boot with Windows and Ubuntu, which OS do I install first? I'd like to install both Ubuntu 12.04 and Windows XP on a Dell laptop, and I was thinking about using a dual boot structure, and using the bulk of my hard drive as empty hard drive space to share files between the two operating systems (so choice of file system type is very important in this set-up).     The kind of partitioning structure I would like to use is  Partition 1 - Ubuntu 12.04 (root) (20GB)  Partition 2 - Ubuntu /home        (20GB)  Partition 3 : Free Space          (560GB)  Partition 4 : Windows XP          (35GB)  Partition 5 : SWAP                (3GB)  (Total Hardrive Capacity is ~640GB)    My question is; what is the best way to go about setting up this kind this system?   Should I install Windows XP first and setup the partitions, and then install Ubuntu which I believe will install the GRUB bootloader for OS booting choice   or   Do I install Ubuntu first, setting up the available partitions and then perform a WIndows install?  Please let me know if there is anything in this setup that I have left out and should know about, including things related to setting particular partitions as logical or primary, and whether the boot partition and the filesystem partition should actually be two separate partitions. Does there exist a continuous function such that f(x) is rational for every irrational x, and f(x) is irrational for every rational x? Does there exist a continuous function such that f(x) is rational for every irrational x, and f(x) is irrational for every rational x? I can think of examples where this would be true, but I'm having a lot of trouble with the continuity. How do I backup my Ubuntu Phone? Editing network interfaces without system rebooting I'd like to make some changes to my networking configuration by editing my /etc/network/interfaces file. What's the cleanest way to make changes to this file and have them take effect, without having to reboot? Typically, I've been doing:   Edit the file service networking restart   But I have the impression that this isn't the "right" way to make these kinds of changes. Cascading Drop down in SharePoint Online If $f$ is continuous and $f'(x)\ge 0$, outside of a countable set, then $f$ is increasing Is there Ubuntu's analogue of snapshot.debian.org? Does the new finding on "reversing a quantum jump mid-flight" rule out any interpretations of QM? new finding by Minev et al. seems to suggest that transitions between atomic states are not instantaneous, but continuous processes wherein a superposition smoothly adjusts from favoring one state to another (if I understand it correctly). The authors also claim to be able to catch a system "mid-jump" and reverse it. Popular articles are  and .  I am curious if this finding rules out any interpretations of QM. It seems to generally go against the Copenhagen attitude, which describes measurements as collapsing physical systems into a definite classical state. The popular articles indeed claim that the founders of QM would have been surprised by the new finding.  The link with the asterisk mentions that something called "quantum trajectories theory" predicts what was observed. Is this an interpretation, or a theory? And are they implying that other interpretations/theories don't work? I want to install Ubuntu on the C: partition where my Windows 7 is, simply to replace the systems. I've also tried to install it on another partition (without formating it), which failed!  All I get is:      No root file system is defined. Please correct this from the partitioning menu.   I want to install Ubuntu without formatting any of my partitions. Is that possible? What is the difference between an SLR and a DSLR? What are the differences between SLRs and DSLRs? (I know that DSLRs are Digital SLRs but are there any actual differences?)  Also, what are the advantages/disadvantages of both?