Sorry - I admit that I don't know how to ask this question in a really clear way.
Both the documentation and previous stackoverflow questions have various points that seem in some way to touch on this problem but it's not organised or structured in any way that I can make sense of it with respect to what I'm trying to achieve, and the StackOverflow questions seem to be so narrow that it's hard to know if they even apply.
I have a script that generates scatter plots for data being generated by a hardware device. The plot data generation step cycles through different sources of data on the hardware to plot them on the scatter. (The original script was written by another person, no longer with our group). As I understand it, it's dumping the data into an anonymous scatter plot object - which presumably is the same one - because what it does (and what I want it to do) is collect the data from all the sources onto the same scatter plot.
But now I want to change the size of the labels along the axis - and all the on-line information I can find seems to suggest that you have to do this by creating a named instance of the plot and modifying it through the instance. However I don't know how to make sure that all the data from each successive source is placed into the same instance, so that when the final plot is displayed I get the scatter for all sources in one plot. How would I do this (and then modify the associated axis text)?
The actual plot lines are:
id_accumulator=0
for i in range(len(pfc)):
data = numpy.asarray(pfc[i].getSpikes())
if len(data) > 0:
pylab.scatter(data[:,0], data[:,1] + id_accumulator, color='green', s=4) # s=1
id_accumulator = id_accumulator + pfc[i].size
pylab.show()
Speaking more generally than this specific example, how would I set things up so that I can have, for X data sources, Y separate plots each displaying some subset of points [S[x][p]] where S is the set of data sources, x is a source and p is a data point, where I then set the labels for each axis to any size (and presumably font)?