- #1

jemma

- 36

- 0

For[i = 0, i ≤ 950, ++i,

ListPlot[e1 /. NSolve[{equ1 == 0, equ2 == 0, equ3 == 0}

/. t -> i/1000.0, {e1, e2, e3}]]]

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Mathematica
- Thread starter jemma
- Start date

- #1

jemma

- 36

- 0

For[i = 0, i ≤ 950, ++i,

ListPlot[e1 /. NSolve[{equ1 == 0, equ2 == 0, equ3 == 0}

/. t -> i/1000.0, {e1, e2, e3}]]]

- #2

Simon_Tyler

- 313

- 1

With out details of your code (or, better yet, a simplified example that shows the same issues) it is not worth trying to give you working code.

As an aside: don't use For[] unless you really need to test for some condition to end the loop. It's probably best to use Do[] or Table[] for the above type of problem.

Share:

- Replies
- 1

- Views
- 188

- Last Post

- Replies
- 5

- Views
- 731

Mathematica
Extracting data from a Plot

- Last Post

- Replies
- 1

- Views
- 157

Mathematica
Plot parametricplot3d like this example

- Last Post

- Replies
- 2

- Views
- 214

- Last Post

- Replies
- 2

- Views
- 1K

Mathematica
Mathematica Graph Plotting for Scientific Papers

- Last Post

- Replies
- 3

- Views
- 983

MATLAB
How to plot data in MATLAB?

- Last Post

- Replies
- 2

- Views
- 368

- Replies
- 1

- Views
- 211

- Last Post

- Replies
- 6

- Views
- 424

- Last Post

- Replies
- 1

- Views
- 537