It is practically impossible to teach good programming style to students that have had prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.
QtiPlot is a program for scientific data visualizing. It can produce two- and three-dimensional graphics and diagrams and export them to various graphics formats. It also can make some kind of data processing.