Is there a way tp produce a similar plot in latex
The unique style of the diagrams at  has an informative but nice hand-drawn touch. I guess they are actually drawn by hand but just recently on our partner site for Mathematica someone asked how to draw a similar diagram such as this one with Mathematica's plot functions ().    Now without Mathematica this should be possible as well but I have a hard time getting the details right. Can such a diagram be created in TeX with a similar design? My first attempt does not look particularly great but here it is (the font is from ):      \documentclass{standalone}     \usepackage{tikz,color}     \usepackage{pgfplots}     \usepackage{fontspec}     \setmainfont{Humor-Sans}      \begin{document}     \begin{tikzpicture}     \pgfplotsset{every axis/.append style={line width=1pt}}      \begin{axis}[%         axis x line=bottom,         axis y line=left,         xtick={1.2, 2.9, 4.5},         xticklabels={-3 days, -1 day, 5 minutes},         yticklabels={}     ]     % 1st plot     \addplot [cyan!80!white, samples=200, domain=0:6] {0.05*rnd+3+(sin(deg(x))^2)/sqrt(x)*exp(-(x-2))};     % white background for 2nd plot     \addplot [white, samples=200, domain=0:6,line width=4pt] {0.05*rnd+0.4*x+2+x^2*sin(deg(x))^2*exp(-x)};      % 2nd plot     \addplot [red!80!white, samples=200, domain=0:6] {0.05*rnd+0.4*x+2+x^2*sin(deg(x))^2*exp(-x)};      \end{axis}       \node at (2.7,4.6) {downhill};     \draw  plot[smooth, tension=.7,line width=2pt] coordinates {(1.2679,5.5206) (1.9454,5.493) (2.4017,4.9261)};      \end{tikzpicture}      \end{document}
If $f(1)=1$, then is it true that $f(n)=n$ for all $n \in \mathbb{N}\cup\{0\}$. Pressure at base of 3 different dam designs The question asks, For which design will the water pressure at the base of the dam wall be the greatest?  The answer is all are equal.    This doesn't make sense to me.  Using the formula: P (pressure) = p (atmospheric pressure) + rho (density) * g (gravity) * y (depth below water surface)    What is confusing me is the y value, the depth below the surface. Yes both red points are the same depth below the water surface. But doesn't the red point in dam III only "see" a smaller column of water above it and so shouldn't it have less pressure on it than the red point in dam II?    Also, I know the formula would give the points at the base of dam I and dam II equal. But why doesn't the extra water in dam II (shaded in black) cause it to have a higher pressure at the base? Can a set be neither open nor closed? An example would do. I cant think of any.   Thanks in advance! Pacman option to assume "yes" to every question? When installing software in debian systems we can put something like this:   sudo apt-get install -y chromium-browser  that way the installation occurs automatically, whitout asking to confirm installation [Y/n]. Can i do the same with pacman? Warning or confirmation on new tag creation In retrospect of this , I would like to ask the community how they feel about a warning or confirmation (or just special highlighting) on new tag creation.  Everybody hates stock "are you sure?" confirmation, but a lot of tags get created by mistake (and then used ad nauseam).   For example, I think I might have created the  tag by accident. Assuming the right tag was , there would be two tags for c# 4.0, until they are made synonyms. With a warning, some accidental tags could be prevented. How do I answer "Where do you work?" What are the main purposes to ask someone 'Where do you work?' apart from to find out the type of place he or she works in?  I can answer:     I work in a shop.   I work in a hospital.   I work in an office.   But what other things can (or should) I use as a reply to this question?    Extra question:  sometimes I see     I work at a shop.    I work at a hospital.    I work at an office.   What's the difference between 'at' and 'in' in this case? I have a daytime raster of my study area. I have 20+ counters in the study area that count "stuff" with a timestamp. Using  I determined the type of ambient light for each collected data point.   What I'd like to do:   Add a grey/semi transparent overlay to reflect the ambient light (Dusk, Sunrise, day, sunset, and dark). The end goal: produce a time-based visualization of the data collection that highlights the time of the day. Or be able to produce a snapshot at a certain time with the proper shaded overlay. Think of this as this the image: I have bumped into an issue that doesn't allow me to do anything related to apt-get: install, remove, etc. Whenever I try to do something (e.g. sudo apt-get install firefox -f) it gives me the same error message:  Reading database ... dpkg: unrecoverable fatal error, aborting:  unable to open files list file for package `fontconfig-config': Input/output error E: Sub-process /usr/bin/dpkg returned an error code (2)   I have tried to deal with the package fontconfig-config without success.  I have found that the "Input/output error" is usually linked with physical problems of the hard drive, but I do not think that's the case I am using that hd without any other problem.  I have tried removing the mention to the package in /var/lib/dpkg/status as mentioned .  I have tried deleting all files related to the package in /var/lib/dpkg/info as I found somewhere.  But I still cannot do anything. The funny bit comes when I look for the file that is giving me troubles:   mecho@Ansible-MS-7680:/var/lib/dpkg/info$ ls fontconfig* ls: cannot access fontconfig-config.list: Input/output error fontconfig.list     fontconfig.postinst  fontconfig.preinst  fontconfig.triggers fontconfig.md5sums  fontconfig.postrm    fontconfig.prerm   This is done after I deleted all files ... it looks like fontconfig-config.list still exists but it doesn't show up!  Any idea about how to solve the problem?  I am on kubuntu precise, fontconfig-config_2.8.0-3ubuntu9.1    I do not have smartmontools installed nor any other programme I could use to check the hard disk. The most similar think I seem to have is KDE Partition Manager but it doesn't allow me to check anything (the option appears unavailable). However, I think the problem is not the hd.  How do you suggests me to do the fs check? fcheck is not installed and I cannot think of any other command in bash (as I do not think I have anything else installed that could perform a check).  Thank you.  Edit: I have found the command (silly me), fsck. This is what I got:  /dev/sda1: recovering journal Clearing orphaned inode 4456702 (uid=1000, gid=1000, mode=0140775, size=0) Clearing orphaned inode 4456700 (uid=1000, gid=1000, mode=0140775, size=0) Clearing orphaned inode 4456699 (uid=1000, gid=1000, mode=0140775, size=0) Clearing orphaned inode 4456697 (uid=1000, gid=1000, mode=0140775, size=0) Clearing orphaned inode 4456694 (uid=1000, gid=1000, mode=0140775, size=0) Clearing orphaned inode 4456693 (uid=1000, gid=1000, mode=0140775, size=0) Clearing orphaned inode 4456688 (uid=1000, gid=1000, mode=0140775, size=0) Clearing orphaned inode 4456481 (uid=1000, gid=1000, mode=0140775, size=0) Clearing orphaned inode 4456692 (uid=0, gid=0, mode=0100600, size=65536) Clearing orphaned inode 4456689 (uid=1000, gid=1000, mode=0140775, size=0) Clearing orphaned inode 4456709 (uid=1000, gid=1000, mode=0100600, size=714046) Clearing orphaned inode 4456469 (uid=1000, gid=1000, mode=0140775, size=0) Clearing orphaned inode 3672644 (uid=0, gid=0, mode=0100644, size=1595) Clearing orphaned inode 1324021 (uid=0, gid=0, mode=0100640, size=1980) Clearing orphaned inode 1324014 (uid=0, gid=0, mode=0100640, size=126) Clearing orphaned inode 4456499 (uid=1000, gid=1000, mode=0100600, size=0) Clearing orphaned inode 4456483 (uid=1000, gid=1000, mode=0100600, size=65536) Setting free inodes count to 7147142 (was 7147702) Setting free blocks count to 23891195 (was 23781617) /dev/sda1: clean, 151930/7299072 files, 5292549/29183744 blocks $ \lim_{n \to \infty} \left(\frac 1{n^2+1}+\frac 2{n^2+2}+\frac 3{n^2+3}+\cdots +\frac n{n^2+n}\right)$ Unknown apps/processes with number only are shown in the battery screen I’ve always understood that the phrase two weeks usually turns into two weeks’ when used as a modifier as in   I’m giving my two weeks’ notice.  I get two weeks’ vacation. (“two weeks’ holiday” for Brits)   with an apostrophe on the word weeks’, indicating that the vacation “belongs” to the weeks.   One way to explain this is the phrase “two weeks of vacation” being contracted to “two weeks’ vacation” – the vacation is “of” the weeks; that is, it is possessed by them.  But I’ve seen a lot of people omit the apostrophe in casual writing, and thinking about it, it seems plausible that the noun vacation would be plainly modified by the adjectival phrase two weeks.  But on the other hand, shouldn’t adjectival phrases be hypenated, namely two-weeks vacation?  Yet that seems wrong, too: the hyphenate should be singular, two-week vacation (like two-tone shoes) because .   touches on this (and references a good ) but doesn’t explain why the plural must be possessive in this case.   suggests that two weeks might be adverbial rather than adjectival, and thus resists being used attributively. But that still doesn’t quite explain this particular muddle of pluralization, possession, and attribution.  Given all this, why should “two weeks vacation” be written “two weeks’ vacation” with a possessive apostrophe? When should I use "a" versus "an" in front of a word beginning with the letter h? A basic grammar rule is to use an instead of a before a vowel sound. Given that historic is not pronounced with a silent h, I use “a historic”. Is this correct? What about heroic? Should be “It was a heroic act” or “It was an heroic act”?  I remember reading somewhere that the h is sometimes silent, in which case it’s an, and when the h is pronounced, it’s a. But then I also remember reading that it depends on which syllable is stressed. And I also think I read somewhere that it might differ between British and American English.  Personally, I pronounce the h, and believe that a is correct. I find that it sounds incorrect to use an and pronounce heroic without the h.  So how do I know when to use a and when to use an with a word beginning with the letter h? Are both acceptable or is there one that is correct? Can $X$ have compact connected components? Let $X$ be a Hausdorff, locally compact but non-compact topological space. If the (Alexandroff) one-point compactification is connected, can $X$ have compact connected components? Formatting each part/section/subsection Are there some magic lines to be placed in the preamble that would, like in CSS,  specify how each generic section or subsection in the whole document should be formatted? Windows shortcut (.lnk) parser in Java? I'm currently using Win32ShellFolderManager2 and ShellFolder.getLinkLocation to resolve windows shortcuts in Java. Unfortunately, if the Java program is running as a service under Vista, getLinkLocation, this does not work. Specifically, I get an exception stating "Could not get shell folder ID list".  Searching the web does turn up mentions of this error message, but always in connection with JFileChooser. I'm not using JFileChooser, I just need to resolve a .lnk file to its destination.  Does anyone know of a 3rd-party parser for .lnk files written in Java I could use?  I've since found unofficial documentation for the .lnk format , but I'd rather not have to do the work if anyone has done it before, since the format is rather scary. How to copy all files from a directory to a remote directory using scp? How to get from Nice to Monaco by public transport? What's the simplest and cheapest way to get from central Nice, France to Monaco by public transportation? I try to create a 2D game for Android. It looks like Cut the rope (it isn't a clone but it have same level representation) if it has a value. My problem that I can't understand that optimal sprite sizes I should use. I.e. what target screen resolution should I use to sprites didn't have anomalies on HD-devices (like Samsung Galaxy S7 and etc., phones and tablets)?    To make my question is clearer I ask about this 1 unit = X pixels for xxhdpi-screens. What is X?    P.S. Sorry if it's a duplicate I will be grateful for link on this post cuz I couldn't find it. Remove suggested apps option in iOS 10 As far as I can tell, suggested apps show themselves based on location.  There are two places where these suggested apps show themselves to me:   At the bottom left of the multitask screen when I double press the home button At the bottom left of the lock screen    article describes how to get rid of the small app icon appearing in the bottom left. However, this method is for iOS 8, and I am now on iOS 10, where I am unable to find iTunes and App Store > Suggested Apps.   How can I get rid of these (in my opinion) annoying little things? In my ~/.bashrc file reside two definitions:   commandA, which is an alias to a longer path commandB, which is an alias to a Bash script   I want to process the same file with these two commands, so I wrote the following Bash script:    #!/bin/bash  for file in "$@"     do     commandA $file     commandB $file done   Even after logging out of my session and logging back in, Bash prompts me with command not found errors for both commands when I run this script.  What am I doing wrong?