The content  \documentclass[margin=1cm]{standalone}  \usepackage{filecontents} \usepackage{pgfplots}  \begin{filecontents}{dummy.txt}     category,amountTotal     excellent,0     good,8     neutral,2     not good,0     poor,0 \end{filecontents}  \begin{document}     \begin{tikzpicture}         \begin{axis}         [             ybar,             symbolic x coords={excellent,good,neutral,not good,poor},             xtick=data,             x tick label style={rotate=45,anchor=east},                      %xticklabels from table={dummy.txt}{category}         ]             %\addplot coordinates {(excellent,0) (good,8) (neutral,2) (not good,0) (poor,0)};             \addplot table[x=category,y=amountTotal,col sep=comma] {dummy.txt};         \end{axis}     \end{tikzpicture} \end{document}   compiles just fine with lualatex -shell-escape filename.tex. However, when I try to get the xticklabels from the file dummy.txt by means of the command xticklabels from table={dummy.txt}{category}  \documentclass[margin=1cm]{standalone}  \usepackage{filecontents} \usepackage{pgfplots}  \begin{filecontents}{dummy.txt}     category,amountTotal     excellent,0     good,8     neutral,2     not good,0     poor,0 \end{filecontents}  \begin{document}     \begin{tikzpicture}         \begin{axis}         [             ybar,             %symbolic x coords={excellent,good,neutral,not good,poor},             xtick=data,             x tick label style={rotate=45,anchor=east},                      xticklabels from table={dummy.txt}{category}         ]             %\addplot coordinates {(excellent,0) (good,8) (neutral,2) (not good,0) (poor,0)};             \addplot table[x=category,y=amountTotal,col sep=comma] {dummy.txt};         \end{axis}     \end{tikzpicture} \end{document}   I get the error   ! Package pgfplots Error: Table 'dummy.txt' appears to have too many columns in  line 8: Ignoring 'good,0'. PGFPlots found that the number of columns is larger  than the previously determined number of columns. Please verify that every cel l entry is separated correctly (use braces {&lt;cell entry&gt;} if necessary. Also ve rify that column names are plain ASCII.). This error is not critical.   What am I doing wrong? Does xticklabels from table understand that the column separator is in this case a comma?
I've seen some of the other threads on using strings as x axis labels, but nothing that fits my situation.  I'm trying to create a bar chart from a CSV file. I can do it so long as everything in the data is numeric. However, in my actual data table, the first row is multi-word string descriptions. I need these descriptions to be the x axis labels for each bar.  I've tried symbolic x coords, but I get the "could not parse input as a floating point number" error. I've also tried adding an ID column and using that as the x values, and assigning xtick labels as the string descriptors. I get the same issue that way.  Here's an attempt at an MWE:  \documentclass{article}  \usepackage{lmodern} \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplotstable}  \begin{document}  \pgfplotstabletypeset[columns/category/.style={string type},col sep=comma]{Book3.csv} \vspace{1cm}  \begin{tikzpicture} \begin{axis}[ ybar, xlabel=Xstuff, ylabel=Value, symbolic x coords={cat a,cat b,cat c,cat d,cat e,cat f,cat g}, %xtick labels={cat a,cat b,cat c,cat d,cat e,cat f,cat g},% this is from when i tried the xtick label method xtick=data, nodes near coords, nodes near coords align={vertical}] \addplot table[x=category,y=value]{Book3.csv}; %\addplot table[x=category,y=value]{Book3.csv};&amp; again, from trying the xtick label method  \end{axis}  \end{tikzpicture} \end{document}   Since I suspect this might get answered quickly by you chart gurus, I have a follow-up question:  I have to do a bunch of these charts, and I would like to automate the symbolic x coords process. Is there a way to populate the dictionary of accepted x coords by reading a column of the data? (something like symbolic x coords={columns/category/{Book3.csv}} )?  Book3.csv looks like this (ignore the ID column if using the xtick label method):  ID, category, value, value 2 1,  cat a,    1,     7 2,  cat b,    2,     6 3,  cat c,    3,     5 4,  cat d,    4,     4 5,  cat e,    5,     3 6,  cat f,    6,     2 7,  cat g,    7,     1
Is it OK to use a forward slash '/' between words other than the obvious 'and/or'? I don't want to get into the proper use of the phrase 'and/or', but rather to investigate the use of the forward slash between other words. Examples:   I have an interview with him/her this afternoon. He has a large binder/notebook.   And even separating just letters:   I connected the i/o ports. (input/ouput) Mark the field as n/a. (not applicable) I did it w/o her help. (without)   It seems as thought the forward slash can be used to indicate an option, display ambiguity, shorten 2 words and shorten 1 word (and others).  Is it OK to use a slash to separate these words/letters (yes, that was intended), or is it better to explicitly say 'his or her'? One more thing, is it correct to 'chain' these phrases together? I'm horrible with examples but here's one:   I don't open letters/mail that aren't/isn't addressed to me. If $n\times n$ matrix $A$ has eigenvalues $1,-1$ and $n\times n$ matrix $B$ also has eigenvalues $1,-1$, can I then say something about eigenvalues of $AB$ and $BA$? ..and I don't mean finding out why it doesn't compile, I mean serious debugging: breakpoints, figuring out value of variables at a given moment during run/compile, stepping, examining a stack (is there one?), etc. All the things that we take for granted when debugging a "real" programming language. Since TeX is "turing-complete", I would like to be able to really see what is going on internally.   I'm guessing that a GUI interface for the debugger would be too much to ask, but if it exists, I'd love to hear about it. Using induction, how can I show the following identity about the fibonacci numbers? I'm having trouble with simplification when doing the induction step.  Identity: $$f_n^2 + f_{n+1}^2 = f_{2n+1}$$  I get to:  $$f_{n+1}^2 + f_{n+2}^2$$  Should I replace $f_{n+2}$ using the recursion? When I do that, I end up with the product of terms, and that just doesn't seem right. Any guidance on how to get manipulate during the induction step?  Thanks! I was wondering if mobs can go through doors or not. It's the difference between me just putting up a door to my house, or putting up dirt instead. I have two shapefiles, Point and Polyline. I'm trying to populate my polyline layer with the point data ID (systemID) where the lines start to where they end; eg. create two columns (from and to). The lines already have flow direction assigned to them. I am using ArcHydro tools but Arcpy is also fine.  In ArcHydro I have tried using Attribute Tools > Generate From/To Nodes for lines but it creates values for To and From that are not from my point data. My other alternative was using Feature to Vertices and joining the result to my point data table to get the systemID. But then I would have to update the polyline layer as well. I am sure there is a easier way of doing it.  Note: not all the lines have points at the vertices, blank values are fine for them. How to backup symbolic link paths? How to measure a qubit Hamiltonian in qiskit How to replace a video on YouTube I need to make a small correction in a video I uploaded to YouTube. Googling shows that this is not possible. However, I remember seeing it done before. I posted a comment on a video saying that a certain part of the video was missing. I got a reply back that it was fixed, and when I went to see the video again, it was changed. How was this done? I'm trying to amass a list of physics books with open-source licenses, like Creative Commons, GPL, etc. The books can be about a particular field in physics or about physics  in general.  What are some freely available great physics books on the Internet? edit: I'm aware that there are tons of freely available lecture notes online. Still, it'd be nice to be able to know the best available free resources around.  As a starter:         Table of contents sorted by field (in alphabetical order): The distance between touching objects What is the distance between, say, a cup of coffee and the table it rests on? What is the distance between two touching hands? Where can I ask questions for website recommendations? Is there any Stack Exchange site where I can ask others to recommend me good web sites for solving specific problems?  For example I would like to know if there is any URL shortening website that can allow me to define the url.  For example instead of http://bit.ly/1gX2dD0 I would like it to be http://bit.ly/superflow - if "superflow" is not available then I will invent another word.  I can imagine that such services are paid but I don't need the link to last more than one day, and maybe there is such a website. SD card not showing files when connected to pc Why do I see different versions of node and nodejs I ran the following commands to install the stable version of node  sudo npm cache clean -f sudo npm install -g n sudo npm install -g n   Now, when I run node -v, I see v10.0.0, whereas nodejs -v returns v4.2.6. As far as I'm aware, node and nodejs are the same thing. Why am I seeing this? Thanks. Affiliate Ads Are Coming To The Network Some time ago, we announced that . This has gone well and we're extremely thankful to everyone for their support and feedback. Because it has been successful so far, we're going to be extending the program to the majority of our graduated sites. Well, we've pretty much already done that, but there are quite a few sites that have ads enabled, yet still display nothing. The thing is, we don't really have an abundance of clients offering products that a  would find relevant, but Amazon has stand mixers, a selection of super fine chinois, deliciously sharp cutlery and enough cast iron to fill the Gulf Of Mexico with . Beginning as early as this week (week of 5 February 2018), our ad team is going to be hand selecting affiliate ads to be displayed on select sites. The use of inventory will of course depend on the availability of relevant ads to display which means:  Some sites might see very few, if any ads. Some topics simply don't come remotely close to orbiting anything worth advertising. Furthermore, while graduated, some sites simply don't have enough activity for ads to make sense.  Since these are hand-selected, it could take a while for ads to appear initially.  These would of course yield to inventory from clients if clients had products that were relevant to any given topic.   Nothing changes when it comes to the . If you're used to occasionally seeing a community promotion ad, you'll just notice that you'll also occasionally see an ad for something that is likely to be of interest to someone interested in the topic that your site covers. In fact, to be clear, this is simply a continuation of the announcement we made in November of 2016. We just wanted folks to know that we're going to be continuing the program where there's good potential to show relevant advertisements, even if we don't have clients lined up with a demand for it. Where can I give feedback about a certain ad on [site]? Open a meta post on your per-site meta and let us know. Please remember, the bulk of advertisements are an effort to get something small back from folks that hit the sites through search engines and are extremely unlikely to ever become contributors. Their soufflé stopped falling, and we'll probably never see them again. Maybe we can get a few bucks once they realized that copper ions help egg whites stiffen properly and buy a bowl or a proper bloom whisk. However, you're the experts on these topics and we're very likely going to listen to you. What sites, specifically? Are any sites exempt? If you're a former Stack Exchange 1.0 site and / or subsequently joined the network under a special charter, nothing changes - don't panic :) For the rest, we're just extending what we're currently doing with ads on graduated sites to also include those where there's an opportunity to make sensible use of affiliate ads. If a site has less than 15k (average) daily visits, or fewer than roughly 50k combined total posts - it might not yet be time to invest in selecting ads to be shown there. But, part of this exercise is also seeing what works best. I don't really have feedback, just some suggestions Ads aren't just an opportunity to sell stuff, they're an opportunity to really show people that we understand a given topic. That, of course, makes suggestions from people that do that stuff every day quite valuable. Post on your per-site meta and our community / ad critters will take a look. Questions? Comments? Kvetches? Let us know in an answer or comment below. If anything about the plan changes, we'll update this post to let folks know. How to set Command Block(s) to test for a particular time and output a message? Proof that every number ≥ $8$ can be represented by a sum of fives and threes. Can you check if my proof is right?  Theorem.  $\forall x\geq8, x$ can be represented by $5a + 3b$ where  $a,b \in \mathbb{N}$.  Base case(s): $x=8 = 3\cdot1 + 5\cdot1 \quad \checkmark\\ x=9 = 3\cdot3 + 5\cdot0 \quad \checkmark\\ x=10 = 3\cdot0 + 5\cdot2 \quad \checkmark$  Inductive step:  $n \in \mathbb{N}\\a_1 = 8, a_n = a_1 + (x-1)\cdot3\\ b_1 = 9, b_n = b_1 + (x-1)\cdot3 = a_1 +1 + (x-1) \cdot 3\\ c_1 = 10, c_n = c_1 + (x-1)\cdot3 = b_1 + 1 + (x-1) \cdot 3 = a_1 + 2 + (x-1) \cdot 3\\ \\ S = \{x\in\mathbb{N}: x \in a_{x} \lor x \in b_{x} \lor x \in c_{x}\}$  Basis stays true, because $8,9,10 \in S$  Lets assume that $x \in S$. That means $x \in a_{n} \lor x \in b_{n} \lor x \in c_{n}$.  If $x \in a_n$ then $x+1 \in b_x$,  If $x \in b_x$ then $x+1 \in c_x$,  If $x \in c_x$ then $x+1 \in a_x$.  I can't prove that but it's obvious. What do you think about this? How to link to apps on the app store I am creating a free version of my iPhone game. I want to have a button inside the free version that takes people to the paid version in the app store. If I use a standard link    the iPhone opens Safari first, and then the app store. I have used other apps that open the app store directly, so I know it is possible.  Any ideas? What is the URL Scheme for the app store? Correlation between dichotomous and continuous variable I am trying to find the correlation between a dichotomous and a continuous variable.  From my ground work on this I found that I have to use independent t-test and the precondition for it is that the distribution of the variable has to be normal.  I performed Kolmogorov-Smirnov test for testing the normality and found that the continuous variable is non-normal and is skewed (for about 4,000 data points).   I did the Kolmogorov-Smirnov test for the entire range of variables. Should I split them into groups and do the test? I.e., say if I have risk level (0 = Not risky, 1 = Risky) and cholesterol levels, then should I:    Divide them into two groups, like  Risk level =0 (Cholestrol level) -&gt; Apply KS Risk level =1 (Cholestrol level) -&gt; Apply KS  Take them together and apply the test? (I performed it on the whole dataset only.)   After that, what test should I do if it is still non-normal?    EDIT: The above scenario was just a description I tried to provide for my problem. I have a dataset which contains more than 1000 variables and about 4000 samples. They are either continuous or categorical in nature. My task is to predict a dichotomous variable based on these variables (maybe come up with a logistic regression model). So I thought the initial investigation would involve finding the correlation between dichotomous and a continuous variable.  I was trying to see how the distribution of the variables are and hence tried to go to t-test. Here I found the normality as an issue. The  Kolmogorov-Smirnov test gave a significance value of 0.00 in most of these variables.  Should I assume normality here? The skewness and kurtosis of these variables also show that the data is skewed (>0) in almost all cases.  As per the note given below I will investigate the point-biserial correlation further. But about the distribution of variables I am still unsure. If a set of parentheses lies between a subject and its verb, and the parentheses contain an substitutive subject whose singularity/plurality disagrees with the original subject, whose singularity/plurality should be chosen for the verb?  In other words, in the following example, should "questions" (and its verb "are") be singular, or should they remain plural as shown?     Many (if not every) questions on this StackExchange are answered.   My intuition tells me that the two words in question should remain in plural forms, since the text in parentheses only interrupts the sentence (and the sentence would be grammatically incorrect if everything in parentheses were removed and the words were in singular form).  On the other hand, when read aloud (assuming one reads the text in parentheses), this has an uncomfortable sound to it, and I've seen others write in what would be the above example's singular-form case, so I'm curious to find out which is correct.  And, thinking about it, I suppose the same question would apply when commas are used in place of parentheses.