Page 1 of 1

Tic Marks and Grid Lines

Posted: Tue Jun 09, 2015 5:03 pm
by feynmanmagnets
Is there any way to add gridlines on the graphs in neuron (in my case a raster plot)? Related, is there any way to change the frequency of tic marks on the y-axis without changing the overall range of the graph, i.e. to add more resolution to the y-axis? Thanks.

Re: Tic Marks and Grid Lines

Posted: Wed Jun 10, 2015 11:59 am
by ted
hoc's Graph class has many methods for customizing graphs--read about them in the Programmer's Reference
https://www.neuron.yale.edu/neuron/stat ... graph.html
and experiment with them until you get what you want.

For even greater control over graphs, consider taking advantage of NEURON's ability to deal with programs that combine hoc and Python; that will allow you to use Python modules such as matplotlib.

Re: Tic Marks and Grid Lines

Posted: Wed Jun 10, 2015 1:10 pm
by feynmanmagnets
Thank you!