Re: [Matplotlib-users] How do you Plot data generated by a python script?

2011-08-26 Thread Jonny Milliken
You could always just save it as a list and then plot from there? The average calculation is a bit redundant though, I'm sure theres a better way of doing it import pylab import numpy >>f = open( 'myfile.txt','r') mass_store =[] >>for line in f: >>if line != ' ': >> line = line.strip() # St

[Matplotlib-users] Symmetrical Log Scale on Axis

2011-08-19 Thread Jonny Milliken
Hi, I am having some trouble establishing how to use matplotlib.scale.SymmetricalLogScale() to draw a log scale on the positive and negative axis of a plot. Assuming of course that is the correct way to go about it The code at the moment I am looking at goes something like this, with arbitrary da