Id_accumulator = id_accumulator + pfc.size Pylab.scatter(data, data + id_accumulator, color='green', s=4) # s=1 The actual plot lines are: id_accumulator=0 How would I do this (and then modify the associated axis text)? 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. 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.īut 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. (The original script was written by another person, no longer with our group). The plot data generation step cycles through different sources of data on the hardware to plot them on the scatter. I have a script that generates scatter plots for data being generated by a hardware device. Sorry - I admit that I don't know how to ask this question in a really clear way.īoth 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |