# 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 7297 ●17 ●81 ●162 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 4893 ●3 ●41 ●104

### 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