oren wrote:I am sorry I did not explained myself correctly.
. . .
Is it possible?
There are many ways to do this.
1. Simplest GUI approach.
Make a graph that plots v at x1
Run a simulation under condition 1.
Toggle the graph's Keep Lines on and then off.
This graph will keep the trace for condition 1.
Make new a graph that plots v at x1
Run a simulation under condition 2.
Toggle the new graph's Keep Lines on and then off.
The new graph will keep the trace for condition 2.
However, the other graph shows both the condition 1 and the condition 2 trace. How to get rid of that? Click on the RunControl's Init button.
2. Slightly more involved GUI approach.
Make a voltage axis graph that plots v at x1
Run a simulation under condition 1.
Click on the voltage axis graph's menu box and select Pick Vector.
Click on the condition 1 trace. It should turn red briefly. You have now copied its xy coordinates to NEURON's clipboard (a pair of vectors called hoc_obj[0] and hoc_obj[1]--read the Programmer's Reference about hoc_obj_).
Bring up a VecWrap window by clicking on NEURON Main Menu / Vector / Display
Click on the VecWrap's menu box and select Copy From Clipboard. This pastes the data in NEURON's clipboard to the VecWrap. Rescale the VecWrap graph by clicking on its menu box, moving the cursor up slightly, then to the right to select the secondary menu's View = plot.
Now run a simulation under condition 2, pick the voltage axis graph's data, make a new VecWrap window, past the condition 2 data into it, and rescale its axes.
3. Programming approach.
Set up Vector recording of time and the voltage at x1.
Run a simulation under condition 1.
Create a new graph and use the Vector class's plot method to plot the recorded voltage vector vs. the recorded time vector in this graph.
Now run a simulaton under condition 2, create another graph, and plot the voltage vector against the time vector in this new graph.