<p>Not intuitive, but to save the value of a curve plotted in a graph:</p>

<ol>
<li>Right click the graph window, and choose "Pick Vector"</li>
<li>Click on the desired curve (it should change color i.e. to red)</li>
<li>In the NEURON Main Menu > Vector > Save to File</li>
<li>Type in the file name > Save</li>
<li>File will have two columns, first one for X-axis values (i.e. time) and second for the Y-axis (i.e. voltage)</li>
</ol>

CC BY-SA 3.0
2015-07-12T23:06:06.267Z
2015-07-12T23:06:06.267Z
Justas
<p>In NEURON simulator, suppose I graph the value of a variable (i.e. soma.v(0.5)) over time. How do I save the values in the graph to a file?</p>

CC BY-SA 3.0
2015-07-12T23:59:17.723Z
I'm voting to close this question as off-topic because the question is about the use of software. I reckon an answer to any question at this site should at least contain an element touching on CogSci.
AliceD
CC BY-SA 3.0
2015-07-13T02:41:28.793Z
Should probably be discussed on Meta, but software that is CogSci specific could reasonably be on-topic.
Josh
CC BY-SA 3.0
2015-07-13T18:13:35.177Z
I picked CogSci because the software tag explicitly mentions the use of software: 

"Software": For questions regarding the **use** and selection of computer programs designated for instruction, **experimentation**, and data processing.
Justas
CC BY-SA 3.0
2015-07-13T18:22:03.807Z
This meta post seems related: http://meta.cogsci.stackexchange.com/questions/471/are-questions-about-coding-psychology-and-cognitive-science-experiments-simulat

NEURON is used heavily in computational neuroscience to model individual neurons, and their networks. Cited over >1600 times: https://scholar.google.com/scholar?cites=16673989093981586499&as_sdt=2005&sciodt=0,5&hl=en
Justas
<computational-modeling><software>
In NEURON simulator, how can I save the values of a graph to a file?
Justas
# In NEURON simulator, how can I save the values of a graph to a file?

(Asked by: username_0 on 2015-07-12)

In NEURON simulator, suppose I graph the value of a variable (i.e. soma.v(0.5)) over time. How do I save the values in the graph to a file?

**Tags:** computational-modeling, software

> **Comments:**
> **username_1**: I'm voting to close this question as off-topic because the question is about the use of software. I reckon an answer to any question at this site should at least contain an element touching on CogSci.  
> **username_2**: Should probably be discussed on Meta, but software that is CogSci specific could reasonably be on-topic.  
> **username_0**: I picked CogSci because the software tag explicitly mentions the use of software:   "Software": For questions regarding the **use** and selection of computer programs designated for instruction, **experimentation**, and data processing.  
> **username_0**: This meta post seems related: http://meta.cogsci.stackexchange.com/questions/471/are-questions-about-coding-psychology-and-cognitive-science-experiments-simulat  NEURON is used heavily in computational neuroscience to model individual neurons, and their networks. Cited over >1600 times: https://scholar.google.com/scholar?cites=16673989093981586499&as_sdt=2005&sciodt=0,5&hl=en  

---

## 1 answers

### Answer by username_0 on 2015-07-12. Score: 4 | Accepted answer

Not intuitive, but to save the value of a curve plotted in a graph:

1. Right click the graph window, and choose "Pick Vector"
2. Click on the desired curve (it should change color i.e. to red)
3. In the NEURON Main Menu > Vector > Save to File
4. Type in the file name > Save
5. File will have two columns, first one for X-axis values (i.e. time) and second for the Y-axis (i.e. voltage)


---

