Debian Codegraph @

tests/data/notebooks/outputs/ipynb_to_myst/octave_notebook.md

raw
1 ---
2 kernelspec:
3 display_name: Octave
4 language: octave
5 name: octave
6 ---
7
8 A markdown cell
9
10 ```{code-cell}
11 1 + 1
12 ```
13
14 ```{code-cell}
15 % a code cell with comments
16 2 + 2
17 ```
18
19 ```{code-cell}
20 % a simple plot
21 x = -10:0.1:10;
22 plot (x, sin (x));
23 ```
24
25 ```{code-cell}
26 %plot -w 800
27 % a simple plot with a magic instruction
28 x = -10:0.1:10;
29 plot (x, sin (x));
30 ```
31
32 And to finish with, a Python cell
33
34 ```{code-cell}
35 %%python
36 a = 1
37 ```
38
39 ```{code-cell}
40 %%python
41 a + 1
42 ```