Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6994

Re: Ploting a transformation of a set

From Dan <dflatin@rcn.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Ploting a transformation of a set
Date 2011-12-07 11:24 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jbnidi$4a0$1@smc.vnet.net> (permalink)
References <4EDCB5F0.813B.006A.0@newcastle.edu.au> <jbkj0l$i30$1@smc.vnet.net>

Show all headers | View raw


Another approach would be to look at the transformation of the grid. I
find this sort of visualization more informative for these sorts of
mappings. For example:

With[{n=10,c1=ColorData[1][1],c2=ColorData[1][2]},
  refGrid=Show[{
    ParametricPlot[Table[{2t,2(k/n)},{k,n}],{t,0,1},PlotStyle->c1],
    ParametricPlot[Table[{2(k/n),2t},{k,n}],{t,0,1},PlotStyle->c2]
  },ImageSize->200];
  Manipulate[
    Module[{map},
      map=({x,y}\[Function]{(x+a y)^b,(a x+y)^b});
      Grid[{{
        refGrid,
        Show[{
          ParametricPlot[Table[map@@{2t,2(k/n)},{k,n}],{t,
0,1},PlotStyle->c1],
          ParametricPlot[Table[map@@{2(k/n),2t},{k,n}],{t,
0,1},PlotStyle->c2]
        },ImageSize->200]
     }}]
  ],
  {{a,0.5},0,1,0.05},
  {{b,0.5},0.1,1,0.05}
  ]
]

-- Dan

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Ploting a transformation of a set Barrie Stokes <Barrie.Stokes@newcastle.edu.au> - 2011-12-06 08:16 +0000
  Re: Ploting a transformation of a set Dan <dflatin@rcn.com> - 2011-12-07 11:16 +0000
  Re: Ploting a transformation of a set Dan <dflatin@rcn.com> - 2011-12-07 11:24 +0000
  Re: Ploting a transformation of a set Barrie Stokes <Barrie.Stokes@newcastle.edu.au> - 2011-12-08 10:34 +0000
  Re: Ploting a transformation of a set Barrie Stokes <Barrie.Stokes@newcastle.edu.au> - 2011-12-08 10:35 +0000
  Re: Ploting a transformation of a set 真 童 <z.tong1017@gmail.com> - 2011-12-08 10:39 +0000

csiph-web