My apologies if this is not the right place to ask this question. If so, I would appreciate it if it could be told to me where I should post it instead.
Recently I came across a question which I thought could be answered quite easily if I were able to use a regular computer programming language (e.g. Java, Python) which supported writing graphics through an API.
While I am aware that programming can be done in TeX, most notably TikZ supports this, I always get the feeling that things are much more complicated to program in TeX.
Even though I know other programming languages (Java, Python, C) to program with TikZ or TeX still feels quite daunting.
For example, to answer the above question, I could go through a
for loop for each row, a second
for loop for each column, then at each coordinate, draw a rectangle with the color which is returned by a function
value is the value of that particular cell.
However, I don't quite know how to do these things in TikZ or Tex!
Are there other programming languages with APIs that support generating nice graphics?
R programming language with the
ggplot2 library comes to mind, as well as