I want to plot Square, i have 1 equation which plot square but in diagonal form(Like Diamond Shape),
plot r = 1/(cos(mod (t, PI/2))+sin(mod (t, PI/2))), t = 0 .. 2*PI
Live Demo Diamond Square
Please let me know how to change this equation so that it will plot square box instead of diamond shape.
Please edit this if i miss to be mention or wrong tag this post