MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Plotting a curve on a flat torus



Hi,

you want to draw a curve on a rectangle, identifying opposite sides?

Well you can do this e.g. using Mod and ParametricPlot. Here is an 

example where we use the unit square {{0,0},{0,1},{1,1},{1,0}} and the 

square function:

ParametricPlot[{Mod[t, 1], Mod[t^2, 1]}, {t, 0, 4}]

Daniel



LordBeotian wrote:

> I want to plot a curve on a flat torus (i.e. the square with

> identified opposite edges) so i would like mathematica to join the

> points of the curve in a way that respect the torus topology. Is there

> a not too difficult way to do this with Mathematica? Or at least is

> there an easy way to have the points joined only when their distance

> on the square is small enought?

> 




  • Prev by Date: Re: how to write an ImageEffect filter?
  • Next by Date: Re: syntax extension
  • Previous by thread: Plotting a curve on a flat torus
  • Next by thread: Re: Plotting a curve on a flat torus