I've got a tikz diagram that has 6 plot lines on 2 axis. The plot lines all trend from 100 toward 0 on the y-axis, with ticks at 90, 80, ..., 10.  Everything looks okay, however the most interesting part of the data is the part between 10 and 0. It is very difficult to properly make out the data in this part because it is too small, the diagram would be much more informative/readable if this part could be larger than the rest of the diagram.  I could make the whole y-axis logarithmic but this isn't really ideal either for the dataset in question.  Is there a way to have a part of the diagram/plot stretch by more than the rest of the diagram. So i.e. 100-90 will be 1 cm, 90-80 will be 1 cm and so on, but 10-0 will be 3cm.  Note this is not a bar chart, so gluing two separated plots together as in the 'Focusing certain parts of a chart in latex' question would not help here at all. Nor does that question/solution allow for making a part of the plot to scale differently, all it allows for is leaving out a peice in the middle of the plot - I'm not at all sure why it is being suggested that this is a duplicate of a completely different question...  Further explanation via diagram.   I want to stretch the part in the red box as shown by the arrows, while leaving the rest unchanged.  Sample diagram markup as requested.  \begin{tikzpicture}[fill=gray]  %Prevent double labelling at origin \pgfplotsset{ignore zero/.style={%   #1ticklabel={\ifdim\tick pt=0pt \else\pgfmathprintnumber{\tick}\fi} }}  \begin{axis}[   axis y line*=left,   ymin=0,   ymax=104,   xmin=0,   xmax=9.9,   xlabel=units of time,   ylabel=percentage,   y=1.5cm/15,   x=1.5cm,   ignore zero=y,   ]  \addplot[smooth,mark=*,blue]   coordinates{     (0 , 100.000000000000)     (1 , 21)     (2 , 1.28)     (3 , 0.21)     (4 , 0.03)     (5 , 0.004)     (6 , 0.0005)     (7 , 0.00005)     (8 , 0.000007)     (9 , 0.0000008)   }; \addlegendentry{blue}   \addplot[smooth,mark=o,green]   coordinates{     (0 , 100.000000000000)     (1 , 2.004965950432)     (2 , 0.050130282209)     (3 , 0.001303231721)     (4 , 0.000034413136)     (5 , 0.000000916142)     (6 , 0.000000024509)     (7 , 0.000000000658)     (8 , 0.000000000018)     (9 , 0.000000000000)     }; \addlegendentry{green}   \addplot[smooth,mark=*,red]   coordinates{     (0 , 100.000000000000)     (1 , 30.969834976929)     (2 , 11.504103027913)     (3 , 4.422780528370)     (4 , 1.725299638737)     (5 , 0.678378118320)     (6 , 0.268047163678)     (7 , 0.106264332554)     (8 , 0.042226956059)     (9 , 0.016809562633)     }; \addlegendentry{red}   \end{axis}  \end{tikzpicture}
I am using pgfplot to draw graphs in latex. Now this is the problem I am facing:  \begin{tikzpicture}[scale=1] \begin{axis}[ybar,grid=major,bar width=2pt,width=8cm, height=8cm,xmin=1,xmax=540,ymin=1,ymax=240] \addplot [draw=black,fill=green]  table [x=size, y=cluster, col sep=comma] {sim-0.4-0.6.csv}; \end{axis} \end{tikzpicture}   It generates the following graph:    Since, I have values mainly between 0-50 on x-axis, I want to zoom there. After that, values comes around 500. S0, there are no graph points between 50 - 450. How should I do that?
Strange directory under C: of Windows 7 I am a EE grad. student who has had one undergraduate course in real analysis (which was pretty much the only pure math course that I have ever done). I would like to do a self study of some basic functional analysis so that I can be better prepared to take a graduate course in that material in my university. I plan to do that next fall so I do have some time to work through a book fully. Could some one recommend some good books to start working on this?   Thanks in advance How can I do a line break (line continuation)? I have a long line of code that I want to break up among multiple lines. What do I use and what is the syntax?  For example, adding a bunch of strings,  e = 'a' + 'b' + 'c' + 'd'   and have it in two lines like this:  e = 'a' + 'b' +     'c' + 'd' Usage of: 'since', 'for' and 'in' The question I want to ask is related to the answer of this question:  .   My aim is to separate my bibliography into two parts : one part for a personnal bibliography, and a second one for the regular bibliography.  To do that, I use the technique of the post I cited :  \documentclass{article} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage[style=alphabetic,maxnames=6,natbib=true]{biblatex} \bibliography{biblatex-examples}  % Variants of each could be added \newcommand{\firstname}{Donald~E.} \newcommand{\lastname}{Knuth}  \DeclareBibliographyCategory{byname}  \DeclareIndexNameFormat{byname}{% Test could be refined   \ifboolexpr{ test {\ifdefstring{\lastname}{#1}}            and test {\ifdefstring{\firstname}{#3}}               } {\addtocategory{byname}{\thefield{entrykey}}} {}}  \AtDataInput{%   \indexnames[byname]{author}}  \begin{document}  \section{Knuth's books}  \begin{refsection}  \nocite{*}  \printbibliography[category=byname,heading=none]  \end{refsection}  \section{Not Knuth's books}  \printbibliography[notcategory=byname,heading=none] \end{document}   The problem is that only the second bibliography appears, and when I remove the refsection, then all the bibtex entries of my input files are printed, separated as they should.  EDIT: the aim is to have all publications (even the ones not cited) by author knuth in the first section and all the other cited publications in the second one. Show that $\frac 1{1+x+y^{-1}}+\frac1{1+y+z^{-1}}+\frac1{1+z+x^{-1}}=1$ if $xyz=1$ How to resolve a Java Rounding Double issue Seems like the subtraction is triggering some kind of issue and the resulting value is wrong.  double tempCommission = targetPremium.doubleValue()*rate.doubleValue()/100d;   78.75 = 787.5 * 10.0/100d  double netToCompany = targetPremium.doubleValue() - tempCommission;   708.75 = 787.5 - 78.75  double dCommission = request.getPremium().doubleValue() - netToCompany;   877.8499999999999 = 1586.6 - 708.75  The resulting expected value would be 877.85.  What should be done to ensure the correct calculation? On a plane, there are two congruent circles, $O_1, O_2$. One line intersects $O _1$ and A and B and $O_2$ at C and D such that AB=BC=CD=14. Another line intersects $O _1$ and E and F and $O_2$ at G and H such that EF=FG=GH=6. What is the radius of the circle.   The configuration was hard to draw. . You can reflect the lines over the centers, but it is still the same. Cleary, $\widehat{AB}=\widehat{CD}$ and $\widehat{EF}=\widehat{GH}$. I have no idea how to proceed. How can I get the node id the comment is attached to in hook_comment_insert?  I tried the following code:  function mymodule_comment_insert(Drupal\Core\Entity\EntityInterface $entity) {   if ($entity-&gt;bundle() == 'comment_custom' &amp;&amp; $entity-&gt;get('entity_type')-&gt;value == 'node') {      // Below returns empty, because "$entity-&gt;get('entity_id')-&gt;value" is empty.     $node = Node::load($entity-&gt;get('entity_id')-&gt;value);      // No luck with this one too.     $node = \Drupal::routeMatch()-&gt;getParameter('node');    } } Is there a way to set the gnome-terminal title from within the terminal itself without having to right click on the tab. Something like:  active-terminal --title "Foo"   There was a related question previously with an answer that almost lets you do this:  but that doesn't set the gnome-terminal tab title only the window title. Is there any point in taking the alternate exits in Bit Trip Runner 2?  I can't see any benefit to doing so in terms of unlocking a different path in the overworld, so is it just for your own benefit? Why are there two tensions on my free body diagram? I'm working on a project that requires me to get some of the position and rotation values to give to an Arduino via pyserial, but after sifting through the Blender documentation I can't find how to get them through script. Something's been bugging me about SO for a while now, that is the inaccuracy of "length of time" strings.  The best example I can give at the moment is .  If you look at the length of time he's been registered, it says 1 year.  He joined the site September 2008, which is only 3 months off two years.  It's the same with answers - you can give an answer 50 seconds before anyone else, but at certain times page views will show both as "5 minutes ago" or whatever.  That's not quite as bad, but with answers being sorted "randomly by votes" by default you could lose out on votes or being marked as the correct answer to the slower answer even if they're both the same.  There's probably a better method amongst these, IMO:   "Vulgar fraction" unicode characters     Member for 1½ years   answered 5¼ minutes ago asked 3⅓ hours ago  Different units   Member for 21 months (at least it's better than "1 year") Answered 306 seconds ago (ugly, I know) Asked 64 minutes ago (also ugly)  Combining units   Member for 1 year 9 months (fits easily on the profile screen) Answered 5 minutes 6 seconds ago (probably too long) Asked 3 hours 20 minutes ago (also long)  Rounding up   I personally prefer option 1, unicode fraction characters.  "Member for 21 months" is pretty good too because it's easy to quickly work out.  "Asked 452 seconds" ago is horrible though.  EDIT: I'm completely aware of the timestamp hover because I am forced into using it so much. It's a great feature, but it's not really in your face so not everyone knows about it. I still think there's a better "glancing" solution than having to hover over the time string. Proof of continuity $f(x+y) = f(x) + f(y)$ In the Phone app (iPhone 5, iOS 6.1.2), I click on a contact's number, the call is initiated and starts ringing.   For a brief moment at this point, the label of the number (home / work / etc…) is displayed alongside the contact's name, but it quickly is removed and replaced with the call timer counting up and only the name (and picture of the contact) are shown.      How can I see the number that is being called during a phone call? I have 1-band GeoTIFF file. The color interpretation for band is gray. I want a color table in order to transform my Col.tiff to Col.jpeg or Col.png.  I tried putting a color table in this tiff via a .vrt:  gdal_translate -of VRT  Col.tiff Col.vrt   then adding in the .vrt:  &lt;ColorInterp&gt;Palette&lt;/ColorInterp&gt; &lt;ColorTable&gt;    &lt;Entry c1="0" c2="0" c3="255" c4="240"/&gt;    &lt;Entry c1="0" c2="0" c3="254" c4="240"/&gt;    &lt;Entry c1="0" c2="0" c3="253" c4="240"/&gt;    &lt;Entry c1="0" c2="0" c3="252" c4="240"/&gt; &lt;/ColorTable&gt;   And translate again :  gdal_translate Col.vrt Col.tiff   But it answered:  Warning 1: Unable to export color table to GeoTIFF file.  Color tables can only be written to 1 band or 2 bands Byte or UInt16 GeoTIFF files.   How can I do it?  For information, there is gdalinfo for the Band:  Band 1 Block=55x18 Type=Float64, ColorInterp=Gray   Description = Something   Metadata:     GRIB_COMMENT=Something[p]     GRIB_ELEMENT=TMP     GRIB_FORECAST_SECONDS=0 sec     GRIB_REF_TIME=1401926400 sec UTC     GRIB_SHORT_NAME=SMTHG     GRIB_UNIT=[p]     GRIB_VALID_TIME=1401926400 sec UTC SUID-bit not working for executables within /tmp directory Printing the value of getuid() and geteuid() from an executable with SUID-bit (chmod +s) turned-on, seems to result with the original caller ID instead of the owner id if the executable is located within the /tmp directory.  When compiling the exact same code to home directory (and executing chmod +s), this seems to work as expected.  I've searched a lot and could not find any reference to such behavior.  Does anybody know why is this happening?  this source is simple as that:  #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;sys/types.h&gt; #include &lt;unistd.h&gt;  int main(){     printf("%d\n%d\n", getuid(), geteuid());     return 0; } What is the promotion rate of professors in United States? I'm writing an essay, and want to know the promotion rate and average duration from assistant professor to associate professor and associate professor to professor in recent years. Sadly I don't know the data for the US. Could anyone tell me? Virtualbox has no 64-bit options