Quantcast
Channel: Use count as variable name within \foreach - TeX - LaTeX Stack Exchange
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer 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



Image may be NSFW.
Clik here to view.

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 Article
Browsing all 2 articles
Browse latest View live


Latest Images