[Date Index]
[Thread Index]
[Author Index]
Re: Plotting a curve on a flat torus
*To*: mathgroup at smc.vnet.net
*Subject*: [mg106541] Re: Plotting a curve on a flat torus
*From*: dh <dh at metrohm.com>
*Date*: Fri, 15 Jan 2010 07:00:13 -0500 (EST)
*References*: <hik91b$6nn$1@smc.vnet.net> <himskq$j6l$1@smc.vnet.net> <hip875$soc$1@smc.vnet.net>
Hi,
to get rid of the spurious lines, you may use the option: Exclusions.
here is an example:
xmax = 2;
excl = Sqrt /@ Range[0, xmax^2];
ParametricPlot[{Mod[t, 1], Mod[t^2, 1]}, {t, 0, xmax},
Exclusions -> excl]
Daniel
LordBeotian wrote:
> On 14 Gen, 11:45, dh <d... at metrohm.com> wrote:
>> Hi,
>>
>> you want to draw a curve on a rectangle, identifying opposite sides?
>
> Yes, exactly.
>
>> 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}]
>
> Well my problem here is to avoid that the points are joined by
> segments which do not belong to the curve. Your parametric plot still
> have this problem unsolved.
>
Prev by Date:
**Re: Grid Dividers**
Next by Date:
**Re: Simplify with NestedLessLess?**
Previous by thread:
**Re: Plotting a curve on a flat torus**
Next by thread:
**disable canceling**
| |