Scatter Plot

Using the graphical user interface to build and exercise models. Includes customizing the GUI by writing a little bit of hoc.

Scatter Plot

Postby #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
#13
 
Posts: 2
Joined: Tue Jun 21, 2011 3:57 am

Re: Scatter Plot

Postby ted » Tue Jun 21, 2011 4:15 pm

Read about the Vector class's "plot" method in the Programmer's Reference.
ted
Site Admin
 
Posts: 3589
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: Scatter Plot

Postby #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.
#13
 
Posts: 2
Joined: Tue Jun 21, 2011 3:57 am

Re: Scatter Plot

Postby 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.
ted
Site Admin
 
Posts: 3589
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine


Return to The GUI

Who is online

Users browsing this forum: No registered users and 0 guests

cron