Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How I can plot functions of the kind $f:\Bbb R\to\Bbb C$ in 3D?

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.

How I can plot functions of the kind $f:\Bbb R\to\Bbb C$ in 3D?

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=1doesnt 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=2does not work because the graph get bad position.

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

How I can plot functions of the kind $f:\Bbb R\to\Bbb C$ in 3D?

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=1doesnt 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=2does not work because the graph get bad position.

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

How I can plot functions of the kind $f:\Bbb R\to\Bbb C$ in 3D?

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=1doesnt 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=2does not work because the graph get bad position.

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

How I can plot functions of the kind $f:\Bbb R\to\Bbb C$ in 3D?

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=1doesnt 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=2does not work because the graph get bad position.

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

How I can plot functions of the kind $f:\Bbb R\to\Bbb C$ in 3D?3D properly?

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=1doesnt 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.

How I can plot functions of the kind $f:\Bbb R\to\Bbb C$ in 3D properly?

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=1doesnt 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.

How I can plot functions of the kind $f:\Bbb R\to\Bbb C$ in 3D properly?

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=1doesnt 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.