Browsing index pages (2 articles)
↧
Use count as variable name within \foreach
I'm trying to build a bar graph using \foreach.I'd like to have each bar colored based on a variable defined. (this is part of a broader project, so I can't change how they are defined.)Using the...
View ArticleAnswer by Steven B. Segletes for Use count as variable name within \foreach
The expansion of the optional argument to \addplot was definitely quite finicky. In the end, I use a listofitems list to define and expand the colors. See ADDENDUM for version without...
View Article
Browsing index pages (2 articles)