I have a box plot using tikz in LaTeX, as in the following:       \begin{tikzpicture}[scale=1]      \begin{axis}        [width=\linewidth, height=4cm,        ytick={1,2},        yticklabels={A, B},        xlabel=A, or B        ] coordinates {};        \addplot+[fill, draw=black,        boxplot]         table[row sep=\\,y index=0] {         data\\          2\\2\\0\\0\\0\\0\\0\\0\\0\\0\\1\\2\\0\\0\\0\\2\\         };        \addplot+[fill, draw=black,        boxplot]         table[row sep=\\,y index=0] {         data\\         1\\5\\15\\15\\3\\3\\2\\5\\4\\1\\14\\2\\4\\1\\0\\2\\          };      \end{axis} \end{tikzpicture}   Is there a way to draw the violin plot for the same data and how in LaTeX? Thank you for any suggestion!
I use pgfplots for most of my plots. Now I need to add a . Is this possible with pgfplots or any other package?
S(x), which stands for “x is a surgeon”  P(x, y), which stands for “x is a patient of y”  R(x), which stands for “x recovers”  H(x), which stands for “x is happy”  1>"A surgeon with no patients is happy" means: for any person xx, if xx is a surgeon and there is no person yy for which yy is a patient of xx, then xx is happy.  2> "A surgeon is happy if all her patients recover" means: for any person xx, if xx is a surgeon and - if for every person yy for which yy is a patient of xx, we have that yy recovers - then xx is happy.  I have these as solution:  1:∀(x) ( S(x)∧ ∀(y)P(y,x) → H(x) ) 2: ∀(x) [ { S(x)∧ (∀(y)P(y,x) ∧ R(y)) } → H(x)]  Are these okay?  And how do prove that 1 follows from 2 by resolution (not by drawing a truth table)? Javascript get date in format Double vs. BigDecimal? I made an svg in Illustrator, but now I want to use it in a website/app but it's a huge size (around 10 MB) how can I decrease the size of it? My illustrator file is pretty big but that because I have some tracing elements underneath. The file also has a big artboard, but when I save should I delete my tracing elements, and decrease the artboard size? Google Chrome error: Error initializing NSS without a persistent database It was working properly before, suddenly it stopped working. When I tried to open by clicking on its icon, but nothing happens.  As already here are many questions related to this, but none of them are working for me. I already checked  and .  I uninstalled Chrome by following the instructions from .  sudo apt-get purge google-chrome-stable rm ~/.config/google-chrome/ -rf   Again I installed Chrome by:  sudo apt-get install google-chrome-stable   But the problem is still thesame.  When I enter google-chrome in terminal I get following error.  [12289:12323:0723/014456:ERROR:nss_util.cc(744)] Error initializing NSS with a persistent database (sql:/home/maddy/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory [12289:12323:0723/014456:ERROR:nss_util.cc(212)] Error initializing NSS without a persistent database: NSS error code: -5925 [12289:12323:0723/014456:FATAL:nss_util.cc(214)] nss_error=-5925, os_error=0 biblatex: How to omit "p." at \cite? How to Backup and Restore Android OS without Rooting I wrote a simple backup script which back ups my stuff on a remote server, everything is working great but I'd like to have some sort of report like "backup successful or not".  this is my script   # backup CHECK date1=`date +"%d.%m.%y - %H.%M"` host=`hostname` twdate=`date +"%d.%m"` performtw=`ls -la|grep "tw"|grep "$twdate" &gt; tmp1.txt` echo $performtw if cat tmp1.txt|grep "tw" then echo backup successfull printf "tw backup success!" | mail -s "tw backup check $date1 repor$ rm tmp1.txt else echo backup failure printf "sitename backup failure!" | mail -s "site backup check $date1 repor$ rm tmp1.txt fi exit   But this isn't working really well and I ask you if there's some simpler and more powerful way to do it? Basically it just needs to check if file exists with the name starting xyz and was created at date xyz. Configure Postfix to use external MX servers for delivery of local mail if user is unknown Save entire process for continuation after reboot I developed an algorithm for a fairly hard problem in mathematics which is likely to need several months to finish. As I have limited resources only, I started this on my Ubuntu 12.04 (x86) laptop. Now I want to install some updates and actually restart the laptop (the "please reboot" message is just annoying).  Is there a way to save an entire process including its allocated memory for continuation beyond a reboot?  Here is some information about the process you might need. Please feel free to ask for further information if needed.   I called the process in a terminal with the command "./binary &gt; ./somefile &amp;" or "time ./binary > ./somefile &amp;", I cannot really remember. It's printing some debug information to std::cerr (not very often). It's currently using roughly 600.0 kiB and even though this will increase, it's unlikely to increase rapidly. the process runs with normal priority the kernel is 3.2.0-26-generic-pae, the cpu is an AMD, the operating system is Ubuntu 12.04 x86. it runs since 9 days and 14 hours (so too long to cancel it ;-) ) Biblatex citation order Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"? The following are two methods of building a link that has the sole purpose of running JavaScript code. Which is better, in terms of functionality, page load speed, validation purposes, etc.?    function myJsFunc() {     alert("myJsFunc"); } &lt;a href="#" onclick="myJsFunc();"&gt;Run JavaScript Code&lt;/a&gt;     or    function myJsFunc() {     alert("myJsFunc"); }  &lt;a href="javascript:void(0)" onclick="myJsFunc();"&gt;Run JavaScript Code&lt;/a&gt; What is the formula for $\frac{1}{1\cdot 2}+\frac{1}{2\cdot 3}+\frac{1}{3\cdot 4}+\cdots +\frac{1}{n(n+1)}$ How can I find the formula for the following equation?  $$\frac{1}{1\cdot 2}+\frac{1}{2\cdot 3}+\frac{1}{3\cdot 4}+\cdots +\frac{1}{n(n+1)}$$  More importantly, how would you approach finding the formula? I have found that every time, the denominator number seems to go up by $n+2$, but that's about as far as I have been able to get:  $\frac12 + \frac16 + \frac1{12} + \frac1{20} + \frac1{30}...$ the denominator increases by $4,6,8,10,12,\ldots$ etc.  So how should I approach finding the formula? Thanks! How do I mirror the faces of a cube (edit all of them when I edit one)? Cannot get grub menu to timeout (or go away) The  tag doesn't appear to be very useful.  It's used in a variety of ways (for reading, writing, showing, transforming, compiling, translating, obfuscating, obtaining, ... source code) on 1747 questions right now, and doesn't appear to be adding any classification value to the site.  Can we get rid of it? Delete all lines in Notepad++ except lines containing a word I need? How do I disable auto-maximizing of newly launched windows in GNOME? Proving trigonometric equation $\cos(36^\circ) - \cos(72^\circ) = 1/2$ Please help me to prove this trigonometric equation.  $\cos \left( 36^\circ \right)-\cos \left( 72^\circ \right) = \frac{1}{2}$  Thank you. How should ambiguous tags be dealt with?