The Python package matplotlib generates publication ready graphs for scientific data. I wrote a wrapper class that simplifies it’s use by offering an object-oriented interface, advanced presets and improved color schemes.
from classfig import classfig
fig = classfig('PPT',nrows=2) # create figure
fig.plot([1,2,3,1,2,3,4,1,1]) # plot first data set
fig.title('First data set') # set title for subplot
fig.subplot() # set focus to next subplot/axis
fig.plot([0,1,2,3,4],[0,1,1,2,3],label="random") # plot second data set
fig.legend() # generate legend
fig.grid() # show translucent grid to highlight major ticks
fig.xlabel('Data') # create xlabel for second axis
fig.save('test_fig1.png','pdf') # save figure to png and pdf
The project is available as an open-source Python package from pypi.org.