Page 1 of 1

Scatter Plot

Posted: Tue Jun 21, 2011 4:00 am
by #13
I`m looking for a way to create scatter plots in NEURON. I have all the data in two vectors and I want at each point to plot a cross or something. Any help is greatly appreciated.

Thank you

Re: Scatter Plot

Posted: Tue Jun 21, 2011 4:15 pm
by ted
Read about the Vector class's "plot" method in the Programmer's Reference.

Re: Scatter Plot

Posted: Tue Jun 21, 2011 5:17 pm
by #13
Thanks loads, works great! When I first looked over the pr I somehow missed the mark method.

Re: Scatter Plot

Posted: Wed Jun 22, 2011 12:07 pm
by ted
Vector class has so many methods it's easy to miss something. Sometimes it's helpful to just browse through them all to discover pearls that may be useful.