Waterloo Scientific Graphics provides a programming library for creating scientific charts in Java and related languages such as Groovy and Scala. Waterloo can also be used from any environment that provides access to a Java Virtual Machine (JVM) such as MATLAB , Python, R and SciLab .