What I can do to plot functions $f:\mathbb R\to\mathbb C$ in 3D?

By example, how to manage to plot $f(x)=i^x$ in the most direct (and simpler) way? Thank you.

1 | initial version |

What I can do to plot functions $f:\mathbb R\to\mathbb C$ in 3D?

By example, how to manage to plot $f(x)=i^x$ in the most direct (and simpler) way? Thank you.

What I can do to plot functions $f:\mathbb R\to\mathbb C$ in 3D?

By example, how to manage to plot $f(x)=i^x$ in the most direct (and simpler) way? Thank you.

UPDATE: I get some kind of partial solution for the example above, using `parametric_plot3d`

```
parametric_plot3d([x,real_part(I^x),imag_part(I^x)],(x,-10,10),texture="red")
```

but my problem with is that the axes are not scaled properly, the option `scale=1`

doesnt work. I found a partial solution using the option `aspect_ratio=[1,1,1]`

but now the graph is too tiny (at least when I draw it in sagemathcell). To fix this using the option `zoom=2`

does not work because the graph get bad position.

At this moment I dont know a real fix for this.

What I can do to plot functions $f:\mathbb R\to\mathbb C$ in 3D?

By example, how to manage to plot $f(x)=i^x$ in the most direct (and simpler) way? Thank you.

~~UPDATE: ~~**UPDATE:** I get some kind of partial solution for the example above, using `parametric_plot3d`

```
parametric_plot3d([x,real_part(I^x),imag_part(I^x)],(x,-10,10),texture="red")
```

but my problem with is that the axes are not scaled properly, the option `scale=1`

doesnt work. I found a partial solution using the option `aspect_ratio=[1,1,1]`

but now the graph is too tiny (at least when I draw it in sagemathcell). To fix this using the option `zoom=2`

does not work because the graph get bad position.

At this moment I dont know a real fix for this.

What I can do to plot functions $f:\mathbb R\to\mathbb C$ in 3D?

By example, how to manage to plot $f(x)=i^x$ in the most direct (and simpler) way? Thank you.

**UPDATE:** I get some kind of partial solution for the example above, using `parametric_plot3d`

```
parametric_plot3d([x,real_part(I^x),imag_part(I^x)],(x,-10,10),texture="red")
```

but my problem with is that the axes are not scaled properly, the option `scale=1`

doesnt work. I found a partial solution using the option `aspect_ratio=[1,1,1]`

but now the graph is too tiny (at least when I draw it in sagemathcell). To fix this using the option `zoom=2`

does not work because the graph get bad position.

At this moment I dont know a real fix for this.

What I can do to plot functions $f:\mathbb R\to\mathbb C$ in 3D?

By example, how to manage to plot $f(x)=i^x$ in the most direct (and simpler) way? Thank you.

**UPDATE:** I get some kind of partial solution for the example above, using `parametric_plot3d`

```
parametric_plot3d([x,real_part(I^x),imag_part(I^x)],(x,-10,10),texture="red")
```

`scale=1`

doesnt work. I found a partial solution using the option `aspect_ratio=[1,1,1]`

but now the graph is too tiny (at least when I draw it in sagemathcell). To fix this using the option `zoom=2`

does not work because the graph get bad position.

At this moment I dont know a real fix for this.

What I can do to plot functions $f:\mathbb R\to\mathbb C$ in 3D?

By example, how to manage to plot $f(x)=i^x$ in the most direct (and simpler) way? Thank you.

**UPDATE:** I get some kind of partial solution for the example above, using `parametric_plot3d`

```
parametric_plot3d([x,real_part(I^x),imag_part(I^x)],(x,-10,10),texture="red")
```

but my problem with is that the axes are not scaled properly, the option `scale=1`

doesnt work. I found a partial solution using the option `aspect_ratio=[1,1,1]`

but now the graph is too tiny (at least when I draw it in sagemathcell). To fix this using the option `zoom=2`

does not work because the graph get bad ~~position.~~positioning, check this.

At this moment I dont know a real fix for this.

What I can do to plot functions $f:\mathbb R\to\mathbb C$ in 3D?

By example, how to manage to plot $f(x)=i^x$ in the most direct (and simpler) way? Thank you.

**UPDATE:** I get some kind of partial solution for the example above, using `parametric_plot3d`

```
parametric_plot3d([x,real_part(I^x),imag_part(I^x)],(x,-10,10),texture="red")
```

but my problem with is that the axes are not scaled properly, the option `scale=1`

doesnt work. I found a partial solution using the option `aspect_ratio=[1,1,1]`

but now the graph is too tiny (at least when I draw it in sagemathcell). To fix this using the option `zoom=2`

does not work because the graph ~~get bad positioning, ~~is not centered in the screen, check this.

At this moment I dont know a real fix for this.

What I can do to plot functions $f:\mathbb R\to\mathbb C$ in 3D?

By example, how to manage to plot $f(x)=i^x$ in the most direct (and simpler) way? Thank you.

**UPDATE:** I get some kind of partial solution for the example above, using `parametric_plot3d`

```
parametric_plot3d([x,real_part(I^x),imag_part(I^x)],(x,-10,10),texture="red")
```

but my problem ~~with ~~now is that the axes are not scaled properly, the option `scale=1`

doesnt work. I found a partial solution using the option `aspect_ratio=[1,1,1]`

but now the graph is too tiny (at least when I draw it in sagemathcell). To fix ~~this using ~~I tried to use the option `zoom=2`

(or the mouse wheel) but does not work because the graph is not centered in the screen, check this.

Then zooming a non-centered plot I cant see half of the plot because is out of the screen. At this moment I dont know a real fix for this.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.