Tic Marks and Grid Lines

Using the graphical user interface to build and exercise models. Includes customizing the GUI by writing a little bit of hoc.
Post Reply
feynmanmagnets
Posts: 2
Joined: Thu Jun 04, 2015 2:35 pm

Tic Marks and Grid Lines

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

Re: Tic Marks and Grid Lines

Post 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.
feynmanmagnets
Posts: 2
Joined: Thu Jun 04, 2015 2:35 pm

Re: Tic Marks and Grid Lines

Post by feynmanmagnets »

Thank you!
Post Reply