Scatter Plot

Using the graphical user interface to build and exercise models. Includes customizing the GUI by writing a little bit of hoc.
Post Reply
#13
Posts: 2
Joined: Tue Jun 21, 2011 3:57 am

Scatter Plot

Post by #13 » Tue Jun 21, 2011 4:00 am

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

ted
Site Admin
Posts: 5688
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Scatter Plot

Post by ted » Tue Jun 21, 2011 4:15 pm

Read about the Vector class's "plot" method in the Programmer's Reference.

#13
Posts: 2
Joined: Tue Jun 21, 2011 3:57 am

Re: Scatter Plot

Post by #13 » Tue Jun 21, 2011 5:17 pm

Thanks loads, works great! When I first looked over the pr I somehow missed the mark method.

ted
Site Admin
Posts: 5688
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Scatter Plot

Post by ted » Wed Jun 22, 2011 12:07 pm

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.

Post Reply