I have the following minimal example:   \documentclass[12pt,a4paper]{article}  \usepackage{pgfplots}  \begin{document}  \begin{figure}   \begin{tikzpicture}     \selectcolormodel{gray}     \begin{axis}[       ybar,       xtick=data,       symbolic x coords={A},     ]       \addplot coordinates {(A,   1.000)};       \addplot coordinates {(A,   1.150)};       \addplot coordinates {(A,   1.393)};       \addplot coordinates {(A,   1.234)};       \addplot coordinates {(A,   1.599)}; % this will be purple       \addplot coordinates {(A,   0.912)};     \end{axis}   \end{tikzpicture} \end{figure}  \end{document}   which generates the following bar chart:    I would very much expect the last bar to also be grayscale. Subsequent bars are still grayscale.  Am I going crazy or doing something wrong?  I know that I can still just add [style={fill=black!40white}] to \addplot to manually overwrite the color, but why doesn't it do it automatically?
\selectcolormodel{gray} doesn't work for the duck hair, but it works for the other parts of the ducks, why?  \documentclass{ltugboat}  \usepackage{microtype}  \usepackage{graphicx}  \usepackage{ifthen} \newboolean{grayscale}    \setboolean{grayscale}{true}% for the black &amp; white version    %\setboolean{grayscale}{false}% for the colored version     \usepackage{tikzducks} \usetikzlibrary{positioning}  \newenvironment{mytikz}{%     \begin{tikzpicture}     \ifthenelse{\boolean{grayscale}}{\selectcolormodel{gray}}{}      }     {\end{tikzpicture}}  \usepackage{ifpdf}  \ifpdf  \usepackage[breaklinks,hidelinks]{hyperref}  \else \usepackage{url} \fi   \begin{document}      Why \textbackslash\texttt{selectcolormodel\string{gray\string}} does not work for the duck hair?      Black and white version:          \begin{mytikz}         \begin{scope}[xscale=-1]             \duck[longhair=pink]         \end{scope}         \begin{scope}[xshift=10pt]             \duck[crazyhair=orange]         \end{scope}     \end{mytikz}      Colored version:     \setboolean{grayscale}{false}      \begin{mytikz}         \begin{scope}[xscale=-1]             \duck[longhair=pink]         \end{scope}         \begin{scope}[xshift=10pt]             \duck[crazyhair=orange]         \end{scope}     \end{mytikz} \end{document}
I've not seen/read any female Orcs mentioned in the movies or in the books. In one of the movies, an Uruk-hai is momentarily shown emerging from a giant, grown-Orc sized flesh packet. So are they created with spells, or do they follow the Standard Reproductive Model. Using Elseif Conditional Statement in QGIS Field Calculator? Send values from one form to another form How do I navigate to a samba location I've mounted in Nautilus on the command line? Please note: I am two weeks old in Linux. I have found a lot of answers to this question on the internet, tried many, but all failed one way or another. Therefore I dare to ask once again in the hope that someone here could explain it simply :)  Pre-conditions:  In my institute, we have a Samba server. In Windows, it is accessed by going to \\xyz.220.131.233\ and entering the login abc and the password def.   In Ubuntu, I was able to do exactly the same using Nautilus, pressing Ctrl+L and entering smb://xyz.220.131.233/. It then asks for the login and the password and connects. I can even drag a folder from here to the 'Places' and have a shortcut to the remote location.   So far so good. I've just installed Matlab and want to open this remote location. Trying to cd to smb://xyz.220.131.233/ returns      Cannot CD to smb://xyz.220.131.233 (Name is nonexistent or not a directory).   A Mac user in my group told me I first mount the location, but he didn't know how to do it.   Is it true and how do I do it? What is the motivation for including the compactness and semi-simplicity assumptions on the groups that one gauges to obtain Yang-Mills theories?  I'd think that these hypotheses lead to physically "nice" theories in some way, but I've never, even from a computational perspective. really given these assumptions much thought. How did this person gain possession of the Infinity Stones? For some time, Microsoft has supported an option to remove the limit of 260 symbols for NTFS file name length.  The web is full of articles, describing what should be done.   Hit the Windows key, type gpedit.msc and press Enter. Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem > NTFS. Double click the Enable NTFS long paths option and enable it.   However, I don't have such option. Please see the screenshot below:    Am I missing some Windows update, or is it something else? Some websites have code to "break out" of IFRAME enclosures, meaning that if a page A is loaded as an IFRAME inside an parent page P some Javascript in A redirects the outer window to A.  Typically this Javascript looks something like this:  &lt;script type="text/javascript"&gt;   if (top.location.href != self.location.href)      top.location.href = self.location.href; &lt;/script&gt;   My question is: As the author of the parent page P and not being the author of the inner page A, how can I prevent A from doing this break-out?  P.S. It seems to me like it ought to be a cross-site security violation, but it isn't. I am using QGIS 2.6.1 and have worked in an Excel file database (which was actually converted from a Shapefile). I have managed to convert it as CSV file and load it into QGIS (displays data fine) but I have trouble to convert it to a shapefile.  I can view it but I can´t add or alter data in this file. I think I have to save it as a database.   Any clues how to convert the xlsl-data to a database and finally to a shapefile? Let $f:X \to Y$ be a homeomorphism between topological spaces $X$ and $Y$. Let $A \subseteq X$ and $B = f(A) \subseteq Y$ (given the subspace topology) and let $g: A \to B$ be the restriction of $f$ given by $g(a) = f(a)$ for $a \in A$.  Showing that $g$ is a homeomorphism.   $g$ injective   Let $g(a_1) = g(a_2)$, $a_1, a_2 \in A$.  $\implies f(a_1) = f(a_2)$  $\implies a_1 = a_2$ as $f$ homeomorphic.   g surjective   Let $y \in B$  $\implies y = f(a)$ for some $a \in A$.  $\implies y = g(a)$ for some $a \in A$.   $g$ continuous   Let $U \subseteq B$ be an open set in $B$.  $f(a) = g(a)$ for all $a \in A =&gt; f^{-1}(b) = g^{-1}(b)$ for all $b \in B$.  So $g^{-1}(U) = f^{-1}(U)$ which is open in $A$ as $f$ homeomorphic.   $g^{-1}$ continuous   Let $U \subseteq A$ be an open set in $A$.  $g(U) = f(U)$ which is open in $B$ as $f$ homeomorphic.  So $g$ is homeomorphic.  Is my understanding correct, this seems almost too straightforward so I was wondering have I overlooked something? While using the Pixel Inspector, whenever I click "copy all values" it only copies values that you can see on the screen. Anyone know a solution? I need all the values to count the number of times 1, 2, and 0 appear on the graph. Undefined reference to vtable How to add border to listview and different row colors at the same time Show inline math as if it were display math (and vice versa) $n^2 + 3n +5$ is not divisible by $121$ Question:  Show that $n^2 + 3n + 5$ is not divisible by $121$, where $n$ is an integer. Replace background while using HDRI for lighting? How can I replace the background of my scene, but keep the reflections and lighting generated from my HDRI? What visa does my wife need to travel to the UK with me, if I'm going there on a business visa? I am resident of India and just got UK Business visa ( 6 months, multiple entry) .. I am going for a week on business trip. I want to take my wife along with me and at the end of trip.. I want to extend my trip for 3 days and we want to spend some time on leisure.   What visa I should apply for my wife.. visitor visa? should she mention in the visa form that she is going along with me and staying with me while I am on work and later we are spending time on leisure.   While filling my business visa form, there was a field asking if anyone else is going with me.. I selected no.. as there were no plans.  Also is it ok to spend time on leisure on UK Business visa More than 1000 gallons of paint is/are sold each day Possible Duplicate:             Can anyone help me determine the correct verb in this sentence? I am not sure what to do. If it were not such a complex introductory phrase, it would be more obvious. The general consensus of my friends who are not professional writers is that the verb should be are.   To me the question is whether or not the subject is singular (i.e., “a large collective volume of paint”, perhaps in a tank) or plural (a lot of the individual gallon containers of paint).  If simplified to other options, it would be like these:   Paint is sold. Gallons of paint are sold. More paint is sold. More gallons of paint are sold. More than 1000 gallons of paint is sold. [emphasis on total volume] More than 1000 gallons of paint are sold. [emphasis on individual containers] Flow to get all site collections in a tenant Created a Flow by using the below REST call and stored the title and Urls in another list  /_api/web/lists/getbytitle('DO_NOT_DELETE_SPLIST_TENANTADMIN_ALL_ SITES_AGGREGATED_SITECOLLECTIONS')/items?$select=Title,SiteUrl   Here the problem is it is returning only 100 items but I have 360 site sollections.   Not sure what I am doing wrong Maybe I'm searching for the wrong thing, but I can't see how I can do this.  I have two servers:   Server A (has SQL Server 2012 installed) Server B (has SQL Server 2014 installed)   Server A provides an API via IIS. The code both inserts and gets data from the database depending on the API call.  Server B does exactly the same for its local database.  I would like to have it so that the two databases are consistent copies of each other. I do believe this is what HA accomplishes.   So a load balancer, for example, might direct API calls to A sometimes, and B sometimes, but the data needs to be consistent either way.  I found some documentation on HA for SQL Server 2012, but not on how to do this for a mixed environment of 2012 and 2014.  Any help or pointers to documentation would be great! Thanks.