# Revision history [back]

### How to combine the @interact command with complex plot?

How to combine the @interact command with complex plot? Hi, I'm trying to create a code to combine the @interact command with complex plot. I have created the complex plot using sage: f(z) = z^5 + z - 1 + 1/z sage: complex_plot(f, (-3, 3), (-3, 3)) but I wish to change the z^5 term to z^x where I can create a slider for the value of x using the @interact command. Does anyone know how I should start with this? I'm currently a high student working for a project but I don't know much about sage. If you know anything and can explain in simple terms it will be greatly appreciated. THANK YOU

 2 No.2 Revision vdelecroix 7620 ●20 ●84 ●168 http://www.labri.fr/pe...

### How to combine the @interact command with complex plot?

How to combine the @interact command with complex plot? Hi, I'm trying to create a code to combine the @interact command with complex plot. I have created the complex plot using

sage: f(z) = z^5 + z - 1 + 1/z
sage: complex_plot(f, (-3, 3), (-3, 3))


but I wish to change the z^5 term to z^x where I can create a slider for the value of x using the @interact command. Does anyone know how I should start with this? I'm currently a high student working for a project but I don't know much about sage. If you know anything and can explain in simple terms it will be greatly appreciated. THANK YOU

 3 retagged FrédéricC 5186 ●3 ●43 ●113

### How to combine the @interact command with complex plot?

How to combine the @interact command with complex plot? Hi, I'm trying to create a code to combine the @interact command with complex plot. I have created the complex plot using

sage: f(z) = z^5 + z - 1 + 1/z
sage: complex_plot(f, (-3, 3), (-3, 3))


but I wish to change the z^5 term to z^x where I can create a slider for the value of x using the @interact command. Does anyone know how I should start with this? I'm currently a high student working for a project but I don't know much about sage. If you know anything and can explain in simple terms it will be greatly appreciated. THANK YOU