I've got to plot an histogram with pgfplots where a single x value assumes a large value on the y-axis (14000) while the remaining data are all under 150... I'd like some suggestions on how to handle the plotting. I would like to have the plot scaled in order to have a good view of those data under 150 but at the same time it should report the largest value... Any suggestion?      \documentclass{article}     \usepackage{pgfplots}      \begin{document}      \begin{figure}     \begin{center}         \definecolor{mycolor1}{rgb}{0.00000,0.44700,0.74100}%         %         \begin{tikzpicture}         \begin{axis}[         scale only axis,         xmin=0,         xmax=10,         xmajorgrids,         ymin=0,         ymax=20000,         ymajorgrids         ]         \addplot[ycomb,color=mycolor1,solid,mark=o,mark options={solid}] plot            table[row sep=crcr] {%             0   20000\\             1   126.220647721184\\             2   136.394614023852\\             3   21.1680012089801\\             4   113.520374296189\\             5   143.838641199471\\             6   41.9123247298389\\             7   98.5479898078184\\             8   148.403736993507\\             9   61.8177727862635\\             10  81.6031666334055\\         };         \end{axis}         \end{tikzpicture}%     \end{center}     \end{figure}      \end{document}
Is there an easy way to 'break' the axis in a pgfplots environment? What I'm talking about is something like     Any minimal plot will do as an example...for example  \documentclass{minimal}   \usepackage{tikz} \usepackage{pgfplots}  \begin{document} \begin{tikzpicture} \begin{axis}[ymin=0, ymax=80] \addplot {x*0};  \addplot {x^2+50}; \end{axis} \end{tikzpicture}  \end{document}   For example, in the below plot,    I want to break the axis from around y = 10 to y = 40.   Any ideas? Does PGF have this functionality? A search for `break' in the manual doesn't yield anything.
What is the best (or preferred method) of setting a url parameter on a visualforce page embedded on a standard layout page?    This is easy to do when creating a custom link or a button, but I don't get how to do this on page load via the Apex Controller for the page.   When using a custom button you can do something like /apex/MyPageName?parameter=value  Can I use something like this?   ApexPages.currentPage.getParameters().put('Id',myId) What are the tradeoffs involved in taking a postdoc at a top university versus an assistant professorship at a non-top university? understanding the commutator of dihedral group Let  $G=D_{2n}=⟨x,y|x^2=y^n=e,  $ $yx=xy^{n-1}⟩$  I need to find $G'$ [ the commutator of G]  now I understand that $G'$ is the subgroup generated from $ U=xyx^{-1}y^{-1} , $ $ \ \forall x,y \in G$ So, $U=&lt;y^2&gt;$  whats the strategy  here ? How to add PlotLegends in a Show function? I am an undergrad in economics and really want to get a helping hand as I get from math and stats from a Stack Exchange site for economics. Where can I post my questions on economics topics? Twice now I've tried pan frying fillets of white fish (Swai and Flouder) in olive oil and butter.  Both times the fish has disintegrated into unsightly mush.  Is there some technique I'm missing?  How can I pan fry without the fish falling apart? Do we know how Senju Hashirama died? How can one show that for triangles of sides $a,b,c$ that   $$\frac{a}{b+c}+\frac{b}{c+a}+\frac{c}{a+b} &lt; 2$$  My proof is long winded, which is why I am posting the problem here.   Step 1: let $a=x+y$, $b=y+z$, $c=x+z$, and let $x+y+z=1$ to get   $\frac{1-x}{1+x}+\frac{1-y}{1+y}+\frac{1-z}{1+z}&lt;2$  Step 2: consider the function $f(x)=\frac{1-x}{1+x}$, and note that it is convex on the interval (0,1), so the minimum of   $\frac{1-x}{1+x}+\frac{1-y}{1+y}+\frac{1-z}{1+z}$  is reached when the function takes the extreme points. i.e. $x=y=0, z=1$.    But going back to the fact that this is a triangle, we note that $x=y=0 \implies a=0$ which is not possible, so the inequality is strict. What is the configuration (set of locations) of $n$ points on the surface of a sphere such that the sum of distances is maximum for $n=1,2,3,...$?  The sum of distances is measured by summing the lengths of every straight line (through the sphere) connecting every possible combination of $2$ points.  All the points are on a single sphere of radius $R$.  Here's a visualization:   Acknowledgements: Based on  Physics S.E. question. Image from . I have a really simple Java class that effectively decorates a Map with input validation, with the obvious void set() and String get() methods.  I'd like to be able to effectively call those methods and handle return values and exceptions from outside the JVM, but still on the same machine Update: the caller I have in mind is not another JVM; thanks @Dave Ray  My implementation considerations are typical    performance ease of implementation and maintenance (simplicity?) reliability flexibility (i.e. can I call from a remote machine, etc.)   Is there a 'right way?' If not, what are my options, and what are the pro/cons for each?  (Stuff people have actually done and can provide real-life feedback on would be great!) Could any one give an example of a bijective map from $\mathbb{R}^3\rightarrow \mathbb{R}$?  Thank you. Quick question: what is the compiler flag to allow g++ to spawn multiple instances of itself in order to compile large projects quicker (for example 4 source files at a time for a multi-core CPU)? $\displaystyle\sum_{n=1}^\infty \frac{1}{n^s}$ only converges to $\zeta(s)$ if $\text{Re}(s) &gt; 1$.  Why should analytically continuing to $\zeta(-1)$ give the right answer? qt4 / libqt4-* in Ubuntu 20.04 How to randomly select an item from a list? Assume I have the following list:  foo = ['a', 'b', 'c', 'd', 'e']   What is the simplest way to retrieve an item at random from this list? I have a div with two images and an h1. All of them need to be vertically aligned within the div, next to each other. One of the images needs to be absolute positioned within the div. What is the CSS needed for this to work on all common browsers? &lt;div id=&quot;header&quot;&gt;   &lt;img src=&quot;..&quot; &gt;&lt;/img&gt;   &lt;h1&gt;testing...&lt;/h1&gt;   &lt;img src=&quot;...&quot;&gt;&lt;/img&gt; &lt;/div&gt; Factoring $x^n + y^n$ over the integers When I try to upload an image, I'm presented with the following dialog box,    The dialog box does not allow uploading either from my computer or by posting a link.  This happens only on Chrome browser (running on Windows). Clearing cache and cookies, and restarting computer do not resolve.  Is this just my computer? Or is this a site-wide bug?  Additional info:  Clicking on 'click' to upload does nothing. Dragging an image onto dialog redirects me to the file location on my computer. Clicking 'Add picture' redirects me to http://[SE-domain].com/upload/image?https=true.  UPDATE: A Norton extension for Chrome was the source of the problem. Should Community Moderators be "elected for life", or have terms? While I applaud the excellent work of , the question has come up:     How long will be the elected moderator’s “mandate”? Is it for life, or are we going to have “moderator elections” regularly?   Of course, any community moderator who wishes to recuse him or herself can certainly do that at any time.   Should we have term limits that require community moderators be cycled out periodically, so others get a chance to moderate? Should we hold regular (say, yearly) moderator elections? Is it better to have a larger pool of community moderators, and let the normal ebb and flow of turnover get us "natural" variability in moderation?   What are your thoughts on this? Shapefile layer no longer editable (toggle edit option greyed out) in QGIS I am using QGIS 2.16 / Windows 10.  I have a point shapefile which I have been using for a little while that has always been editable.  Today I was editing the layer, saved my edits and left my computer for a few hours. When I came back I was not able to toggle the editing button on the toolbar and when I right click on the layer it longer has toggle editing as an option.  I have googled the problem every way I can think of and have not been able to find an answer to why the layer is suddenly un-editable or how to fix this.